Table of Contents

DIY 4-Wheel Drive Mobile Robot

Four-wheel-drive-Robot
Project Description

Introduction

‘Tis time for some robo fun! In this project, we’ll show you how to make your very own DIY 4-wheel drive mobile robot in easy steps! All the components required to make this mobile robot are available in the evive Starter Kit. And mind you, this 4-wheel drive mobile robot ain’t no ordinary robot; it can be controlled wirelessly with a Smartphone via a super special project interaction and Bluetooth controller app, Dabble! You can download it from HERE.

Ready, set, zoom!

Making the 4-Wheel Drive Robot Base

We will start by making the legs of our Mobile Controlled 4-wheel drive robot:

Making the Legs

  1. We are going to use B.O dual shaft DC motor to give legs and an acrylic base plate to give torso to our robot.
  2. Take a motor clamp and dual-shaft motor attach the clamps to the motor by using M3 bolts of 25mm length and M3 nuts.Making the 4-wheel drive
    evive Notes Icon
    Make sure to screw the motors to the middle hole given on the motor clamp.
  3. Complete the other three legs too.
  4. Now, we need to attach the legs to the torso. Take the acrylic base plate or chassis and mount the motors onto the chassis with the help of a clamp attached to the motor using M3 bolts of 8mm length. Use 1 and 3rd hole on the clamp to fix the clamp on to chassis.Making the 4-wheel drive 
    evive Notes Icon
    Make sure to fasten the clamps to the side of the chassis which does not have evive’s logo. Also, the wires of the DC motors are facing inside.
  5. Repeat the above step for the other three legs too.Making the 4-wheel drive Making the 4-wheel drive
  6. Now, to complete the leg assembly, let’s attach the feet to the legs, i.e the wheels to the DC motors. Since the motor shaft has a specific shape, match it with the wheel’s hole to fit it easily.Making the 4-wheel drive Making the 4-wheel drive

Completing the Torso Assembly

We will be using an external battery to power up our robot, thus we will also be needing housing for the same.

Take a 3D-printed battery holder and attach it between the motors below the chassis using M3 bolts of 8mm length and M3 nuts.Four Wheel drive robot

Bringing in the brain: evive

Now that the lower body of the four-wheel drive robot is ready! It’s time to mount the brain onto the robot. The evive- Arduino embedded platform is the brain in our case. if you are just getting started with evive, visit here.

  1. Place evive on to the chassis on the side where evive’s logo is printed and match the mounting holes of evive to the mounting holes on chassis. And make sure the evive’s screen faces the front of the robot.
  2. Fasten evive using 12 mm M3 bolt and nuts on the chassis.Four Wheel drive robot
  3. With this, our robot is almost ready. We need to power up our robot.
  4. Thus, fit the battery inside the battery holder. To make the connections for the robot have a look at the next step.

Making the Connection of the 4-Wheel Drive Robot

Let’s first connect the motors of the four-wheel drive with evive

  • Take two sets of 2 male-to-female jumper cables and connect them to evive’s Motor Channel M1 and M2.
  • Next, connect them to the breadboard.
  • Take four sets of 2 male-to-male jumper cables and extend the motor wires.
  • Next, connect the motors on the left side in parallel with the motor channel M1 on the breadboard by inserting their males ends in the same columns like that of the M1 channel.
  • Similarly, connect the motors on the right side in parallel with the motor channel M2.

Now, let’s connect the battery

  • Connect the battery to the VIN terminal on evive.
  • And switch the jumper from VVR to VVS. This will change the operating voltage from the internal battery to the external battery of evive.

Finally, connect the Bluetooth Module

  • Connect HC-05 Bluetooth Module to the headers provided on evive.

4 wheel drive robot fritzing Diagram Four Wheel drive robot

Debugging the Mobile Robot

Now to make sure all the motors are connected perfectly and rotate in the same direction, we will use one of the evive’s plug and play features. Follow the steps given below for the same.

  1. Switch ON evive.
  2. From the menu select Controls.Menu Sensing Selected
  3. Then select Motors.Control Menu Servo Selected
  4. As we are working on both the channels i.e. M1 and M2, select Motors 1 and 2.Motor Control Menu Motor 1 & 2 selected
  5. Slide the slide switch 1 and slide switch 2 in the upward direction to switch ON on the motor.
  6. Rotate both Potentiometer 1 and Potentiometer 2 to set the PWM.Motor Control Panel both Motors

All the motors should rotate in one direction. If it is not so then simply interchange the terminals of that motor.Debugging the motors

Completing the 4-Wheel Drive

Let’s get our 4-wheel started.

  1. Switch on the robot by sliding the power switch up to EXT as we are using an external battery.
  2. Now for controlling the robot via bluetooth we would be using a pre-loaded example inside evive. You can even write the code in PictoBlox if you want.4 wheel drive code 4 Wheel Drive Robot Code
  3. Open evive’s menu and select Examples from the menu.Menu Example Selected
  4. Then select Bluetooth Mobile Robot.Example Bluetooth Mobile Robot
  5. Now open the Dabble app on your smartphone available for iOS and Android,
  6. From that select the gamepad module.Gamepad
  7. Control your robot using the arrow keys of the Gamepad.

Conclusion

With this, your 4-wheel drive mobile robot is ready. Enjoy!

Project Downloads - Code and Files

Circuit Diagram

Circuit Diagram DescriptionCircuit Diagram Fritzing Diagram

Make the connection as given:

  • The two-cell battery to the VIN port on the right side of evive
  • Switch the jumper from VVR to VSS.
  • Connect Motor Channel M1 and M2 to the breadboard.
  • Connect the motors on the left side in parallel with M1 channel
  • Connect the motors on the right side in parallel with the M2 channel.
  • Connect the Bluetooth module to headers given on evive.

Explore Related Projects by STEMpedia

Level up your robot control skills by learning how to control a 2-Wheel Drive Robot with hand gestures using PictoBlox AI's Machine Learning extension. Get ready to channel your inner Jean Grey!
Learn how to make a two-wheel-drive robot and code on the go with PictoBlox's mobile app. Control your robot in real-time with your smartphone!
Learn how to make an automatic chocolate dispenser to delight Santa this Christmas. All components can be found in the evive Starter Kit. Let's begin!

Explore Community Projects