Gatekeeper Robot
In this activity, you’ll use your cyber:bot and HUSKYLENS AI camera to recognize faces and make the robot move in response. Once a face ID is detected, the cyber:bot performs a turning maneuver sequence, pauses, and then reverses direction. You’ll learn how to control motion based on what the HUSKYLENS sees and practice using both AI vision and navigation modules together.
✓ Before starting, review the Remember Training Data with a microSD Card (Python) chapter. Train the HUSKYLENS to recognize three faces and save them to model slot 1 using the Logo + A method. This ensures that the robot can recall its learned faces when the script runs.
Parts List
-
cyber:bot robot with micro:bit
-
HUSKYLENS AI Vision Sensor
-
4-pin I2C cable
-
Two continuous rotation servos
-
6 V battery pack
Schematic/Wiring, Assembly
✓ Connect the HUSKYLENS module to the cyber:bot’s I2C header (SDA → P5, SCL → P4, power, and ground).
✓ Mount the HUSKYLENS on the cyber:bot’s front bracket so it can see forward.
✓ Ensure servos are connected to the cyber:bot pins as usual for left and right drive motors.
✓ Power the system using the 6 V battery pack.