Instructables

Simple RC car for beginners (Android control over Bluetooth)

Featured
Picture of Simple RC car for beginners (Android control over Bluetooth)
This is a simple project of Android Bluetooth Car with Bluetooth control. Arduino controller is used

To control the car used Android-device with a built-in accelerometer. Tilt forward - car goes forward, tilt to the left - car turns to the left, tilt back - car goes back. Speed of movement or rotation depends on how much you tilt the device. Sensitivity and value of the tilt set in the configuration Android-apps. Also are provided a normal way to control: the buttons on the screen. In addition to all I implemented the touch control. Total 3 ways to control the RC Car.

Capabilities of the device you can see on the video above
 
Remove these adsRemove these ads by Signing Up

Step 1: Android device

Picture of Android device
Parts needed

1. Android device

The most important part - Android device with accelerometer and Bluetooth: tablet, smartphone and other... As an Android device, I used a cheap Chinese tablet "Ainol Aurora" with an external USB-Bluetooth module (because its not have own), connected via USB Host.

Step 2: DIY Car Chassis

Picture of DIY Car Chassis
arduino_car.jpg
2. DIY Car Chassis

We also need any chassis with 2 or 4 DC motors. You can use an old RC toy car. As a platform I used a small RC DIY platform, bought on eBay for $ 25. To control described in this project is most suitable track chassis.

Step 3: Controller (MCU)

Picture of Controller (MCU)
3. Controller (MCU)

You need Arduino-compatible controller

Controller must support 2 PWM and UART.

Step 4: Bluetooth module

Picture of Bluetooth module
4. Bluetooth module

As a Bluetooth module uses cheap Chinese module HC-06 (6-8$ on eBay). Instructions guide on connecting bluetooth module to Arduino is here.
You can use HC-05, HC-07 and other serial Bluetooth modules

Step 5: Motor Driver

Picture of Motor Driver
5. Motor Driver

I used L298N Dual Bridge DC stepper Motor Driver module. It cost 4-5$ on eBay.
abencomo1 month ago

Nice work! We built a similar project. However, we installed the
Android device onto a RC car and used an IOIO board to control it
autonomously. Here is the preliminary result:

SHARQ1 month ago

Hi everyone..

I did this as my project as my FYP. I did my own L298N motor driver referring to this link, http://www.instructables.com/id/Dual-H-Bridge-L298-Breakout-Board-Homemade/ . I had set up all as per instructed above. But, I'm finding some issues on my project which is only 1 motor operates and only forward is functional while other buttons are malfunctioned.. Can anyone help me to complete my project by giving advises or suggestions? I'm in a desperate situation here because my submission due next week. Please help me. Thank you.

SHARQ3 months ago

Hi tolik777.. is it possible for me to use bluetooth dongle instead of bluetooth module?? Thank you..

jomet SHARQ2 months ago

I don't think so that you can blueetoth dongle

SHARQ jomet1 month ago

Thanks jomet for your reply

hsumaria4 months ago
can arduino uno be used instead of this ??
tolik777 (author)  hsumaria4 months ago
Yes, surely. You can use any arduino
rovilo tolik7772 months ago

But Does Uno use the same coding as the Nano?

fs42 months ago

Hi Guys... loved the tutorial:) I am very new to this. I'm finding difficult to buy the parts. Can somebody please guide me with links to buy these in India.

So far below are the links i found. But I'm not sure whether these are the right components. Please guide me

http://www.ebay.in/itm/PWM-Motor-Speed-Controller-for-PIC-Atmel-Atmega-Arduino-Raspberry-Pi-/291061633181?pt=LH_DefaultDomain_203&hash=item43c4a0109d&_uhb=1#ht_1562wt_1139

http://probots.co.in/index.php?main_page=product_info&cPath=22&products_id=427

http://probots.co.in/index.php?main_page=advanced_search_result&search_in_description=1&keyword=motor+driver

jomet fs42 months ago
jomet jomet2 months ago
nezzmuk2 months ago

I have everything put together. But when I tried to use it all I get is a socket error. I used Bluetooth Terminal to connect and get the MAC for the android app. Any idea what else I should try?

ddidiano3 months ago

I'm wondering if you can use an arduino UNO rather than the leonardo model.

pranjaltables3 months ago

can i use another version of arduino like arduino duemilanove atmega328?

pranjaltables3 months ago

