Summer Sale: 5% OFF Over $49, Code: Elephant5; 10% OFF Over $99, Code:Elephant10



Self-balancing Car Kit For Arduino Robot Tutorial

Posted by Fiona Su on

The self-balancing car uses the power of the car body to maintain the relative balance, which is a process of dynamic balance.

The power to maintain the balance of the car comes from the movement of the wheels, driven by two DC motors.
The control of the car body can be divided into three control tasks as follows:
1. Balance Control: keep the car upright and balanced by controlling the forward and backward rotation of the car’s wheel.
2. Speed Control: realize the front and rear movement and speed control by controlling the inclination of the car. In fact, it is achieved finally by controlling the speed of the motor.
3. Direction Control: realize the steering control by controlling the rotational speed differences between the two motors of the car.

In this way, it is relatively simple to understand the three control tasks.
But in the final control process, it comes down to the control of a control quantity. So there will be coupling between the three tasks, which will interfere with each other.
The key is to control the car’s balance; the speed and direction control should be as smooth as possible.

thumb

Parameters of balance car

1.Motor parameters:

thumb

  • 2.Working voltage: DC 9-12V
  • 3.Motor drive chip: TB6612FNG
  • 4.Body posture detection: MPU-6050
  • 5.Comes with power control switch
  • 6.Comes with Bluetooth control switch for controlling serial communication

Pay special attention to:
The balance shield comes with a slide switch for controlling the Bluetooth communication.
When upload the source code, must turn the slide switch OFF; otherwise, code uploading will fail.
When connecting to the Bluetooth module, should turn the slide switch ON.

thumb

Balanced Robot Kit Shipping List

The balancing robot kit packaging contains all electronic components for this self-balancing car. As you work your way through each project, you will learn how to control the car.

  • Dual-pass M3*45MM hex copper pillar x4
  • Dual-pass M3*10MM hex copper pillar x4
  • Black M4*6 cross screw x2
  • M3*6MM round head screw x6
  • M3*8MM round head screw x10
  • M3*8MM flat head cross screw x4
  • M3*12MM flat head cross screw x2
  • M3*12MM round head screw x10
  • M3 nickel plating nut x12
  • Acrylic plate pack of 2pcs x1
  • Black+blue outer diameter 68mm thickness 26mm wheel x2
  • GM37-520 DC gear motor with hall encoder 12V,1:30,with type L holders x2
  • 6MM hole*18MM length Copper hex coupler x2
  • Double-head 6pin PH2.0 30CM connector wire x2
  • Yellow-black handle 3*40MM Phillips screwdriver x1
  • Type L M2 nickel plating inner hex wrench x1
  • 18650 3-cell AA battery case with 15CM lead+plug (18650 battery not included) x1
  • Keyestudio Balance Shield V3 (black and eco-friendly) x1
  • Keyestudio REV4 main board x1
  • AM/BM transparent blue OD:5.0 L=50cm USB cable x1
  • Keyestudio Bluetooth XBee HC-06 x1
  • Motor iron holder x2
  • Black winding tube x1

Resources

All Info.

Download: https://1drv.ms/u/s!ArhgRvK6-RyJhGZP5VY85WVtDBhL?e=BLmybl

Assembly Steps

(1) Prepare all the components shown below.

thumb

(2) To begin with, we start to install the bottom Acrylic plate.
Find out the parts below:

  • Bottom Acrylic plate
  • Dual-pass M3*10MM hex copper pillar x 4pcs
  • M3*8MM screw x 4pcs
  • M3*12MM flat head screw x 2pcs
  • M3 nickel plating nut x 2pcs
  • Battery case

thumb

We are now going to mount the battery case and copper pillars on the Acrylic plate.
Fix the 4pcs M3*10MM copper pillar onto the Acrylic plate using 4pcs M3*8MM screws.

thumb

We are now going to mount the battery case and copper pillars on the Acrylic plate.
Fix the 4pcs M3*10MM copper pillar onto the Acrylic plate using 4pcs M3*8MM screws.

thumb

Then Mount the battery case on the Acrylic plate using 2pcs M3*12MM flat head screws and 2pcs M3 nickel plating Nuts.

thumb

(3) Next, move on to install the motor and wheel onto bottom Acrylic plate.
Find out the parts below:

  • Bottom Acrylic plate mounted with battery case
  • M3*12MM round-head screw x 8pcs
  • M3 nickel plating nut x 8pcs
  • M4*6MM black screw x 2pcs
  • Two wheels
  • Two black connectors
  • Two motors
  • Two copper hex couplers
  • M2 wrench Type L

thumb

Go to mount the two black connectors onto the Acrylic plate using 8pcs M3*12MM round-head screws and 8pcs M3 nickel plating nuts. Shown below.

thumb

Each motor is equipped with six screws in the bag. Go to mount the two motors on the black connectors using the screws.

thumb

Screw each copper hex couplers with two screws. Then fix the two copper couplers on the two motors using a wrench.

thumb

thumb

Finally mount the two wheels to the two hex copper couplers using 2pcs M4*6MM black screws.

thumb

Up to now, the bottom motor wheel are installed well!

thumb

(4) The final step is to install the control board and the top Acrylic plate.

  • Top Acrylic plate
  • REV4 control board
  • keyestudio balance shield
  • Bluetooth XBee module HC-06
  • M3*6MM round-head screw x 3pcs
  • M3*45MM copper pillar x 4pcs
  • M3*8MM round-head screw x 8pcs
  • 6pin 30CM connector wire x 2pcs

thumb

Go to screw the REV4 control board onto the 4pcs M3*10MM copper pillars mounted on the Acrylic plate with 3pcs M3*6MM round-head screws.

thumb

Then stack the keyestudio balance shield onto REV4 control board. And plug the Bluetooth XBee module HC-06 into the balance shield.

thumb

Go to connect the motor to the balance shield using 6pin PH2.0 30CM connector wire. Simply connect the motor to the nearest motor connector.

thumb

After that, screw the 4pcs M3*45MM copper pillars on the Acrylic plate with 4pcs M3*8MM round head screws. And connect well the battery plug to DC black jack of REV4.

thumb

The back view is showed below:

thumb

The final part is to install the top Acrylic plate onto the 4pcs M3*45MM copper pillars with 4pcs M3*8MM round-head screws.

thumb

Congrats! The balance car is installed well.

thumb

Shop the Self-balancing Car Kit For Arduino Robot

Arduino Self-balancing Car Kit Project

 

0 comments

Leave a comment

Please note, comments must be approved before they are published