Electronics
Connect the power, ground and data wires. Change the colour without moving a wire. Discover how electrical power and information do different jobs in the same circuit.
Follow the circuit →ELECTRONICS · COMPUTING · COMMUNICATIONS
Learn electronics, computing and networking by making things with microcontrollers — small computers you can connect to lights, sensors and other devices.
Connect a strip of lights. Make a colour move from one end to the other. Find out how the circuit, the program and the signals make it happen. Each thing you understand gives you another idea for what to build.
FROM A WORKING LIGHT TO AN IDEA OF YOUR OWN
A light by your door could mean “come in” or “busy”. A row of lights could count down to the start of a game. A moving beam could become a lighthouse in a model harbour. These projects start with the same parts, used in different ways.
LightVM is the software behind the lights. Its editor lets you write programs with Python, JavaScript or visual blocks, try them on screen and run them on a board. The learning activities help you explore what happens from the instructions you write to the light you see.
Start with an example and change something. Follow the build guide if you want to work with real lights, or try the browser lessons with no hardware or account. You can explore, investigate and make at your own pace.
THREE WAYS TO UNDERSTAND YOUR PROJECT
Connect the power, ground and data wires. Change the colour without moving a wire. Discover how electrical power and information do different jobs in the same circuit.
Follow the circuit →Make a dot move along a strip. Pause the program and inspect its position. Find out how a computer uses instructions, memory and time to decide what happens next.
Explore the instructions →Save a name on your board over USB, then read it over Wi-Fi. Follow the messages between two computers and learn how an address helps them reach the right place.
Follow a message →IMAGINE IT. DESCRIBE IT. TRY IT.
Once you know a board can keep time and control each light, you can imagine a countdown. Once you know it can receive messages, you can imagine starting that countdown from another device.
AI can help build those ideas. Understanding the parts helps you say what you want, ask useful questions and check the result. KajLights aims to give you that understanding through things you can try yourself.
Read about the project’s aims →MEET THE SMALL COMPUTER
The boards used here have a chip called a microcontroller, a USB socket and pins for connecting other parts. The microcontroller contains a processor and memory. It runs your program and sends instructions to the LED strip, which shows the result.
You don’t need to design a circuit board from scratch. Start with an off-the-shelf Raspberry Pi Pico W or Pico 2 W, or one of the supported Seeed XIAO ESP32 models. You can buy these from electronics suppliers; our hardware guide links to the manufacturers and their retailers.
The build guide uses a Pico 2 W and an LED strip. It shows the parts, three wire connections and how to run your first colour. An adult helper prepares the board and checks the wiring with you.
BUILD YOUR FIRST LIGHTS
A Pico, a USB cable and a strip of lights are the starting point. Connect them, choose a colour and make a signal someone else can recognise. The guide explains each part as you use it.
Use the parts list and pictures to find the board, lights and wires. Ask your helper to prepare the board.
Follow the diagram for power, ground and data. Check the three wires together, then plug in USB.
Choose a colour. Change it. Invent a light signal, or make your first moving pattern.