Rotary Encoder Controlled LEDs

Aim

The goal of this activity is to control LEDs using a rotary encoder.

Materials Required

  1. Arduino UNO R3 – 1
  2. USB Cable – 1
  3. Breadboard – 1
  4. LEDs – 4
  5. 220Ω Resistors – 4
  6.  LCD 1602 Display – 1
  7. I2C Display Module – 1
  8. Rotary Encoder – 1
  9. Several Jumper Wires

Wiring Diagram

Desired Outcome

Control the LEDs by rotating the knob of the rotary encoder. LCD.