This project will switch on/off two LED lights using raspberry pi. The control of light can be done by python code.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Prerequisites ..
- Raspberry pi
- Two LEDs
- Two resistors
Connect the LEDs with 3 and 8 pins of raspberry b+ model. Ground them as in the video. Use resistors after the LEDs to protect your raspberry. Then use python programming to switch on the LED in accordance with the time you supply. You can find the code here
Also feel free to ask any questions.
Participated in the
Raspberry Pi Contest 2016