Introduction: SPyBot
Robotics is a world accessible to everyone! Unfortunately, sometimes, those who are "beginners" collide with a complexity that could block their enthusiasm! Is it possible to make robotics simple and intuitive? If you are a teacher who wants to introduce your students to robot programming, then the SpyBot (School Python roBot) platform is for you!
SpyBot is an educational robotic platform, currently programmable in python language, but soon also in Blockly which is based on Raspberry Pi zero w. SpyBot uses a pre-assembled board that integrates sensors, motor controllers, LEDs and buzzers and on which it is possible to insert the GPIO of the Pi Zero to make it possible to control the individual elements from the board.
Supplies
- board (https://www.ebay.com/itm/404172045963);
- 4 TT-Motor and wheels (https://aliexpress.com/item/1005004522171681.html);
- 3 IR sensor TCRT5000 (https://aliexpress.com/item/4000800991496.html);
- 3 ultrasonic sensor HC-RS04 (https://aliexpress.com/item/4000232170787.html);
- supply voltage (7.4 V), based on 2 lipo 18650 (3.7 Volt) (https://aliexpress.com/item/1005004678100468.html);
- raspberry pi zero w (https://alibaba.com/product-detail/Electronic-Components-2019-New-Technology-Original-1600410755389.html).
To simplify the assembly we recommend the purchase of one of the following kits:
- board and sensors (https://www.ebay.com/itm/404172043347)
- board, sensors, motors and wheels (https://www.ebay.com/itm/404172044936)
- board, sensors, motors and omni-directional wheels (https://www.ebay.com/itm/404172045460)
Step 1: SPyBot - Assembly
The assembly is very simple:
- First of all, the board is inserted on the 3d printed case;
- Next proceed to insert the IR and ultrasonic sensors;
- Next insert the TT-Motors and the wheels.
- Finally, just insert the raspberry pi zero into the slot and the battery.
Step 2: SPyBot - Example Python Code
The attached python scripts allow you to run a variety of tests.
- l293d.py contains a first test of the motors;
- follow_line.py is a test for the line-following robot;
- ultrasonic.py contains an avoiding-obstacles simple application.