Your shopping cart is empty!
Getting Started with 4 Channel Motor Driver and Arduino
- Idris Zainal Abidin
- 27 Jun 2018
- 1508
INTRODUCTION
4 Channel DC Motor Driver, FD04A is special designed to drive four DC brush motors. It can be used to drive more than two motors which is needed on Omni drive mobile robot. It offers low cost and easy to use – with minimum interface the board is ready for driving motor with direction, start, stop and speed control.
VIDEO
In this video we will show you how to get start with 4 Channel DC Motor Driver and Maker UNO (Arduino Unocompatible).
Hardware Connection
This tutorial uses:
- 4 Channel Motor Driver
- Maker UNO
- SPG30-XX*
- DC Geared Motor Bracket (SPG30/SPG50)
- LiPo Rechargeable Battery 11.1V 2200mAH
You can make connection based on the table below.
4 CHANNEL MOTOR DRIVER | CONNECTIONS |
Power + | Battery +ve |
Power - | Battery -ve |
Motor 1 A | Motor 1 |
Motor 1 B | Motor 1 |
Motor 2 A | Motor 2 |
Motor 2 B | Motor 2 |
Motor 3 A | Motor 3 |
Motor 3 B | Motor 3 |
Motor 4 A | Motor 4 |
Motor 4 B | Motor 4 |
1 - Motor 1 Direction | Maker UNO pin 4 |
2 - Motor 1 Enable | Maker UNO pin 3 |
3 - Motor 2 Direction | Maker UNO pin 5 |
4 - Motor 2 Enable | Maker UNO pin 9 |
5 - Motor 3 Direction | Maker UNO pin 6 |
6 - Motor 3 Enable | Maker UNO pin 10 |
7 - Motor 4 Direction | Maker UNO pin 7 |
8 - Motor 4 Enable | Maker UNO pin 11 |
V - Output 5V | Maker UNO pin 5V* |
G - GND | Maker UNO pin GND |
*Please disconnect 5V connection when you want to connect your Maker UNO to PC/laptop.
Sample code
This is sample code used in the video. You can edit it for your application.
Thank you
Thanks for reading this tutorial. If you have any technical questions, please post at our technical forum. ;-)