LED switcher using a DPDT Relay and a potentiometer

In this project, 2 LEDs will be switched on and off using the DPDT relay. (or flip-flopping the LEDs) This is another simple project to further explore the features of Arduino.


The potentiometer will help to set the duration (or delay) of when the relay is going to switch from the default circuit to the other circuit (or vice versa). This causes one LED to be turned on & the other LED to be turned off. This project uses the Arduino Uno board.



( If you are wandering what the clicking sound is, it is actually created by the relay switching circuits. )


Parts required

  • Arduino Uno x 1
  • Jumper Wires
  • DPDT Relay x 1
  • 330Ω resistors x2
  • 1K Resistor
  • Potentiometer x 1
  • Transistor
  • Diode x 1




More information:

Relays: http://electronics.howstuffworks.com/relay.htm

Arduino Uno: http://arduino.cc/en/Main/arduinoBoardUno

You may also like...