How to Track Objects in All Directions with the mBot2 Smart Camera

🎥🤖 Want your mBot2 to follow a ball in all directions — forward, backward, left, and right? In this tutorial, we’ll extend the original ball tracking project and upgrade it into full 2D tracking. Using the Smart Camera add-on, you’ll learn how to combine vertical and horizontal error minimization so your robot can center the ball anywhere in its field of view. You’ll learn how to: ✅ Review the forward/backward ball tracking program from the last tutorial ✅ Understand error minimization on both the X and Y axes ✅ Create new variables for center X, ball X, and scale factor X ✅ Use forward power and turn power together for precise wheel control ✅ Combine left and right wheel logic for smooth all-direction tracking ✅ Test and refine the complete program in mBlock ⏪ Prerequisite: Forward/Backward Ball Tracking Tutorial -    • How to Program mBot2 to Follow a Ball Forw...   🧰 Teachers! Want classroom-ready mBot2 lessons? Check out my resource packs on Gumroad here: 👉 https://gumroad.com/learnasyouexplore (More packs coming soon!) 🤖 Need an mBot2 or Smart Camera add-on to follow along? mBot2 @ Makeblock: https://www.makeblock.com/products/bu... mBot2 @ Amazon: https://amzn.to/425teDT Smart Camera Add-On Pack @ Makeblock: https://www.makeblock.com/products/sm... Smart Camera Add-On Pack @ Amazon: https://amzn.to/425thPX 💡 As an Amazon Associate, I earn from qualifying purchases. 🔗 As a Makeblock Affiliate Partner, I earn commissions from qualifying purchases. ⏰ Timestamps: 0:00 - Quick demo of the finished project 0:35 - Review of the forward/backward tracking program 2:58 - Error minimization on the X axis explained 6:33 - Combining error minimization on X and Y axes for wheel power 7:43 - Setting values for target X and Y coordinates 8:33 - Summary slide 8:49 - Building the program based on the previous tutorial 12:01 - Forward power and turn power logic 14:10 - Combining wheel logic for all-direction tracking 15:05 - Setting left and right wheel motor power values 16:21 - Reflection and upload the program to your mBot2 17:12 - Testing the program on mBot2 18:08 - Other helpful videos 🎥 Want to support my work? Fuel my next tutorial with a coffee! ☕❤️ https://buymeacoffee.com/learnasyouex... #mbot2 #makeblock #roboticsforkids #codingforkids #learnasyouexplore #stemeducation #mbot2projects #smartcamera #robotvision #objecttracking #teachcoding

How to Program mBot2 to Follow a Ball Forward & Backward
▶︎

How to Program mBot2 to Follow a Ball Forward & Backward

Give Me 60 Minutes and You’ll Master mBot2 Smart Camera Ball Tracking
▶︎

Give Me 60 Minutes and You’ll Master mBot2 Smart Camera Ball Tracking

🔴 Makkah Live | مكة مباشر | الحرم المكي مباشر | قناة القران الكريم السعودية مباشر | مكه المكرمه
▶︎

🔴 Makkah Live | مكة مباشر | الحرم المكي مباشر | قناة القران الكريم السعودية مباشر | مكه المكرمه

How to Install PixyMon & Use mBot2 Smart Camera to Track a Ball (Tutorial)
▶︎

How to Install PixyMon & Use mBot2 Smart Camera to Track a Ball (Tutorial)

She Was Trying to Cut It With Scissors and The Grass Was Taller Than My Mowers
▶︎

She Was Trying to Cut It With Scissors and The Grass Was Taller Than My Mowers

🔴 Makkah Live | مكة مباشر | الحرم المكي مباشر | قناة القران الكريم السعودية مباشر | مكه المكرمه
▶︎

🔴 Makkah Live | مكة مباشر | الحرم المكي مباشر | قناة القران الكريم السعودية مباشر | مكه المكرمه

Fall asleep while I build a zoo (Part 2) | Planet Zoo to help you sleep
▶︎

Fall asleep while I build a zoo (Part 2) | Planet Zoo to help you sleep

God Says:"I WANT YOU TO KNOW THIS — OPEN IT TONIGHT"/God Message Now/God Message
▶︎

God Says:"I WANT YOU TO KNOW THIS — OPEN IT TONIGHT"/God Message Now/God Message

After My Wife Passed Away, My Daughter-in-Law Smiled At The Inheritance Meeting!! | Calm Dad Stories
▶︎

After My Wife Passed Away, My Daughter-in-Law Smiled At The Inheritance Meeting!! | Calm Dad Stories

America's Got Talent 2026 ALL AUDITIONS | Week 2
▶︎

America's Got Talent 2026 ALL AUDITIONS | Week 2

China’s Secret | The Most Unbelievable Megaprojects in China | 4K Travel Documentary
▶︎

China’s Secret | The Most Unbelievable Megaprojects in China | 4K Travel Documentary

Harvesting 500+ Chickens from Farm by Horse Carriage to Sell at Village Market
▶︎

Harvesting 500+ Chickens from Farm by Horse Carriage to Sell at Village Market

Shade Tree Used Car Lot Strikes AGAIN! (Customer JUST BOUGHT this CAR) 2007 Kia Optima 2.4
▶︎

Shade Tree Used Car Lot Strikes AGAIN! (Customer JUST BOUGHT this CAR) 2007 Kia Optima 2.4

mBot Neo Best STEM Toy for Kids
▶︎

mBot Neo Best STEM Toy for Kids

Add a Robotic Arm to the mBot 2 with the SmartWorld Add on by Makeblock
▶︎

Add a Robotic Arm to the mBot 2 with the SmartWorld Add on by Makeblock

What's NEW at✨SAM'S CLUB✨ + June 2026 INSTANT SAVING!!
▶︎

What's NEW at✨SAM'S CLUB✨ + June 2026 INSTANT SAVING!!

Pixy2 Camera - Image Recognition for Arduino & Raspberry Pi
▶︎

Pixy2 Camera - Image Recognition for Arduino & Raspberry Pi

Amazing Invention Making from mBot2 makeblock
▶︎

Amazing Invention Making from mBot2 makeblock

Meet mBot2
▶︎

Meet mBot2

God Says:"I JUST CONFIRMED — ONLY YOU CAN SEE THIS LETTER"/God Message Now/God Message
▶︎

God Says:"I JUST CONFIRMED — ONLY YOU CAN SEE THIS LETTER"/God Message Now/God Message