Elevator Pitch:
How does one apply an RGB LED fading continuously fading between colors to saving the world? With a colorful LED alarm system, of course! As soon as our LEDefense uses light detection to sense any dangers, it responds with a brilliant display of colors to warn the intruder away.
Build Instructions:
Start out with all the listed hardware components.
1. Connect a wire from the +3.3V position on the LaunchPad to the j-15 position on the breadboard.
2. Connect a wire from the PE3 position on the LaunchPad to the j-18 position on the breadboard.
3. Connect a 10k resistor from the h-15 to the h-18 position on the breadboard.
4. Connect a wire from the g-18 position to the e-24 position on the breadboard.
5. Connect a wire from the GND position on the LaunchPad to the a-28 position on the breadboard.
6. Connect the photoresistor from the c-24 position to the c-28 position on the breadboard.
7. Connect a tilt switch from the g-15 position to the g-9 position on the breadboard.
8. Connect a wire from the f-9 position to the e-4 position on the breadboard.
9. Connect a wire from the PD6 position on the LaunchPad to the e-2 position on the breadboard.
10. Connect a wire from the PD7 position on the LaunchPad to the e-3 position on the breadboard.
11. Connect a wire from the PF4 position on the LaunchPad to the e-6 position on the breadboard.
12. Connect an RGB LED to the a-2, a-3, a-4, and a-5 positions on the breadboard.
13. Connect the LaunchPad to a device using the USB cable, upload the code from Energia, and you should be good to go!
Operating Instructions:
Cover the photoresistor to minimize the amount of light it detects. This activates the LED! The LED will cycle through a display of colors. To disarm the LEDefense, turn the breadboard on its side to trigger the tilt switch and the LED will stop its display.
Here’s a video of it in action!
Comments
Please log in or sign up to comment.