App for controlling the Bluetooth car. The code,circuit diagram and construction of it is in http://lovelyideas.in/arduino.html
code :
int inByte;
void setup()
{
Serial.begin(9600);
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);
}
void loop()
{
if (Serial.available() > 0)
{
inByte = Serial.read();
switch (inByte)
{
case '1':
digitalWrite(9, LOW);
digitalWrite(10, HIGH);
digitalWrite(11, LOW);
digitalWrite(12, HIGH);
Serial.println("FRONT");
break;
case '2':
digitalWrite(9, HIGH);
digitalWrite(10, LOW);
digitalWrite(11, HIGH);
digitalWrite(12, LOW);
Serial.println("BACK");
break;
case '3':
digitalWrite(9, LOW);
digitalWrite(10, LOW);
digitalWrite(11, LOW);
digitalWrite(12, HIGH);
Serial.println("LEFT");
break;
case '4':
digitalWrite(9, LOW);
digitalWrite(10, HIGH);
digitalWrite(11, LOW);
digitalWrite(12, LOW);
Serial.println("RIGHT");
break;
case '5':
digitalWrite(9, LOW);
digitalWrite(10, LOW);
digitalWrite(11, LOW);
digitalWrite(12, LOW);
Serial.println("STOP");
break;
}
}}
This version of Lovely Remote Car Android App comes with one universal variant which will work on all the Android devices.
If you are looking to download other versions of Lovely Remote Car Android App, We have 1 version in our database. Please select one of them below to download.