Lesson 3 - Exhibit Protection: Proximity Alert Station
Challenge 3-1, 3-2, 3-3
Suggested time: 50 minutes. For younger students or first-time users, this lesson may be extended to 60 minutes.
Students will observe how the station detects movement and then improve its alert behavior.
I can describe what camera motion detection can and cannot know.
I can explain why the station needs extra evidence from the P0 sensor.
I can complete and test a two-level alert for a museum exhibit.
Engage
2 min.
A museum wants visitors to enjoy an open exhibit without touching or removing it. A smart protection station can give a gentle warning when someone gets too close and a stronger alert if the exhibit is moved.

How can a smart station protect an exhibit without making too many false alarms? Let's build and test one.
Background
3 min.
The K10 camera can use motion detection to notice movement in the camera view.

The tilt sensor is connected to P0. It outputs a digital value, 0 or 1, depending on its tilt state.

In this lesson, students build the station first, then test how these inputs are used in the protection task.
Required items:
| Item | Use in this lesson |
|---|---|
| UNIHIKER K10 | Uses the camera, screen, built-in speaker, and AI motion detection. |
| USB cable | Connects the K10 to the computer. |
| Computer with Mind+ | Opens, uploads, and edits the program. |
LED strip | Connect to P1 for warning feedback. |
Tilt sensor ![]() | Connect to P0 for exhibit movement input. |
| Building instruction and building blocks | Used to build the Proximity Alert Station model. |
Build and Connect
8 min.
| Follow the building instructions to build the model. Keep this step focused on structure and setup. |
![]() | Use the Challenge Card checklist. Check P0 and P1 wiring. Upload only after the build is stable. |
Before testing, have students check that the model is stable, the camera faces the exhibit area, and the wires can reach P1 and P0 without pulling the structure.
Then the teacher can ask:
• What should the station watch?
• What should happen when a visitor gets too close?
• What should happen if the exhibit is moved or removed?
Explore Function
15 min.
Challenge 3-1: Test the Starter Alert
![]() | Ask students to read the starter program first. Have them predict what the station may do. |
![]() | Students upload and test three cases: quiet area, visitor moves near the exhibit, exhibit moved or removed. Guide them to record what actually happens. |
Tip:
Prompt students to place their hand in the camera view near the exhibit area to simulate a visitor getting close. This makes the warning easier to trigger.
• Expected observations: motion detection can trigger Too close! and Please keep distance. But when the exhibit is moved, the alarm message is unreasonable.
After testing, discuss these questions:
• What can motion detection know?
• What can it not know?
• What extra input helps the system decide whether the exhibit was moved?
Explore AI Technology
10 min.
Challenge 3-2: Find the Missing Evidence
Guide students to review their test results and separate input evidence from system response.
![]() | Use the student tables to review test results. Ask students to mark movement or no movement. Ask whether extra input is needed. |
![]() | Guide response design without filling answers for them. Which state needs no alarm? Which state needs light or sound? When is a stronger alert reasonable? |
Introduce the key technology.
Motion detection is an AI vision function that notices changes in the camera view. It is useful for detecting movement near the exhibit area.
• Camera input: The K10 camera watches the exhibit area.
• Motion evidence: The program can know that something moved in the camera view.
• Reliable systems often use more than one kind of sensor. In addition to AI, traditional sensor input is still important.
• How Is Motion Detection Implemented?
The UNIHIKER K10 detects motion by comparing two two adjacent video frames. A frame is one picture in a video, just like one page in a flipbook. When something moves, the two frames look different. The K10 checks these differences to tell whether an object is moving in front of the camera.

Definition
Motion Detection - A vision-based technology that detects movement or changes in the camera view.
Program Challenge
10 min.
Challenge 3-3: Complete and Improve the Two-Level Alert
![]() | Students find the P0 alert blocks. They connect the blocks into the running program. They test the two-level alert. |
![]() | Test one case at a time: safe, too close, exhibit tilted or moved. Then adjust camera position. Have students compare before and after. |
Summary - Key AI Ideas Review
2 min.
Summarize with students:
• Motion detection helps the K10 notice movement near the exhibit area.
• The P0 tilt sensor adds evidence that the exhibit or stand may have moved abnormally.
• A better protection station uses more than one input to reduce false alarms and choose the right warning strength.
AI Program Block Review
| Blocks | Description |
|---|---|
| Turns on the camera and prepares the K10 for vision input. |
| Switches the AI function to motion detection. |
| Sets how sensitive the motion detection is. A higher or lower value changes how easily motion is detected. |
| Checks whether movement is detected in the camera view. |
| Reads the P0 tilt sensor as extra evidence. |
| Controls the P1 LED strip with 7 RGB LEDs. |
| Sets the brightness of the LED strip. 255 means the maximum brightness. |
| Shows the selected color on LEDs 0 to 6 of the P1 LED strip. |
| Turns off all LEDs on the P1 LED strip. |
| Plays the built-in sound for the stronger alert. |
Next Class: Lesson 4
Current Tutorial: Click Here

























