Slides
A short slide deck: microcontrollers in a few minutes.
What is a microcontroller?
A tiny computer on one chip, built to sense and control things.
- Processor, memory and pins in one package
- Runs one program, as soon as it has power
Inputs and outputs
Pins connect the chip to the real world.
- Inputs: buttons, sensors, knobs
- Outputs: LEDs, buzzers, displays
Arduino
Open-source boards and free software that made electronics easy to start with.
- The Uno is the classic beginner's board
- Written in the Arduino IDE
The sketch
Every Arduino program has two parts.
setup()runs onceloop()repeats forever
ESP32
A low-cost chip from Espressif Systems.
- Wi-Fi and Bluetooth built in
- Dual-core options
- Works at 3.3 volts
Which should I pick?
- Arduino Uno: simplest start, 5 volt parts
- ESP32: Wi-Fi, Bluetooth, more speed and memory
Your turn
Plug in a board, open the IDE and make an LED blink.