4 Wheel Robot Made With Arduino Controlled Using Dabble

by theSTEMpedia in Circuits > Robots

15351 Views, 39 Favorites, 0 Comments

4 Wheel Robot Made With Arduino Controlled Using Dabble

P1088640.JPG
P1088643.JPG

Another project, another out-of-the-box gifting idea! Presenting to you the Dabble controlled 4-wheel robot - an simple-and-fun to build and easy-to-control robot that can be controlled via Bluetooth using Dabble, a mobile application indigenously developed us. All you need to make your robot is an Arduino Uno board, chassis, wheels, motor shafts, and other accesories and tools. To control it, you need to install Dabble from Google Play and pair it with Bluetooth; and your robot’s ready to go places!

What better way to end the year with the same DIYing spirit that it began with, right? So what are you waiting for! Let’s get started!

Things You'll Need

P1088680.JPG

  • Arduino Uno Board
  • Breadboard
  • Chassis
  • Motor Mounts
  • DC Motors
  • Wheel
  • Motor Driver
  • Bluetooth Module HC05
  • DC Terminal Block
  • Battery
  • Jumper Cables

Making of the Body

Add DC Motors.jpg
Add Motor Mounts.jpg
Add Wheels.jpg
Chassis.jpg
Flip the Assembly.jpg

Firstly, we will start making the body of the 4 Wheel Robot.

Take the chassis and turn it upside down.

Onto this chassis mount 4 motor mounts using M3 Bolts and nuts.

Fix the DC Motors and fix them on the motor mounts using M2 Nuts and Bolts.

Attach wheels on each shaft of the DC Motor.

Flip the assembly, thus your body is created.

Adding the Brain

P1088667.jpg
Place Arduino.jpg

The microcontroller that we are going to use is Arduino Uno.

We are going to make all the connections on it, but we are also going to use a breadboard to make the connections.

Making Connections and Using Motor Driver

dabble_robot_bb (5).jpg

Make the connection as shown in the above figure.

We are going to make use of the motor drivers because Arduino Uno does not provide sufficient power to run 4 Motors. Thus, we will be adding the motor driver, we will be able to give the robot needed energy.

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.

Connecting Smartphone

Add Bluetooth Module.jpg
Add Bluetooth Module 1.jpg

We need to add a module that will make the connection between your robot and Dabble App on Smartphone.

We are taking Bluetooth HC05 Module. Connect it as shown in the connection figure.

Adding the Battery

Add Battery.jpg
Adding DC Jack.jpg

We will need to add an extra power source to our robot. Also, to connect Arduino Uno with the battery we are going to use DC Terminal Block or DC Jack.

Arduino Code

Upload the following code:

Downloads

Working

Home_Connected.jpg
Game-Pad_Connected-299x600.png

We can easily connect our robot to our Smartphone using Dabble.

Before working with any of the modules, you need to connect the Bluetooth that you are working on.

There are many modules available in the App for other functionalities.

Today we will be working with the Gamepad Module.

And we will be using the Left Set of buttons:

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

Conclusion

With this, you DIYDabble-controlled 4wheel robot is ready for action!

Psst! Just so you know, Dabble can do much more than just wirelessly controlling robots. You can explore more about it here!