Lesson 3 7-Color Auto-flash LED

Introduction

On the 7-Color Auto-flash LED module, the LED can automatically flash built-in colors after power on. It can be used to make quite fascinating light effects.

_images/image106.png

Required Components

  • 1 * Raspberry Pi

  • 1 * Breadboard

  • 1 * 7-color auto-flash LED module

  • 1 * 3-Pin anti-reverse cable

Experimental Principle

When it is power on, the 7-color auto-flash LED will flash built-in colors.

The schematic diagram of the module is as shown below:

_images/image107.png

Experimental Procedures

Build the circuit.

Raspberry Pi

GPIO Extension Board

Auto-flash LED Module

GND

GND

GND

3.3V

3V3

VCC

_images/image108.png

Note

There are two “GND” pins on the module. You only need to connect one of them.

Now, you will see 7-color auto-flash LED flashing seven colors.

_images/image109.jpeg