Bluetooth car

Hello guys...
To make Bluetooth robot you need

        parts                                                                                     buy links

  • Arduino Uno (any arduino works)                                https://amzn.to/2MUYONt
  • Bluetooth modules                                                        https://amzn.to/2AyfN5t
  • l298N motor driver module                                           https://amzn.to/2YE93ey
  • dc gear motor(100rpm) you can use higher rpm           https://amzn.to/2zsI0Km
  • wheels                                                                            https://amzn.to/2zutthk
  • robot body                                                                      https://amzn.to/3fkIXnq
  • battery pack (12v)                                                          https://amzn.to/2MY3Usi
  • LEDs 
Here is some information about L298N motor driver module

The L298 is a Dual Full Bridge driver that can drive up to 2Amps per bridge with supply voltage up to 46V. It can drive two DC motors or one stepper motors, relays, solenoids, etc.
ESP32 with DC Motor - Control Speed and Direction (With images ...
ENABLE A -- This pin is used to control speed of motor A. by keeping jumper in place, motor A is enable that means motor will spin. by removing jumper motor will stop. by applying PWM to this pin we can control speed of motor A.

ENABLE B -- This pin is used to control speed of motor B. by keeping jumper in place, motor B is enable that means motor will spin. by removing jumper motor will stop. by applying PWM to this pin we can control speed of motor B.

INPUT1 AND INPUT2 -- This pins are use to control spinning direction of motor A. One of the pin is HIGH and another is LOW, motor will spin. if Both is HIGH or LOW motor will not spin. To control the direction EN1 is HIGH and EN2 is LOW, in this condition motor will spin in one direction. if EN1 is LOW and EN2 is HIGH motor will spin another direction.

INPUT3 AND INPUT4 -- This pins are use to control spinning direction of motor B. One of the pin is HIGH and another is LOW, motor will spin. if Both is HIGH or LOW motor will not spin. To control the direction EN1 is HIGH and EN2 is LOW, in this condition motor will spin in one direction. if EN1 is LOW and EN2 is HIGH motor will spin another direction.

And other pins are clearly mention in picture.

here is the Schematic Diagram...

here is the link for code
https://github.com/vivek-chauhan7/Bluetooth-Car

Comments

Popular posts from this blog

OLED display interface with Arduino

Binary Clock

timer switch