In this tutorial, I’ll share with you on how to build a mobile robot using a Maker Drive and Raspberry Pi. We will use Blynk app to control the robot. Before we start, you may need to refer to these tutorial :
Now, let’s do it!
This tutorial use :
- Alluminium 2WD TT Robot/Motor Chassis – Purple
- Maker Drive
- Raspberry PI Zero WH
- M3 PCB Stand (Screw & Nut) 15 mm
- Jumper Wire
You can make the hardware connection based on the diagram and table below.
|Maker Drive : M1A||Raspberry Pi: GPIO 17|
|Maker Drive : M1B||Raspberry Pi: GPIO 18|
|Maker Drive : 5V OUT||Raspberry Pi: 5V|
|Maker Drive : GND||Raspberry Pi: GND|
|Maker Drive : M2A||Raspberry Pi: GPIO 27|
|Maker Drive : M2B||Raspberry Pi: GPIO 22|
|Maker Drive : VB+||Battery Positive|
|Maker Drive : VB-||Battery Negative|
Please refer to this video for the hardware connection.
This is the sample code used for this tutorial. Try it!
Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.