Introduction: Bluetooth RC Vehicle Controller

About: thanks

This instructable will show how to create your own Bluetooth controller for an RC vehicle.

This instructable is also referenced by another instructable that creates an RC Vehicle:

https://www.instructables.com/id/Create-an-RC-Vehicle/

Step 1: Overview

Parts List
H-Bridge from ebay: $1.23
http://www.ebay.com/itm/H-bridge-Stepper-Motor-Dual-Motor-Driver-Controller-Board-HG7881-Fr-Arduino-MKLN-/262026127525?hash=item3d01f968a5

Bluetooth Serial Adapter HC-05, 4 pin $6
http://www.ebay.com/sch/i.html?_odkw=hc-05&_sop=15&_osacat=0&_from=R40&_trksid=m570.l1313&_nkw=hc-05+4+pin&_sacat=0

Power Supply: $1.00
http://www.ebay.com/itm/1-DC-DC-Buck-Converter-Step-Down-Module-LM2596-Power-Supply-Output-1-23V-30V-/181409861491?hash=item2a3cdecf73

Pcb from www.iteadstudio.com $1.45 (in packs of 10)
See attached .zip file.

Arduino with bootloader
http://www.ebay.com/itm/NEW-ATmega328P-PU-with-Arduino-UNO-bootloader-ATMEL-DX-/261560259529?hash=item3ce634d3c9

10k resistor in packs of 50 $0.02
http://www.ebay.com/itm/50pcs-10K-Ohm-0-25-1-4-Watts-Power-5-Carbon-Film-Resistors-55-to-155-/360963443834?hash=item540b190c7a

16 mhz clock $0.09 in packs of 20
http://www.ebay.com/itm/20pcs-16mHz-Crystal-Oscillators-HC49S-Quartz-Low-Profile-rc-pi-arduino-WD-/181758593983?hash=item2a51a80bbf

Female header $0.15 in packs of 10
http://www.ebay.com/itm/10Pcs-40pin-2-54mm-Single-Row-Straight-Female-Pin-Header-Strip-PBC-Arduino-TOP-/221502607478?hash=item3392959076

male header $0.07 in packs of 10
http://www.ebay.com/itm/10pc-1-40Pin-Single-Male-0-1-2-54mm-Breakable-Header-Connector-fr-Arduino-TMPG-/161697100858?hash=item25a5e5f43a

screw terminals $0.12 in packs of 20
http://www.ebay.com/itm/Set-Of-20pcs-2-Pin-Plug-in-Screw-Terminal-Block-Connector-2P-5-08mm-Pitch-/361269170157?hash=item541d520fed

programmer: $3.55
http://www.ebay.com/itm/All-Pin-Leads-CP2102-USB-to-UART-Module-Downloader-Programmer-Serial-Converter-/331233336266?hash=item4d1f0b9bca

female to male jumper wires (for programmer ) $1.00
http://www.ebay.com/itm/40pcs-Dupont-10CM-Male-To-Female-Jumper-Wire-Ribbon-Cable-For-Arduino-Best-/291560129035?hash=item43e256820b

Total: $15 when buying some parts in packs

Tools List:
Soldering iron
Angle wire cutter or scissors (to cut the female headers)

Steps
1. Solder together the parts
a. LM2956 power supply
1. Solder 2 screw terminals to the + and - input of the LM2956 power supply
2. Solder 2 single female headers to the output
b. pcb
1. Solder in the 26 pin socket for the atmega 328
2. Solder in the 16 mhz clock, and the 10k resistor
3. Solder in 2 male headers for the power supply (Insert them in the female posts of the power supply first)
4. Cut 2x6 pin female headers, and 1x4pin female header, and 1x1 pin female header
5. Solder in the female headers per photo

2. Put the units together
3. Download arduino ide from www.arduino.cc
4. Install the windows driver for the cp2102 (attached)
5. Program the atmega 328 with the attached .ino
a. With your female to male jumper wires connect female to cp2102 programmer, connect the male ends to the pcb per diagram
b. Connect the programmer to the computer and determine which comport it is assigned by using device manager
c. Select the comport
6. Connect components
a. Bluetooth receive and hbridge connect directly to pcb
b. Power supply connects to pcb via male/female headers
c. Jumper wire goes from positive (+) battery output to hbridge input

Step 2: Power Supply

Two female headers are soldered at the output terminals and 2 screw terminals are soldered to the input terminals

Step 3:

1. Solder in the 26 pin socket for the atmega 328
2. Solder in the 16 mhz clock, and the 10k resistor
3. Solder in 2 male headers for the power supply (Insert them in the female posts of the power supply first)
4. Cut 2x6 pin female headers, and 1x4pin female header, and 1x1 pin female header
5. Solder in the female headers per photo

Step 4: Adjust the Power Output, Then Put the Pieces Together.

Connect a 7V-12V power supply to the input screw terminals and use the adjust screw on the power supply to adjust the power output to 5V.

Then connect the pieces together.

Male pins on the HC-05 adapter connect to the pcb

Female pins on the power supply connect to the male pins n the pcb

The male pins on the h-bridge connect to the 6 pin female header on the pcb

Step 5: Finishing Steps

4. Install the windows driver for the cp2102 (attached)
5. Program the atmega 328 with the attached .ino
a. With your female to male jumper wires connect female to cp2102 programmer, connect the male ends to the pcb per diagram
b. Connect the programmer to the computer and determine which comport it is assigned by using device manager
c. Select the comport

d. Add SoftwareServo to your Arduino library

e. Select Duemilanove as output type of board

f. Upload the sketch to the atmega328

Step 6: Final Thoughts

This Bluetooth controller will be used by another instructable.

You can send the .zip file to www.iteadstudio.com for your own copy of the pcb, or you can modify the pcb using Eagle which is a free cad program.

You can also email me for a free copy of the pcb, or you can order the entire kit as parts or I can assemble it fr you.

Please contact me if you have any comments:

paulware@hotmail.com