Lesson Progress
0% Complete
Goal: To understand how data flows from the environment into the “Brain” and out to the “Muscles”.
Presentation:
SC02_AI Pipelines by Infinite EngineersStep 1: The Input (The Senses)
Before a robot can “think,” it must “feel.” We use sensors to gather data from the world.
- Ultrasonic Sensor: Works like a bat’s ears. It sends out sound waves to measure how far away an object is.
- PIR Sensor: A motion detector. It “sees” the heat moving from a human body—perfect for security projects.
- LDR (Light Dependent Resistor): Measures how bright the room is. It helps the AI decide if it needs to turn on a “Smart Light”.
- Sound Sensor: The “ears” of the robot. It detects claps or loud noises to trigger actions.
Step 2: The Processor (The Brain – ESP32)
This is the most important part of your kit. The ESP32 is a powerful microcontroller that acts as the coordinator for the entire AI system.
- What is it?: A tiny computer on a chip. It is much smarter than basic boards because it has built-in Wi-Fi and Bluetooth.
- Role in AI: It receives the “Input” from sensors, runs the Python logic you write, and makes a decision.
- The ESP32-CAM: A special version of the board that has a camera. This allows your projects to “see” and recognize faces or objects using Computer Vision.
Step 3: The Output (The Actuators)
Once the ESP32 makes a decision, it sends a command to an “Actuator” to perform a physical task.
- LEDs & RGB LEDs: For visual signals (Red for “Stop,” Green for “Go”).
- Buzzer: For audio alerts, like an alarm when an intruder is detected.
- Servo Motor: A motor that can turn to a specific angle. Great for making a robot arm move or a gate open.
- Relay & Water Pump: The relay acts as a “Smart Switch” that allows the tiny ESP32 to turn on big things, like the water pump for a smart garden.
📝 Activity: “Mapping the Robot.”
To end Session 2, have the students use their Sketch pens to draw a “Smart Security System”.
- Draw the Input: The PIR Sensor (detecting a person).
- Draw the Process: The ESP32 (asking: “Is it dark outside?”).
- Draw the Output: The Buzzer (sounding an alarm) and the LED (flashing light).