Introduction: 2 Minute Spectrum Generator

About: I am robotics engineer and a teacher whose passion in life is breaking down the maths and academic jargon of programming and robotics into something that everyone can understand, primary school kids included.…

In making this circuit you will learn how to use the arduino random number function and how to create different colors on an RGB LED.

This is a real simple plug and play circuit where the RGB module plugs straight into the arduino, pin 8 is permanently low making it effectively GND pins 9,10,11 are analog outputs whose intensity changes the intensity of the three colours in the LED in the following manner

Pin 9 is Red

Pin 10 is Green

Pin 11 is Blue

Component List:

  • Arduino Uno
  • RGB module