DIY Dabble Controlled 4 Wheel Robot

Dabble-Controlled-4-Wheel-Robot
About This Project

This project will show you how to make a DIY 4-Wheel robot that can be controlled using a Smartphone via Dabble, a mobile application.

Project Info

Introduction

Aaaand we’re back with yet another out-of-the-ordinary gifting idea this Christmas that is perfect for all the hobbyists, tinkerers, and curious minds out there! Packed with some robot making, some wireless control, and fun while doing, of course, is the DIY 4-Wheel robot – an Arduino Uno-powered robot that can be controlled via Bluetooth through our indigenously developed mobile application, Dabble! All you need to do is install it and pair it, and you will be good to go!

So, are you ready to find out why this robot is a great gifting idea for your fellow tinkerers? Then, let’s begin!

Components Required

Building Guide

Step 1: Making

We will first be assembling the base of 4 Wheel Robot.

Take the chassis and turn it upside down.Chassis

Fix the 4 motor mounts on all the four corners using M3 bolts(8mm) and nuts.Add Motor Mounts

Once you have fixed the mounts, attach motors to it using M3 bolts(25mm) and nuts.Add DC Motors

Make sure you keep one shaft of all the motors facing outwards.

Attach the wheels onto the motor shafts.Add Wheels

Flip the assembly.Flip the Assembly

Thus the base of your 4 Wheel Robot is ready.

All you need to do now is to install the Arduino Uno board and make the connections.

The connection can be made using the following step.

You can fix all the elements to the chassis, such as Arduino board, breadboard, and Bluetooth Module using double-sided tape.Add Bluetooth ModuleAdd Bluetooth Module 1

Finally, add the battery and the DC Jack.Adding DC Jack Add Battery

Step 2: Connections

We are using Arduino Uno as our microcontroller board.

Next component that we are using is the Motor Driver IC.
The reason that we need to use motor driver is that Arduino does not provide much power. Thus we need an external power supply to run the motors. Thus Motor Driver is connected to Arduino and battery and the motor thus run through the Motor Driver IC.

Motor Driver has the following set of pins:

  • VCC – 5V
  • GND – Ground
  • m1_dir1, m1_dir2, m2_dir1, m2_dir2 – Control the direction of the motors
  • m1_en, m2_en – Motor Driver enable pin

The left two motors are connected in parallel. Similarly, the right two motors are too connected in parallel.

The connections are made as follows:

  • Enable Pins – Digital Pin 10 and 11
  • VCC – Arduino 5V
  • m1_dir1, m1_dir2, m2_dir1, m2_dir2 – Digital Pin 4, 5, 6, and 7
  • VC – External Battery
  • GND – GND of Arduino and Battery
    Make sure we connect all the GND wires together.

Also, connect HC05 as shown in the below figure.dabble_robot_bb Fritzing Diagram

Step 3: Logic

The HC-05 Bluetooth module is used to connect our 4 Wheel Robot to Dabble.

Install the app and open it.Dabble Home Disconnected

Then, pair it with the HC-05 Bluetooth module.Dabble Home Connected

Open Gamepad.

You can now control your Robot using the keys of the GamePad.Game Pad_Connected

We will be using the left set of keys.

  • Up – Move Forward
  • Down – Move Backward
  • Left – Turn Left
  • Right – Turn Right

Step 4: Code

Upload the following code to our Arduino board.

Step 5: Conclusion

With this, the DIY 4-wheel robot is ready to rock ‘n’ roll! Now that you agree that it is a super cool gifting idea, then what are you waiting for! Make Christmas special for your geeky peeps!

BTW, Dabble can do much more than just Bluetooth control. You can explore more about it here!

Circuit Diagram

DescriptionCircuit Diagram

The connections are made as follows:

  • Enable Pins – Digital Pin 10 and 11
  • VCC – Arduino 5V
  • m1_dir1, m1_dir2, m2_dir1, m2_dir2 – Digital Pin 4, 5, 6, and 7
  • VC – External Battery
  • GND – GND of Arduino and Battery
    Make sure we connect all the GND wires together.

Also, connect HC05 as shown:

Code

DescriptionDownload Code
Arduino Code for 4 Wheel RobotDownload
evive LibraryDownload
Dabble LibraryDownload
Share this Project
Share on facebook
Facebook
Share on twitter
Twitter
Share on google
Google+
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on print
Print
Featured Projects
Space-Battle-Game on Scratch

Space Battle

This project will show you how to make a cool space battle game on your own in PictoBlox (Scratch-based programming) and play using your Smartphone!

All articles loaded
No more articles to load
Close Menu
×

Cart

Every New Project
is an exciting
Adventure!

Subscribe to our newsletter and go on an exciting project-making adventure with us every week.