Binary LED With Raspberry Pi

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

  1. Raspberry pi
  2. wires
  3. Two LEDs
  4. 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.

Share

    Recommendations

    • Warm and Fuzzy Contest

      Warm and Fuzzy Contest
    • Cardboard Challenge

      Cardboard Challenge
    • Safe and Secure Challenge

      Safe and Secure Challenge

    Discussions

    0
    None
    CS23

    2 years ago

    cool