# RGB Solar Lamp Schematic Circuit Diagram

This deluxe solar-powered light uses a battery and solar cells salvaged from a solar lamp with a four-cell battery (4.8 V nominal terminal voltage).

The circuit can operate from any DC voltage around this value and its current consumption, at 20 mA, is low. This means that the battery can give up to five days of operation. The circuit consists of an Atmel ATtiny microcontroller which drives a red, a green, and a blue LED directly from three port pins. Series resistors are of course included limiting the LED current. The microcontroller drives the LEDs in sequence to produce an RGB running light effect. The microcontroller is also responsible for ensuring that the light automatically switches on when it gets dark and off when it is light. The light sensor is made from one of the solar cells from a broken solar lamp (it is more common for the battery to fail rather than the solar cells).

The power output of this cell is not important, as the microcontroller only measures its output voltage using its internal A/D converter connected to pin PB4. The project is ideal for beginners, as a ready-programmed microcontroller is available from the Elektor Shop (order code 100581-41). The author developed the firmware using Flowcode. Source and hex files for the firmware are available for free download from the project pages on the Elektor website at

www.elektor.com/100581.

Power Output means the average rate of electric energy delivery during one Metering Interval, converted to an hourly rate of electric energy delivery, in kWh per hour, that is equal to the product of Metered Energy for one Metering Interval, in kWh per Metering Interval, times the number of Metering Intervals in a one.
The most common unit is the watt (W), defined as 1 joule (J) of energy per second. A 40 W light bulb, then, uses 40 J of electrical energy every second to stay lit. The average power output of the human body during moderate exercise is about 100 W. The formula for power in watts is given by the work and the time. The formula is P = W/t, where W is the work done in some time t.

Tags

Check Also
Close

Close
Close