Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Daniel Porrey
Published © GPL3+

Many Colors with Variable RGB LED

Adjust the color of an RGB LED by controlling the levels of red, green and blue using Software based PWM.

BeginnerFull instructions provided6,820
Many Colors with Variable RGB LED

Things used in this project

Hardware components

Raspberry Pi 2 Model B
Raspberry Pi 2 Model B
×1
Breadboard (generic)
Breadboard (generic)
×1
Cobbler Breakout Kit
×1
Resistor 220 ohm
Resistor 220 ohm
×3
Dome Diffusers for LED (optional)
×1
RGB LED (common cathode)
×1
Male to Male Jumper Wire
×4

Software apps and online services

Windows 10 IoT Core
Microsoft Windows 10 IoT Core
Visual Studio 2015
Microsoft Visual Studio 2015

Story

Read more

Schematics

Breadboard Wiring Diagram

Standard wiring diagram when using a cobbler and 40-pin ribbon cable.

Code

Visual Studio 2015 C# Source Code

Credits

Daniel Porrey

Daniel Porrey

50 projects • 319 followers
I am a developer and creator. As an Amazon Associate I earn from qualifying purchases.

Comments