Flowing LEDs using Raspberry Pi 4 B

Aim

In the previous activities you worked with just one LED. The goal of this activity is to connect multiple LEDs and make them all switch on and off in a certain pattern.

Materials Required

  1. Raspberry Pi 4 B -1    
  2. Breadboard – 1
  3. LED -5
  4. Several Jumper Wires   
  5. 220Ω Resistors – 5
  6. Type-C USB Cable-1    

     

Wiring Diagram

Desired Outcome

The five LEDs will be switched on and off in a series. This will continue as long as the  Raspberry pi 4 B board is connected to a power supply or to the computer