2 - RGB Led PDF
2 - RGB Led PDF
• Component Required:
• (1) x Elegoo Uno R3
• RGB (Red, Green and Blue) LEDs look just like regular LEDs
• There are actually three LEDs, one red, one green and yes, one
blue.
• Controlling the brightness of each of the individual LEDs you can
mix pretty much any color you want.
• Anode goes to “+”
• Cathode goes to “-”
• Each LED inside the package requires its own 220Ω resistor to prevent too much
current flowing through it.
Resistor color code
Theory (PWM)
• PRACTICAL EXERCISE
• PUSH SWITCHES:
• Switches are really simple components. When you press a button
or flip a lever, they connect two contacts together so that electricity
can flow through them.
• The little tactile switches that are used in this lesson have four
connections, which can be a little confusing.
Schematic
Wiring diagram
Introducción a la Mecatrónica
LED RGB and Digital Inputs
MCTG1018