Interactivity & Installation

Wednesday, December 2, 2009

Arduino Networked Lamp


An interesting Arduino project utilizes data from the internet to control the brightness of the 3 LED lights; in the same time receives data from an analog device.

Intensity of the red, green and blue LEDs represent a ratio of how many times the words, "peace", "love", and "Arduino" are mentioned in the current list of articles on the Make blog.

Since the Arduino is a simple computer with limited memory, it cannot process data directly on the internet. A simple program is created from Processing to access and process the data received (code 08A).

Another program (code 08b) is uploaded to the Arduino board to set a master switch, send data from a light sensor back to the Processing program live (with some latency), updates LEDs lights in levels every 10 seconds accordingly.

Since the numbers mentioned (with a x4 multiplier) are low (64, 4, 96) in the scale of 255, the LEDs is rather dim initially. The three 10k resisters connected to the LEDs are then being replaced with 1k resisters. Alternatively, the multiplier in the processing code can also be changed form x4 to say x8 to give a better result.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home