This Arduino UNO project uses a joystick to control an RGB LED. When the joystick is at a certain position, the LED changes colors.
An RGB LED is a type of LED that can reproduce almost any colour. They are used in many applications such as LED matrix displays, home lighting, stage lighting and more.
RGB LEDs have three internal LEDs (Red, Green, and Blue) that can be combined to produce almost any color output. In order to produce different kinds of colors, we need to set the intensity of each internal LED and combine the three color outputs.
This worksheet is based on a common cathode RGB LED.
Light following sunflower.
This is a great project for teaching about potential dividers.
As the light falling on the LDRs changes, the voltage at pin AO changes, allowing the flower attached to the servo to follow the light.
Arduino is a great option for teaching kids about programming, robotics, real-world computing and the like. Arduino boards are cost-effective which makes them ideal for use in schools.
This worksheet is designed with classroom teaching in mind, with printable worksheets that pupils can use to build projects in the classroom lab or workshop, as part of a program of teaching on electronics and coding.
Copy and paste the code from the activity from these slides into your Arduino IDE
Light Dependent Resistor light levels
This is a great project for teaching about potential dividers. Pupils can see the LDR output in the serial plotter.
As the light falling on the LDRs changes, the voltages change for each LED, giving a groovy wave effect.
Extension work– add extra LEDs.