A low-cost, easy-to-assemble differential drive robot, specifically designed for students. This platform provides hands-on experience with fundamental mechatronic components, robot construction, and introductory programming for mechatronics applications.
🔗 Quick Links:
- 🎮 Web Simulator - Test your code without hardware
- 💻 MicroPython Lab - Online MicroPython IDE
All components can be purchased from AliExpress and the chassis manufactured using a 3D Printer and Laser cutter.
- Laser cut chassis using (3mm Ply)
- 3D Printed components
- Ultrasonic Sensor
- RP2040 Uno Development Board
- Omni Wheel
- L298NH Motor Shield
- 4x Dupoint Cables
- 2x TT Tyre
- 2x TT DC plastic geared motor
- 5x2.1 Barrel Jack
- 6x AA Battery Holder with Switch
- 6x AA Batteries
Note
TempeHS Senior Software Engineering students have already completed these steps.
Detailed assembly instructions including hardware testing can be found in the Assembly_Instructions.md
Build MicroPython firmware with your custom AIDriver libraries integrated. The build system creates firmware with libraries frozen for fast loading and main.py on the filesystem for IDE editing.
🚀 Quick Build (Recommended):
cd /workspaces/AIDriver_MicroPython_Challanges/.devcontainer
./build_firmware.sh�️ Recovery Mode: If main.py becomes corrupted, connect GPIO pin 4 to ground during boot to restore the original code.
📖 Complete Documentation: Build_Custom_MicroPython_Firmware.md - Comprehensive build guide with recovery features
- Turn on richer console output by setting
aidriver.DEBUG_AIDRIVER = Truein yourmain.py. The library prints sensor sanity checks, motor actions, and student-friendly error hints without changing behaviour. - Every boot creates a run-once
event_log.txtnext tomain.py. It records high-level actions (drive/rotate/brake) with human-readable speed bands and notes when speeds are too low to move or will arc left/right. Clear or delete the file to capture the next run. - In recovery mode (GPIO4 held low during boot), both
main.pyandevent_log.txtare restored to their defaults so students start from a clean slate.
Once students have assembled their robot they are to complete the programming challenges to build their skills in programming mechatronics before designing a vehicle automation project.
🎮 Web Simulator: Test your code before uploading to the robot using the AIDriver Simulator - no hardware required!
- Challenge 1 - Drive in a straight line
- Challenge 2 - Drive in a large circle
- Challenge 3 - Autonomous collision prevention
- Challenge 4 - Drive in a square
- Challenge 5 - Autonomous obstacle avoidance
- Challenge 6 - Autonomous maze navigation
- Challenge 7 - Remote control
AIDriver_MicroPython_Challanges by Ben Jones is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International


