Page 63 - Robo_Genius_V1.0_flipbook_C5
P. 63
• RGB LEDs come in two main types: Common Cathode RGB LED, Common
Anode RGB LED
• Common Cathode RGB LED: This type
of RGB LED has a shared cathode (-)
for all three colour elements (Red,
Green, Blue). Each colour is controlled
separately by applying a positive
voltage to its respective anode (+).
• Common Anode RGB LED: In this type,
the RGB LED shares a common anode (+) for all three colour elements. Each
colour is controlled separately by grounding its respective cathode (-).
How to Identify RGB LED Pins
1. Look at the Pins
The longest pin is the common pin.
If the longest pin connects to ground (GND), it is a Common Cathode
RGB LED.
If the longest pin connects to positive voltage (+V), it is a Common
Anode RGB LED.
2. Check the Circuit Behaviour
If applying a positive voltage to a colour pin lights up the corresponding
LED, it is a Common Cathode.
If applying ground to a colour pin lights up the corresponding LED, it is a
Common Anode.
For our circuit, we will use a Common Cathode RGB LED.
Resistor
• A resistor is an electrical component that limits the flow of current
in a circuit.
• It is used to control the amount of current that flows through an
LED to prevent it from burning out.
• Resistors have a resistance value measured in ohms (Ω) that
determines how much current they allow to pass through them.
Circuit Building with Tinkercad 61

