As we all know, Arduino is a micro controller that acts according to the at-mega 328. There are 6 Pwn outputs and 16MHZ resonators. we can perform different types of circuits using the Arduino board. Here I utilize it to design and made a toy car using Arduino Uno. If you are interested in building circuits, hope this will be a good one for you. I'll explain step by step how to do it. Let's get started


ARDUINO UNO BLUETOOTH CONTROLLED TOY CAR
ARDUINO UNO BLUETOOTH CONTROLLED TOY CAR



👉Before start, you need the following items 


Apparatus 

  • Arduino Uno board


Arduino Uno board
Arduino Uno board



  • Bluetooth module (hc-06) 
Bluetooth module (hc-06)
Bluetooth module (hc-06)





  • dc Motor driver(L298N) 

dc Motor driver
dc Motor driver






  • jumper wires


jumper wires
jumper wires



  •   two phone battery 


phone battery
phone battery 



  •  dc motor with gear


dc motor
dc motor



CONNECTION DIAGRAM


CONNECTION DIAGRAM
CONNECTION DIAGRAM




 ARDUINO CODE

 * THIS CODE WORKS FOR L298N MOTOR DRIVER. IF YOU UTILIZE  L293D MOTOR DRIVE cannot USE THIS CODE.

*/

int enA = 10;

int in1 = 12;

int in2 = 8;

int enB = 5;

int in3 = 7;

int in4 = 6;

char val;

void setup() 

/* …..THIS  IS INTRODUCTION half  OF mpower FUNCTION……

  mpower(motor variety,rotation,speed);

  motor variety

  1-1st motor

  2-2nd motor

 

 rotation

  1-forword

  0-stop

  -1-backword


  speed

  0-255 PWNvalue

…………………….*/

void mpower(int motor, int rotation, int spd) 

  else if (motor == 2) 

  else 

  if (rotation == 0) 

  else if (rotation == 1) 

  else if (rotation == -1) 

  analogWrite(pwm, spd);

}

void loop() 

    if (val == '2') 

    if (val == '3') 

    if (val == '4') 

    if (val == 'x') 

  }

  if (val == 'f') 

  if (val == 'a') 

  if (val == 'b') 

   }


NOTE

IF YOU UTILIZE PHONE BATTERY FOR DC PROVIDE UP TO 1500mAh BATTERY AND CONNECT TWO PHONE BATTERY IN SERIES


You can watch the completed Project by clicking here. 

Don't forget to subscribe to our youtube channel. 


If you have any issue regarding this project, you can directly contact us or you can comment on our youtube channel.