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.
1-40 of 95Next »
NOSNEBF19 days ago

This is my first project with arduino , so can anyone please modify the sketch for an RC car where one motor steers the front wheels and the the other motor moves the car forward and reverse?

Hi, I made a similar project, you can find it here:

http://www.roboremo.com/rc-car.html

apravin3 months ago

Can anyone help me by converting the same program in the instructables for arduino nano v3.0. The details of arduino nano v3.0 and motor driver is attached in below post...

Please some one help me.

apravin3 months ago

Can anyone help me by converting the same program in the instructables for arduino nano v3.0. The details of arduino nano v3.0 and motor driver is attached in below post...

Please some one help me.

apravin3 months ago

Can anyone help me by converting the same program in the instructables for arduino nano v3.0. The details of arduino nano v3.0 and motor driver is attached in below post...

Please some one help me.

apravin3 months ago

Can anyone help me by converting the same program in the instructables for arduino nano v3.0. The details of arduino nano v3.0 and motor driver is attached in below post...

Please some one help me.

apravin3 months ago

Can anyone help me by converting the same program in the instructables for arduino nano v3.0. The details of arduino nano v3.0 and motor driver is attached in below post...

Please some one help me.

apravin3 months ago

Can anyone help me by converting the same program in the instructables for arduino nano v3.0. The details of arduino nano v3.0 and motor driver is attached in below post...

Please some one help me.

apravin3 months ago

Hai,


I am working on ,"Simple Rc car controlled over bluetooth", project but the motors are not responding. so i decided to check motors first. But even i am troubling in that. Please help me

The program of arduino to control two Dc motors using L298N or L293D
is given below. I am using Arduino nano V3.0 board. with the below
code i just want to run the motors.
Just i want to check the motor driver is working or not.

The IN1, IN2, IN3 and IN4 are connected to D2, D3, D4 and D5 of my
arduino nano. Does the connections and program match each other? What
else i need to change in the connections or program.

more details of arduino nano V3.0 is in
http://arduino.cc/en/Main/arduinoBoardNano

The schematic of Arduino nano and image of my motor driver is attached with it.

Programe

int IN1=2;//connected to Arduino's port 2
int IN2=3;//connected to Arduino's port 3
int IN3=4;//connected to Arduino's port 4
int IN4=5;//connected to Arduino's port 5
void setup()
{
pinMode(IN1,OUTPUT);
pinMode(IN2,OUTPUT);
pinMode(IN3,OUTPUT);
pinMode(IN4,OUTPUT);
}
void loop()
{
digitalWrite(IN1,LOW);
digitalWrite(IN2,HIGH);//setting motorA's directon
digitalWrite(IN3,HIGH);
digitalWrite(IN4,LOW);//setting motorB's directon
}



--
pravin

20140527_201348.jpg20140527_201152.jpg20140527_201142.jpgScreenshot from 2014-05-28 12:26:49.pngnano.jpgurl.jpeg61wIpoYe+OL.png
apravin3 months ago

Hai...
I have some problem in 'android arduino bot controlled over bluetooth'. I am using motor driver l298n, arduino nano v3.0 and HC-05 BT module. But the motors are not working with the given programe here. Problem in iterfacing motor driver with arduino
My motor driver pictures are attached here
Thank you
Pravin
20140527_201142.jpg20140527_201152.jpg20140527_201348.jpg
Andri08033 months ago

I have problem with my project... The project get error "The blank final field Mhandler may not have been initialized", what should i do? thx..

tristanbratz4 months ago

Really cool.

nezzmuk7 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?

Swagland nezzmuk4 months ago

instead of using a android app what you should do is make an app on an apple/android device. Right now I'm making a car with a whole bunch of sensors and it also has a bluetooth chip onboard so i can connect my iPod to the car and control it. My car will be done in about 1-2 months and i can than show you what i have done. :)

abencomo6 months 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:

SHARQ6 months 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.

SHARQ8 months ago

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

jomet SHARQ6 months ago

I don't think so that you can blueetoth dongle

SHARQ jomet6 months ago

Thanks jomet for your reply

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

But Does Uno use the same coding as the Nano?

fs47 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 fs46 months ago
jomet jomet6 months ago
ddidiano7 months ago

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

pranjaltables8 months ago

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

pranjaltables8 months ago

can i use another version of motor driver?

tolik777 (author)  pranjaltables8 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...
srauniyar9 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-sreyaj11 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 vkadnor9 months ago
grt job dude
tolik777 (author)  adi-sreyaj11 months ago
Perfect work!
vkadnor9 months ago
L298N Dual Bridge DC stepper Motor Driver.....is this wireless
1-40 of 95Next »