Module 03 · Robotics & Electronics

Making Things Move & Feel

A brain is useless if it can't see the world or act upon it. Learn how inputs (sensors) and outputs (motors & lights) bring robots to life.

🔄

1. The I/O Loop

Every robot follows a simple loop: Sense ➡️ Think ➡️ Act

👁️

1. Sense (Input)

Using Buttons & Sensors
➡️
🧠

2. Think (Brain)

Using Code & Microcontrollers
➡️
💪

3. Act (Output)

Using Motors & LEDs
🧰

2. The Hardware Parts

📥 Inputs (Sensors)

How the robot feels the world.

🔴
Push Button

The simplest input. Is it pressed? Yes or No. Sends electricity when pushed down.

☀️
Photoresistor (Light Sensor)

Changes resistance based on how bright the room is. Great for "night light" robots.

💧
Soil Moisture Sensor

Reads how wet the dirt is by sending electricity through its prongs.

🦇
Ultrasonic Distance Sensor

Looks like two eyes. Sends out an inaudible "ping" and times how long the echo takes to return to measure distance.

📤 Outputs (Actors)

How the robot acts upon the world.

💡
LED (Light)

Turns electrical energy directly into light without getting hot. Good for visual warnings.

🔊
Piezo Buzzer

A tiny speaker that beeps when electricity hits it. Great for audio alarms.

⚙️
Servo Motor

A smart motor. Instead of spinning forever like a fan, you can tell it to turn to an exact angle (like 90 degrees) to act as a robotic elbow.

DC Motor

A dumb motor. It just spins as fast as it can while it receives power. Used for driving wheels.

🧩

3. Match the I/O!

For each robot idea below, pick the correct missing part.

A garage door that stops closing if a dog runs under it requires an _________ sensor.
You want a robot arm to pick up a cup and pour it. The joints need to stop at exact angles. You should use a _________.
Your secret diary box plays a loud alarm sound if someone tries to pick the lock. It needs a _________.
A smart streetlamp that automatically turns on its LEDs but only when the sun sets. It reads the sunset using a _________.

Hardware Hacker! ⭐

You understand the building blocks of physical computing! The physical world is now yours to command.

Finish the matching game to unlock this!