Arduino Workshop - Project 02: RGB LED


Hardware Required:

  • Arduino Uno board
  • RGB LED
  • 330 ohm resistors (x3)
  • jumper wires


Schematic:



Project Steps:

  1. Insert the RGB LED into the breadboard
  2. Connect a wire between the ground and the longest leg of the LED
  3. Connect a 330 ohm resistor between each of the other three legs and rows on the breadboard
  4. Connect a wire from D9 to the resistor on the Red LED pin Connect a wire from D10 to the resistor on the Green LED pin Connect a wire from D11 to the resistor on the Blue LED pin
  5. Connect the Arduino unit to your computer with the USB cable
  6. Open the Project2 sketch into the Arduino software and upload it to your module

Things to try:
  • Code: Change the time to show each color: 5x faster, 10x faster, 20x faster…

Technical Support Community

Free technical support is available for your desktops, laptops, printers, software usage and more, via our new community forum, where our tech support staff, or the Micro Center Community will be happy to answer your questions online.

Forums

Ask questions and get answers from our technical support team or our community.
PC Builds
Help in Choosing Parts
Troubleshooting

Knowledge Base

Helpful articles written by Micro Center Experts.
ESET
Windows

Sign in for the best experience

Access helpful features and personalize your experience - Sign in or create an account now

Sign In
Don't have an account? Create Account