Using common anode ca rgb led with arduino.
Common cathode rgb led strip.
Connect common anode of led to 5v pin of arduino in common cathode we connected it to gnd pin.
The reason common anode is more common is because its easier to sink current than to source it.
In a common cathode rgb led all three leds share a negative connection cathode.
You can also choose from ce c tick and emc common cathode rgb led strip as well as from aluminum copper and aluminum alloy common cathode rgb led strip and whether common cathode rgb led strip is flex led strips.
Plug the led in the breadboard.
Edgelec 100pcs 5mm rgb tri color red green blue multicolor 4pin led diodes common cathode clear round lens 29mm long lead 300pcs resistors for dc 6 12v included light emitting diodes 4 7 out of 5 stars 435 8 99 8 99 0 09 count get it as soon as mon aug 17.
Connect each of the led color terminal red green blue with the digital pins in arduino with the 221 ohm resistors in series with each one of them.
About 45 of these are led strip lights.
Setting up the circuit.
This results in an led that has 4 pins one for each led and one common cathode or one common anode.
In a common anode rgb led the three leds share a positive connection anode.
With either common anode or common cathode you ll have one terminal connected directly to a supply for all leds and the other side having the dropper resistor and a control transistor per pin or ic outputs that are transistors on the inside either sinking or sourcing a current.