loading

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

Step 1: 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.

<p>i made it. at the end all you got to do is to make a parallel switching from D3 to PWM for right motor and D5 to PWM for left motor. it enables the working of both the motors.</p>
Hey can u pls tell me how did u make it.
<p>Hello all i've made it but the motors are not running :( it is unresponsive to the app!</p>
Same thing is happening with me. I have completed assembling and programming but car's not even moving..
<p>can you tell me which type of motor is preferred for this project? If the attached motor would work???</p>
<p>Yes i'm using the same motors</p>
<p>Hello all I have made it but when I connect it to app it says &quot;socket Failed&quot; and motors won't start i m using uno here is the picture -</p>
<p>Oh thanks for this awesome projects, and to make this samrt robot car, you may need parts from here <a href="http://www.icstation.com/robotsup-c-90.html" rel="nofollow">http://www.icstation.com/robotsup-c-90.html</a> glad to help you and have a nice day</p>
<p>Very nice project! If you're interested, an alternative to the Arduino is the IOIO board. There is an Android library that goes with it, so you can put an Android phone on the RC car and control the car by wirelessly connecting to the phone. Have you heard of Android Based Robotics (ABR)? They have instructions and code. Check it out! http://www.socsci.uci.edu/~jkrichma/ABR/index.html</p>
<p>i made it. at the end all you got to do is to make a parallel switching from D3 to PWM for right motor and D5 to PWM for left motor. it enables the working of both the motors.</p>
<p>i made it. at the end all you got to do is to make a parallel switching from D3 to PWM for right motor and D5 to PWM for left motor. it enables the working of both the motors.</p>
<p>i made it. at the end all you got to do is to make a parallel switching from D3 to PWM for right motor and D5 to PWM for left motor. it enables the working of both the motors.</p>
<p>i dont know where the fault lies, but i did as it was shown.</p><p>Now the thing goes like,</p><p>from arduino nano, the out put are four for the motor driver L298N in which 2--&gt; are for PWM of left and right (D3, D5) and other 2--&gt; are for the direction of motor (D2, D4).</p><p>But at motor driver's end there are six inputs for direction, the clock and anti clockwise direction for and right motors separately in input ((in1, in2) left motor, (in3, in4) right motor) and two for PWM.</p><p>please guide me that how to attach arduino to the motor driver.</p><p>i used the above code but its still not working.</p><p>So it doesnt take any command. Else, it stops when pressed front or back button. </p>
<p>yes but they are used as pwm only if you want a step motor. Here just power the inA and inB motor pin with 5V and should work fine.</p>
<p>actually i did that. but without using pwm sockets, the motor aint running in any direction. </p>
<p>Arduino Robotics Car From Scratch :</p><p><a href="http://www.instructables.com/id/LAB-L293D-ARDUINO-CHIP-BREADBOARD-/?ALLSTEPS" rel="nofollow">http://www.instructables.com/id/LAB-L293D-ARDUINO-...</a></p>
<p>i keep getting the error message &quot;socket failed&quot; on the android device. Pls Help</p>
<p>can u please send the code very urgent , need for a project plss on nikhildhoka8@gmail.com</p>
<p>Motors are not moving .</p><p>Motor driver requires 6 input pins 2 for PWM and 4 for direction control.</p><p>But in this project there are only $ input pins for motor driver 2 PWM and @ direction.</p><p>Here is a link of Motor Driver working principal</p><p><a href="http://www.instructables.com/id/Arduino-Modules-L298N-Dual-H-Bridge-Motor-Controll/?ALLSTEPS" rel="nofollow">http://www.instructables.com/id/Arduino-Modules-L2...</a></p>
<p>exactly, even i faced the same problem. from arduino nano, the out put are four in which 2--&gt; are for PWM of left and right (D3, D5) and other 2--&gt; are for the direction of motor (D2, D4).</p><p>But at motor driver's end there are four inputs for direction, the clock and anti clockwise direction for and right motors separately in input ((in1, in2) left motor, (in3, in4) right motor).</p><p>So it doesnt take any command. else, it stops when pressed front or back button. please help </p>
<p>does anyone have the code with no error to send me pls. koffih81@gmail.com</p>
<p>motor is not running,,, what should i do???</p>
See wires
Hello tolik777.a message &quot;socket failed&quot; appeared on my cxem apps when i tried to control it.what does it mean?please help me.
<p>all are ok.. motors also gating power but not moving</p>
<p> THANK YOU FOR UPLOADING ....I MADE IT WORKING PERFECTLY,NO ERRORS .</p>
<p>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? </p>
<p>Hi, I made a similar project, you can find it here:</p><p>http://www.roboremo.com/rc-car.html</p>
<p>This is the project I need, but could we modify the app with speed regulation?(PWM)</p>
<p>Hi, the RoboRemo app is user configurable, check this: </p><p>http://www.roboremo.com/arduino-bluetooth-rc-car-2.html</p>
<p>Hello.</p><p>How can I modify this project to 1. movement motor and 2. front direction motor?</p><p>Movement motor also with PWM from Android!<br>I have the power PCB, it needs only one pin for FORWARD movement another pin for REVERSE movement and the same for direction.<br>Anibody can help with a project like this?</p><p>The android app in what IDE was created, from where can I download it?</p>
<p>Socket Failed..how can I solve this problem..how can I find my Bluetooth modiul mac address..plzzz tell</p>
<p>plese give me connection between andrino and motor driver </p>
<p>thank you for your information for me, and this your letter i will use for education in my student </p>
<p>Hi soory i've copied the code into the arduino software and when i verificate it, appears this error: Arduino:1.6.5 (Windows 8.1), Placa:&quot;Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)&quot;</p><p>sketch_jul10d.ino: In function 'void loop()':</p><p>sketch_jul10d:62: error: expected ')' before 'AVAILABLE'</p><p>sketch_jul10d.ino: In function 'void Flash_Op(char, uint8_t, uint8_t, uint8_t, uint8_t)':</p><p>sketch_jul10d:173: error: expected '}' at end of input</p><p>expected ')' before 'AVAILABLE'</p><p> This report would have more information with</p><p> &quot;Show verbose output during compilation&quot;</p><p> activala desde Archivo &gt; Preferencias</p><p>someone can help me please</p>
<p>i think this is for arduino mini 328 and not for Mega</p>
Plz tell me which app did u use
<p>Good evening sir. I already downloaded the Android Application but it's not the English version. it's different language. where can I find English version sir? Thank you in advance</p>
<p>i get a socket failed on the cxem app as well, what could be the problem? The LED on my bluetooth module is blinking also. Can the arduino uno and motor driver be on at the same time?</p>
<p>Solution for your &quot;Socket Failed&quot; is:</p><p>Go to setting OR Tap menu button or [. . .] button and press setting. </p><p>then tap MAC address, and enter you Bluetooth Module MAC address (the one which is connected to your arduino)<br>save settings. and you are Ready to go ! </p>
<p>May I know do I still need to load any program to the arduino or it will be loaded once I connect my android to the bluetooth module? Do I need to supply voltage to VCC of the motor driver? and where does D13 connect to? Thanks.</p>
<p>Arduino: 1.6.3 (Windows 7), Board: &quot;Arduino Uno&quot;</p><p>Sketch uses 3,624 bytes (11%) of program storage space. Maximum is 32,256 bytes.</p><p>Global variables use 231 bytes (11%) of dynamic memory, leaving 1,817 bytes for local variables. Maximum is 2,048 bytes.</p><p>avrdude: stk500_recv(): programmer is not responding</p><p>avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa1</p><p>avrdude: stk500_recv(): programmer is not responding</p><p>avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa1</p><p>avrdude: stk500_recv(): programmer is not responding</p><p>avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xa1</p><p>avrdude: stk500_recv(): programmer is not responding</p><p>avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa1</p><p>avrdude: stk500_recv(): programmer is not responding</p><p>avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xa1</p><p>avrdude: stk500_recv(): programmer is not responding</p><p>avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xa1</p><p>avrdude: stk500_recv(): programmer is not responding</p><p>avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa1</p><p>avrdude: stk500_recv(): programmer is not responding</p><p>avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa1</p><p>avrdude: stk500_recv(): programmer is not responding</p><p>avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa1</p><p>avrdude: stk500_recv(): programmer is not responding</p><p>avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xa1</p><p>Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.</p><p> This report would have more information with <br> &quot;Show verbose output during compilation&quot; <br> enabled in File &gt; Preferences.</p>
<p>Try to disconnect the wire TX from the Bluetooth module</p>
<p>thx bro </p><p>can u help me with a recomandation for future work what can i do next using the same equipment</p>
<p>Thank you :) for sharing such a brief tutorial. </p>
<p>what phone app did you use i can't find the cxem app</p>
<p>the download link for the CXEM app is available in last steps. I used the same app that was provided. the only thing I needed, was to put MAC address into this app for SYNC purpose. </p>
<p>The app isn't in the app store</p>

About This Instructable

458,559 views

954 favorites

License:

Bio: I like Electronics, Robots and Arduino!
More by tolik777: Android controlled RC Vehicle with real-time Video via Bluetooth & Wi-Fi CxemCAR 1 - Android Control RC Car over Bluetooth Arduino Ampermeter (ZXCT IC's)
Add instructable to: