EasyManua.ls Logo

ADEEPT Ultimate Sensor Kit for Raspberry Pi - Lesson 3 Controlling an RGB LED by PWM

ADEEPT Ultimate Sensor Kit for Raspberry Pi
151 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Lesson 3 Controlling an RGB LED by PWM
Introduction
RGB LED is designed based on the principle of three primary colors. In an RGB LED,
three LEDs in red, green, and blue respectively are packaged together, thus by controlling
the brightness of three LEDs, making the RGB LED flash multiple colors.
Components
- 1 * Raspberry Pi
- 1 * GPIO Extension Board
- 1 * 40-Pin GPIO Cable
- 1 * Breadboard
- 1 * RGB LED Module
- 1 * 4-Pin Wires
Experimental Principle
The Fritzing image:
The Physical picture:
Pin definition:
B
Blue Channel
G
Green Channel
R
Red Channel
+
VCC
The schematic diagram:

Table of Contents