This project will switch on/off two LED lights using raspberry pi. The control of light can be done by python code.
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.