RoverBluetooth: Arduino-based Bluetooth Car

by marcocipriani01 in Circuits > Arduino

796 Views, 2 Favorites, 0 Comments

RoverBluetooth: Arduino-based Bluetooth Car

1.jpg
RoverBluetooth: Arduino-based Bluetooth car
logo.png

RoverBluetooth is the name I gave to the Arduino-based Bluetoothcar I made for my school exam when I was only thirteen. I also showed it at Maker Faire Rome with a FabLab (and I was one of the youngest there)! It’s very easy to make (only a few low-cost electronic components and a Meccano pack) and to control, thanks to the Android app I programmed. It features full speed control, reverse gear, an ultrasonic sensor with parking sound and emergency brake, low-latency remote drive and a frontal light.

Project main page

The App

10.png
9.png
7.png
8.png

I originally programmed the app with MIT App Inventor, but then I decided to write it from scratch using Android Studio. If you’re an Android beginner, I would recommend you using the original app (released in the App Inventor gallery), since it’s easier to program and to edit. Otherwise, the newer app can be found on GitHub.

Download MIT App Inventor project and APK

The Chassis

2.jpg
3.jpg
5.jpg
4.jpg

If you want to replicate mine, buy some Meccano packs, take a look at the pictures and start screwing! Pay attention to the steering wheel, that must have a connection to the servo motor, rotate without friction and without unscrewing! The main body shouldn’t flex too much and should be lightweight, while the Meccano motor must have enough reduction gears to be strong.

The Circuit

6.jpg
SCH.png

Parts needed:

  • Bluetooth receiver (I used the BlueSMiRF Silver modem from Sparkfun, but you can also try the classic HC-06, that is cheaper)
  • An Arduino UNO or similar
  • H-bridge (I used a L6203)
  • Ultrasonic sensor
  • Servo motor (strong, with metal gears if possible)
  • Buzzer
  • LED for frontal light
  • 9V battery pack
  • Double-sided matrix board

Note that the servo motor I used needs 6V, so I added an LM317 to the circuit. Feel free to remove it if your servo requires 5V. Be patient, pick a solderer and make your own Arduino shield!

Download Autodesk Eagle 9.3.0 schematic

The Arduino Sketch

The small sketch receives the data, turns on and off the motor and checks the distance from a wall. RoverBluetooth receives data from the Bluetooth modem and associates numbers to commands. For example, “21” is interpreted as “turn off the motor”. Here’s the list:

  • 0-20 → servo motor position
  • 21 → motor off
  • 22 → light on
  • 23 → light off
  • 1000-1255 → motor on, speed
  • 1500-1755 → motor on, reverse gear, speed

Download Arduino Sketch

Enjoy!

Ready to drive the car?