Arduino Power Outage Backup Lightness
by winniechewksj in Circuits > Arduino
56 Views, 0 Favorites, 0 Comments
Arduino Power Outage Backup Lightness
This is a device that can provide lightness while power outage. It is an improved version for an "Arduino SOS Beacon" device, it only starts to flash red lights for the original device when you plug in. However, the improved version can start flashing red lights immediately when it detects there's no light around. Something to mention, the times the red light flashes can become a password coding "SOS".
original product: https://www.instructables.com/Arduino-SOS-Beacon/
Supplies
1. Arduino Leonardo*1
2. Breadboard*1
3. 5mm Red LED*1
4. 100 Ohm Resistor*2
5. Jumper Cables*7 (3 long ones, 4 short ones)
6. Photoresistance*1
7. USB elongation*1
8. Tape and scissors
9. Cardboard made box (other material are expectable too as long as it covers the breadboard)
Code
Upload the following code onto arduino.
original code: https://www.instructables.com/Arduino-SOS-Beacon/
link to my code: https://create.arduino.cc/editor/winniechew/d36bd36a-8ccf-48e7-8ebb-2ac0d59deb2a/preview
Connecting the LED
1. Connect the 7 Jumper Cables
2. Connect the 2 Ohm Resistors
3. Connect the Photoresistance
4. Connect the LED lightbulb
Packaging
1. Find a cardboard made box (other kind of boxes are acceptable too) that fits the boards.
2. Tape all the loosed parts together to make it tight and will not easily fall.
3. Tape the whole box with colored tape or other tape that you like to make the device looks better.
Finished Product
As seen in the video, the device can provides lightness while there's no darkness around. Therefore, it can definitely become an improved version of the original device since the original one can only flash lights when it is plugged. However, the improved one can flash when there's no light around (still has to be charged)