• Arduino Bluetooth Car HC-05 or HC-06 1
  • Arduino Bluetooth Car HC-05 or HC-06 2

Arduino Bluetooth Car HC-05 or HC-06

The application allows you to control an Arduino or Raspberry Pi based RC car over Bluetooth. This is done using a Bluetooth enabled Android phone.

***Warning***
Arduino Bluetooth Car does not search for devices by bluetooth. First you have to pair through the settings of your mobile phone.

If you have any problems, you can contact me and I'll help you.
Enjoy

You can use HC-05 or HC-06
Code:
void loop() {
if (bluetooth.available()) { // Checks whether data is comming from the serial port
comando = "";
while (bluetooth.available())
{
char x = bluetooth.read();
comando += x;
}
if (comando == "f")
front();
else if (comando == "e")
left();
else if (comando == "r")
right();
else if (comando == "p")
stopCar();
else if (comando == "b")
back();
else if (comando == "m")
more();

}

Category : Education

Related searches

Reviews (1)

Lon. L. Aug 4, 2020     

Only plays ads