Skip to main content

RGB Solar Lamp


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).

RGB Solar Lamp-Circuit Diagram
RGB Solar Lamp Circuit Diagram

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 to limit  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 bro-ken 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 avail-able from the Elektor Shop (order  code 100581-41). 




Comments

Popular posts from this blog

A basic Arduino Solar PV Monitor

I have just recently had solar pv installed, mainly to future proof my energy costs, I do not expect it to be like drilling for oil in my back garden, however the return looks to be encouraging. The install gives you another single unit meter, from this you will see the total amount the panels produce, but that is about it. I wanted to know how much the production was as it was happening, I discovered the light blinks on the front of the meter will flash 1000 times for each kWh of electricity which passes through. The rate of the flashing of the LED tells you how much power is currently passing through the meter. [ ]

Build a Key Operated Gate Locking System Circuit

This simple key-operated gate locking system allows only those persons who know the preset code to open the gate. The code is to be entered from the keypad within the preset time to operate the motor fitted in the gate. If anyone trying to open the gate presses a wrong key in the keypad, the system is disabled and, at the same time, sounds an alarm to alert you of an unauthorized entry. Figs 1 and 2 show the block and circuit diagrams of the key-operated code locking system, respectively. Connect points A, B, C, D, E, F and ground of the circuit to the respective points of the keypad. Keys S7, S16, S14 and S3 are used here for code entry, and the remaining keys are used for disabling the system. It is very important to press the keys in that order to form the code. To start the motor of the gate, press switches S7, S16, S14 and S3 sequentially. If the keys are pressed in a different order from the preset order, the system will lock automatically and the motor will not start. Fig. 1: Bl...

Simple But Automatic Load Sensing Power Switch

This circuit will automatically switch on several mains-powered "slave" loads when a "master" load is turned on. For example, it will switch on the amplifier and CD player in a stereo system when the receiver is turned on. It works by sensing the current draw of the "master" device through a low value high wattage resistor using a comparator. The output of that comparator then switches on the "slave" relay. The circuit can be built into a power bar, extension cord or power center to provide a convenient set of "smart" outlets that switch on when the master appliance is powered (turn on the computer monitor and the computer, printer and other peripherals come on as well). Automatic Load Sensing Power Switch Circuit Diagram Parts List: Notes: This circuit is designed for 120V operation. For 240V operation, resistors R2 and R6 will need to be changed. A maximum of 5A can be used as the master unless the wattage of R1 is increased S1 provid...