AI Firefighter Robot: leave it to me!
Build a fire truck robot that spots a red fire and a person raising both arms, then puts out the fire and calls for help.
What you'll learn
- Learn why we need firefighter robots and how they find fires and people
- Use color and pose recognition AI in the app
- Use functions, repeats and step counts to complete the missions
You need
- Master Block
- LED Block
- Sound Block
- DC Motor Block ×2
- Shape blocks (see the parts list)
- Tablet with the Advanced Cubroid app (camera)
- Something red to test with

Why firefighter robots?
Notes for teachers
2 lessons (80 minutes). Topics: color & pose recognition AI, social studies and safety.
The news report and the robot video below are in Korean. Check them before class.
Who puts out the fire?

💡 What if a robot could go in first and help people? What jobs could robots do to keep people safe?
What skills does a firefighter robot need?
Work in extreme heat
Move without falling over
Find people and report
Find and put out fires
Alert firefighters
How do robots find fires and people?
Real firefighter robots can use different sensors.

Detect heatNotices very hot places.
Detect smokeNotices smoke.
Detect colorA camera looks for red.
Find peopleA camera finds people waiting for help.
💡 AI uses what it has learned to work out what the camera sees.
Do firefighter robots really exist?
Yes! Real firefighting robots help firefighters by exploring dangerous places first.
Build
Let's build an AI firefighter robot
Build a classroom robot that finds a pretend fire, then acts out putting it out and rescuing people.
What does our firefighter robot need?


- LED BlockShows a fire or a face.
- Master BlockA pretend fire hose. Acts out spraying water.
- Sound BlockSends alerts with sound.
- DC Motor Block ×2Strong wheels for the fire truck.
What you need
- × 2

- × 1

- × 1

- × 1

- × 14

- × 4

- × 1

- × 1

- × 2

- × 23

- × 2

- × 2

Build the pretend fire


Build the fire truck








Code
How does our robot respond?
Mission 1- A pretend fire!
- Draw a fire on the LED.
Mission 2- Red detected?
- Siren → move forward → spray water → LED fire off
Mission 3- Person detected?
- Look around → siren → rescue signal → mission complete
💡 If nothing is detected, the robot waits.
Open the app
Open the Advanced Cubroid app and tap the Group Number icon.
Match the sticker number
Enter the same number shown on the block's sticker.

Power on, then connect
Turn on the blocks and connect them to the app.

Start a new project
Tap the + button to open a new project.

Draw the fire on the LED
Draw two different fire pictures. Showing them one after the other makes the fire blink.

Add the AI detection blocks
Add the red color-detection block and the arms-up pose-detection block.

One function for each detection
Make one action function for each detection block: one for red and one for arms up.

Red found: put out the fire
When red is found, sound the siren. Move forward and act out spraying water. Then turn off the LED fire.
💡 Change the number of forward steps to fit the distance. You can repeat the spraying effect.


Arms up: rescue the person
When raised arms are found, look left and right, sound the siren and send an alert. Then show a smiling face.


Run it
Check and run the whole program
Tap Play and see what happens.
💡 A friend wears red and raises both arms. What happens?

Is the fire truck moving backward?
If the truck moves backward, tap the motor direction button.

Want it to notice faster?
If detection is slow, set the delay to about 0.5 seconds in Settings, then run it again.

Quiz
QWhich AI features did our firefighter robot use? (1) Weather prediction (2) Color and pose recognition (3) Speech recognition and translation (4) Making pictures
Show answer
(2) — It found the color red and the pose of raised arms.
QWhat is a firefighter robot's most important job? (1) Treat patients in a hospital (2) Help firefighters at dangerous disaster sites (3) Protect the ocean (4) Grow crops near the fire station
Show answer
(2) — It goes into dangerous places first to help firefighters.
Put everything back in its place

Lesson complete!
Built it, coded it and tested it? Tap to save your progress.