can i use another version of motor driver?

tolik777 (author)  pranjaltables3 months ago
Yes
sketch_dec25a:173: error: expected `}' at end of input

please help!

Serial.print("FWOK\r\n"); // send a message that the data is successfully written to EEPROM

}

}

IT SHOULD BE ENDING WITH ANOTHER " } " SAME LIKE ABOVE

meanbean1 year ago
Can you recommend a quad bridge dc motor driver? I'm thinking about starting a project that would involve 4 motors, i'm just a little hesitant about where to start. Thanks!
tolik777 (author)  meanbean1 year ago
Do you want control 4 motors independently? Each separately?
Two or four control motor channel?
If you need 2 motors, you can connect them in parallel. For this you can use L298
Yes, I too want to use 4 motors for my toy car wheel... can you helpme out how to to with L298N motor drive and arduino...

I am beginner here... Your help would highly appreciated...
srauniyar4 months ago
Hello Everyone... can anyone please tell me how to connect 4 motor for toy car wheel with L298N motor drive and arduino mega... when I am using only two wheel then its running ok for few second but after few second its not working.... Your help would highly appreciated...
adi-sreyaj6 months ago
here's mine version of this.........................works perfectly and i got a range of over 100 mtr
DSC_0093.jpgDSC_0094.jpg
hey adi ....i hv some queries abt the same
will u plz suggest abt the parts n their configurations,
will u plz post them with details,n also the program.
vkadnor vkadnor4 months ago
grt job dude
tolik777 (author)  adi-sreyaj6 months ago
Perfect work!
vkadnor4 months ago
L298N Dual Bridge DC stepper Motor Driver.....is this wireless
tnburrow5 months ago
I cant seem to figure out how to install the program on my android. I pulled the apk file and tried to install it but it said there was a problem with the parsing. How did you guys get it to work?
dbridges45 months ago
Hi. I built this project with an old RC truck. There is a front motor that turns the front wheels left and right and back motor that is supposed to go forward and backward.. The car doesn't drive properly on carpet. Weak motors? or not enough voltage getting to the motors. When it does drive forward it turns left and when it drives backwards it turns right. It doesn't go straight forward or straight back. Any suggestions.
ArtBotHack6 months ago
hello
i use android 4.04 and i have 'Socket failed' error message every time .
I test the bluetooth connection with the Bluetooth Terminal and it's ok
what can i do ??
thanks you for this wonderful tuto
adi-sreyaj6 months ago
HELLO ANYBODY ...............................

PLS HELP ME ..............................
I MADE THE CAR, BUT WHEN I ACCELERATE THE FULL VOLTAGE IS NOT GETTING DELIVERED TO THE MOTOR.........I PROVIDED 12V SUPPLY TO THE MOTOR DRIVER BUT AT THE MOTOR TERMINAL ONLY 2V IS APPEARING............PLS SUGGEST ME A THE SOLUTION
the ground........
adi-sreyaj7 months ago
(removed by author or community request)
So as far as you shorting your connection, make sure all grounds are tight, and also make sure that the arduino or whatever microcontroller you used is not sitting directly on metal. However I am not sure how well you soldered any connections, or if they are soldered at all.. Shoot me a reply with your problem and step-by-step what you have done to get to this point.
bergbrock7 months ago
This was an amazing DIY Guide! I don't think I can thank enough the people who made this project possible. I used an adafruit V1 motorshield, and had to completely revamp the code. If anyone is interested in looking at that code please email me, bbrock@pdx.edu

Also am looking at getting this working with autonomy; my idea is that I would like to use an ultrasonic sensor to detect objects in our way, and autonomously take control over to avoid said objects, then return control to bluetooth
I am very close to doing so, there are minor nuances in the code.

Anyways I hope everyone has as much fun as I did following this project; and if there are any questions you feel are unanswered, shoot me an email and I will try to clear them up for you!

Brock
Portland State University Computer Science Student
jams41 year ago
This is great! Thank you for the fantastic tutorial. Could the Arduino (uno) be controlled with an iPhone as well?
tolik777 (author)  jams41 year ago
Sorry, I don't know. I havn't iPhone
Iphone doesn t have bluetooth connection, but u can try to control the RC with an wireless conection. U will need a wireless bee for arduino
are you retarted?! Of course iPhones have Bluetooth
I dont think this follows the "be nice" rules....
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!