Arduino-Based Smartphone-Controlled Car
Arduino-Based Smartphone-Controlled Car
Robot Car
https://www.electronicsforu.com/electronics-projects/smartphone-arduino-based-robot-car?
fbclid=IwAR1ju549PpiGMhoqGsrV33TXBuPgJwfjCgwW2rVGWE7iG5LqqaVElTwfsrU
Advertisement
Pins 4 through 7 of the Arduino provide controlling signals for the motors. The Arduino
outputs a very small voltage from these pins. So, an additional power supply is required
to produce enough torque for the motors, for which H-Bridge L293D module is used. You
can provide additional 12V power supply to pin 8 (VCC2) of L293D to drive the motors.
Output pins 4 through 7 of Arduino are connected to IN1 through IN4 pins of L293D,
respectively. Ground pins 4, 5, 12 and 13 of L293D are connected to ground pins of the
Arduino. The two 100 RPM geared DC motors (M1 and M2) are directly connected to
output terminals of the L293D.
Mechanical arrangement of the bot or car is completed by attaching two wheels to the
two motor shafts. Army directional wheels should be used on the front side of the car for
moving towards left or right. (Castor wheel was used as the front wheel during testing at
EFY Lab.)
The Arduino Uno can be programmed with the Arduino software (IDE). Switch off the
Bluetooth module or disconnect it from Arduino while burning the asc_car.ino sketch into
the Arduino Uno.
Connect smartphone with HC-05 module. After all the connections and mechanical
arrangements are complete, download Arduino Bluetooth Controller app from Google
Play Store in Android smartphone. There are many similar apps available on Play Store.
This project uses ArduinoRC—an Arduino Bluetooth Controller app developed by
Estacado’s Ltd.
Open the ArduinoRC application in Android smartphone and connect with the HC-05
device by typing ‘1234’ or ‘0000’ as pin for pairing with HC-05.
With a slight tweak in the circuit, you can also use this app to control lights, horns and
music systems by tilting the smartphone in different directions.
Download source code