Programming LED circuit with Arduino IDE
In this lesson students will be using components of the LilyPad development kit to create a circuit of LED’s that are controlled using a basic Arduino program, written in the Arduino IDE. Starting with a simple sequence of turning a LED on and off, the students can be challenged to choose a piece of music with a steady beat and program the lights to turn on and off in time to the music. This lesson idea was created by Toni Falusi.
Additional details
Year band(s) | 7-8 |
---|---|
Content type | Lesson ideas |
Format | Web page |
Core and overarching concepts | Implementation (programming), Specification (decomposing problems) |
Australian Curriculum Digital Technologies code(s) |
AC9TDI8P05
Design algorithms involving nested control structures and represent them using flowcharts and pseudocode
AC9TDI8P06
Trace algorithms to predict output for a given input and to identify errors |
Keywords | LilyPad Arduino, Programming, Technology, Computer program, CSER, Computer Science Education Research Group, Toni Falusi |
Organisation | CSER |
Copyright | Creative Commons Attribution 4.0, unless otherwise indicated. |
Related resources
-
Off to the movies
Create a simple program using a text-based programming language to generate an output based on two possible input options.
-
Sphero Invent a Game
This lesson will explore how to program the Sphero using functions and show the benefits of decomposing the behaviour of the Sphero into functions, instead of writing line by line repeated behaviours.
-
Sphero maze
This lesson will explore how to program the Sphero using functions and show the benefits of decomposing the behaviour of the Sphero into functions, instead of writing line by line repeated behaviours.
-
Sphero young inventors
In this lesson students will explore the use of Sphero in the everyday world by adding accessories to invent solutions to workplace or other problems or simply by inventing an adaptation to the device.