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!
Naman Chauhan
Published © GPL3+

Using Common Cathode and Common Anode RGB LED with Arduino

Common Cathode and Common Anode RGB LEDs are two different kinds of RGB LEDs whose function is same but working is different.

IntermediateProtip1 hour77,871
Using Common Cathode and Common Anode RGB LED with Arduino

Things used in this project

Hardware components

UTSOURCE Arduino UNO
×1
UTSOURCE Common Cathode RGB LED
×1
UTSOURCE Common Anode RGB LED
×1
UTSOURCE Resistor 220 ohm
×3
UTSOURCE Jumper Wire
×1
UTSOURCE Breadboard
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Schematics for the project

Schematic is for Common Cathode. Put the common pin to 5V instead of GND for Common anode.

Code

common-anode

common-cathode

Credits

Naman Chauhan

Naman Chauhan

41 projects • 129 followers
Programmer, electronic adept masquerading as Computer Science student. Email for Cooperation/Sponsorships to chauhannaman98@gmail.com

Comments