Lesson 2, Topic 2
In Progress

Activity – Design Your “Smart Security” Pipeline

Lesson Progress
0% Complete

Goal: Students will map out a complete AI system using the 3-step pipeline (Input → Process → Output) using specific hardware from their inventory.

Presentation:

SC_AI01_03_Activity Pipelines by Infinite Engineers

The Challenge: The “Invisible Tripwire”

The Scenario: You are designing a security system for a secret lab. An intruder is trying to sneak through a hallway. You need to detect them using sound waves and sound an alarm!

1. Input: The “Bat Ears” (Ultrasonic Sensor)

  • Task: Draw the Ultrasonic Sensor.
  • The Logic: This sensor sends out “pings” of sound. If an intruder walks in front of it, the sound hits them and bounces back faster.
  • Key Question: At what distance should the alarm go off? (e.g., closer than 50 cm?)

2. Process: The “Security Guard” (ESP32)

  • Task: Draw the ESP32 Board.
  • The Logic: The ESP32 receives the distance data from the “ears.” It must decide:
    • IS the distance less than 50 cm?
    • IF YES $\rightarrow$ Send signal to the alarm.
    • IF NO $\rightarrow$ Keep quiet.

3. Output: The “Alert” (Buzzer & LED)

  • Task: Draw the Buzzer and a Red LED.
  • The Action: If the ESP32 says “YES,” the buzzer makes a loud noise and the LED flashes to scare the intruder away!