Bukit Mertajam, Penang

Raspberry Pi Mobile Robot with Maker Drive

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 :

  1. Getting Started with Maker pHAT
  2. Getting Started with Maker Drive and Raspberry Pi.

Now, let’s do it!

Hardware Preparation

This tutorial use :

  1. Alluminium 2WD TT Robot/Motor Chassis – Purple
  2. Maker Drive
  3. Raspberry PI Zero WH
  4. M3 PCB Stand (Screw & Nut) 15 mm
  5. Jumper Wire

You can make the hardware connection based on the diagram and table below.

Maker Drive : M1ARaspberry Pi: GPIO 17
Maker Drive : M1BRaspberry Pi: GPIO 18
Maker Drive : 5V OUTRaspberry Pi: 5V
Maker Drive : GNDRaspberry Pi: GND
Maker Drive : M2ARaspberry Pi: GPIO 27
Maker Drive : M2BRaspberry Pi: GPIO 22
Maker Drive : VB+Battery Positive
Maker Drive : VB-Battery Negative


Figure 1 : Hardware Connection

Video Reference

Please refer to this video for the hardware connection.

Sample Code

This is the sample code used for this tutorial. Try it!

Thank you

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.

Leave a comment