In this project we will control a DC motor with a smartphone via bluetooth. This project is great to learn more about:
-Interfacing Arduino with your smartphone
you can visit my website for more electronic projects, interesting news and tips.
Check this video to see it working
Step 1: Parts required
1x Bluetooth Module (for example: HC-05)
1x Smartphone (any Android will work)
1x L293D IC
1x DC motor
Step 2: Schematics and common mistakes
-You need to remove the RX and TX cables when you’re uploading the sketch to your Arduino.
-Sometimes people connect the TX from the bluetooth module to the TX of the Arduino… that’s wrong and it won’t work. Make sure you connect it properly, the TX into RX and the RX into the TX.
If the HC-05 Bluetooth Module asks for a password, It's '1234'.
Step 3: Arduino Code
Step 4: Final Product
’0′ – Turns off the DC motor
’1′ – DC motor rotates to right
’2′ – DC motor rotates to left
Check this video to see the circuit in action!
you can visit my website for more electronic projects, interesting news and tips: