So far, you’ve trained the HUSKYLENS to recognize colors, faces, or tags — and even taught it how to remember that training with a MicroSD card. But recognizing something is just the first step. Now it’s time to respond to what the HUSKYLENS sees.
The HUSKYLENS doesn’t just tell you what it sees, it also reports where it sees it on the screen, using X and Y coordinates. Your micro:bit can read those coordinates, display them on its 5×5 LED display, and even update the cyber:bot’s movement so the object stays in the center of view.
In this lesson series, you will:
-
Read X and Y coordinates from the HUSKYLENS
-
Display those coordinates on the micro:bit’s 5×5 LED matrix
-
Write a program that adjusts the cyber:bot’s position in real time
-
Keep a trained color (or other object) centered on the HUSKYLENS screen
By the end, your robot won’t just see — it will react. This skill is the foundation for advanced projects like object following, autonomous navigation, and interactive robot behaviors.
💡 Tip: Keeping the target centered is called closed-loop control, a key idea in robotics and engineering.