Introduction: How to Build a RC Bluetooth Arduino Car

This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida (www.makecourse.com)

This is an outline of how to build a remote controlled car that works through your phone's bluetooth. This project was created in the spring 2015 semester.

Step 1: Gather Your Components

These are the materials that I personally used. You can pick other brands and places to buy them from at your own discretion.

Tools:

Screwdriver

Drill

1/8 Drill Bit

3D Printer

Screws

Solder

Soldering Spool

Rubber Bands(optional)

Electrical Components:

1 Arduino Uno

1 HC-06 Bluetooth RF Transceiver

Jumper Wires

Female to Female wires

1 Breadboard

1 H Bridge DC Motor Controller

1 Android Device

2 DC Motors With Sidepins and Center Wheel

4 AA Batteries

1 9V Battery

3 1k Ohm Resistors

Software:

BluetoothRC Application for Android

Arduino IDE

Autodesk Inventor

Step 2: Print 3D Printed Parts

These are picture previews of the 3D components that will be printed out, as well as a picture of all the components put together. The stl files to print the parts can also be found below. You will need to print out 2 wheels, 1 lid and 1 enclosure.

Step 3: Assembly

Follow steps 4 - 8.

Step 4:

Solder the wires to each motors, as shown above, to attach to the battery pack. Set it aside. Be careful to not complete the circuit by letting the battery pack wires touch each other.

Step 5:

I have already pre-drilled the holes, so follow the arrows for each instruction.

Drill holes through the enclosure to attach the wheels. Use the base of the support wheel and the metal side bar (support for RC motor) as the guides by putting it up to the enclosure and mark it with a metallic permanent marker (or anything that would show up on the plastic. Metallic permanent marker just happened to worked well for my black colored box.)

Now drill one hole anywhere through the enclosure. We will
be wiring the motors through this hole, so keep in mind to drill through wherever you think will be the most convenient for the wiring and the placement of the rest of the electronic components. I drilled mine almost at the center area of the box.

Step 6:

Screw in the wheels and run the motor wires through the hole.

Step 7:

I attached some Velcro under the rest of my electronic components. Cut the Velcro down to fit the area if needed. Do not let the Velcro touch the soldered parts under each board.

Step 8:

Follow the following diagram for the wiring or the outline below:

The wires go as following:

Breadboard to Arduino Uno:

VCC to 5V

GND to GND (with the GND on the breadboard being grounded and connected to the 2 of the 1k Ohm resistors)

TXD to RX

RXD to TX (with the RXD on the breadboard being connected to 3 of the 1 k Ohms resistors. One of the resistors is grounded.)

Arduino Uno to Motor Controller:

Pin 2 to 5V (next to the ENA)

Pin 3 to ENA

Pin 4 to 5V (next to the ENB)

Pin 5 to ENB

Breadboard to Motor Controller:

Ground to Ground (listed as GND)

DC Motors to Motor Controller:

Left wheel: Positive to OUT C, Negative to OUT D

Right wheel: Positive to OUT A, Negative to OUT B

Battery Pack to Motor Controller:

Positive to VCC

Negative to GND

Note: It might be easier to wire each component on its own first. Put them all in place, then connect them all together.

Step 9: After the Assembly and Wiring

It should look something like this depending on your motor bridge controller layout.

The rubber bands are placed on the wheels to provide better traction.

Step 10: Code for Arduino

The most important part of this project is the arduino code. Without this code this device would not be able to function. In the video above you will find a description of the code that is used and the .ino file below contains the code with comments for each command.

BluetoothRC will need to be downloaded from the google playstore from the link provided in Step 1. As described in the code it is important to remember the pre-assigned numerical values for each command. These numerical values can be changed to any value desired in the code. The combination of these variables is what allows the movement forward and reverse.

Upload the code to the arduino through the Arduino software.

Step 11: Get Started With the Car

Make sure everything is assembled correctly and working properly.

Experiment with the android application to get used to the distinct commands.

Enjoy!

Comments

author
Nolan Cash made it! (author)2016-09-28

so I decided to beef up the motors and it caused so much of a voltage drop on the falling edge that it would disconnect the bluetooth. the solution I found was to use a constant voltage regulator from an led project I had before and it hasn't caused issues since

temp_-331407615.jpg
author
casey010 (author)2015-05-05

awesome man i build a similar one but yours is more presentable i think than mine

Screen Shot 2015-05-05 at 11.05.24 PM.png
author
amberrayh (author)2015-05-01

Looks great, but can we see it go? Thanks for sharing!

author
jnazar (author)amberrayh2015-05-01

Thank You!

To see it go use the following link

author
averykaolin (author)2015-05-01

Ha, go USF. Don't see that very often. USF grad 1999

About This Instructable

8,800views

174favorites

License:

More by jnazar:How To Build a RC Bluetooth Arduino Car
Add instructable to: