Safety first
These activities are simulations. Physical experiments require a suitable low-voltage supply, checked wiring and adult supervision for children. Never connect to mains.
Controller
A microcontroller executes a program and interacts with hardware through its pins.
Digital output
A pin can drive a HIGH or LOW logic level within its voltage and current limits.
Digital input
An input reads a logic level. Pull-up or pull-down resistors can prevent a floating input.
Load control
A microcontroller pin cannot safely power arbitrary motors. Use a suitable rated driver and power supply.
Try it yourself
Knowledge check
Independent challenge
Write pseudocode for an LED that turns on for one second and off for one second.
Next step →