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)

Design algorithms involving nested control structures and represent them using flowcharts and pseudocode


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



Creative Commons Attribution 4.0, unless otherwise indicated.