How to Make Bluetooth Controlled Car using Arduino !!

Sdílet
Vložit
  • čas přidán 12. 09. 2024
  • Hello everyone, in this video I have explained about how to make a Bluetooth controlled car using Arduino. I have used L293D motor shield. You can also use L298N motor driver module if motor shield is not available.
    App - Bluetooth RC Controller (PlayStore)
    Components List-
    1) Arduino uno - amzn.to/3QGhzpm
    2) Motor shield - amzn.to/47bzHgi
    3) L298N module - amzn.to/46QznUo
    3) Hc-05 Bluetooth module - amzn.to/3FCWpSS
    4) Li-ion battery - amzn.to/3seT7SK
    5) Battery holder - amzn.to/3s8E118
    6) Wheels(4x)and DC Motor - amzn.to/3FEgsA6
    8) Acrylic Sheet - (Offline Store)
    9) Male-Female Jumper wire - amzn.to/49fJdkm
    10) DC Power Switch - amzn.to/46WqFUI
    Video gear
    camera : amzn.to/3Tb5EBR
    camera stand : amzn.to/3RcwWGy
    mic: amzn.to/3sNOEGY
    ------------------------------------------------------
    Code is uploaded on the telegram channel :- (t.me/robo301)
    ------------------------------------------------------
    Thanks for watching this Video. If you like this video then hit the LIKE button, share it and also make sure you don't forget to subscribe my channel.
    ---------------------------------------------------
    🎵 Background Music:
    Song: Sexy Fashion Beats (No Copyright Sounds)
    Music provided by NCM [No Copyright Music].
    Creative Commons - Attribution 3.0 Unported | Attribution 4.0 International
    Video Link: • Sexy Fashion Beats [NO...
    Song: Atch - Daydream
    Music provided by Vlog No Copyright Music.
    Creative Commons - Attribution-ShareAlike 3.0 Unported
    Video Link - • Atch - Daydream (Vlog ...
    Agdal - Soyb / soybmusic
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/agdal-soyb
    Music promoted by Audio Library - • Agdal - Soyb (No Copyr...
    chill. by sakura Hz / sakurahertz
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/chill-sa...
    Music promoted by Audio Library - • Chill - sakura Hz (No ...
    ► Music Credit: LAKEY INSPIRED
    Track Name: "Blue Boi"
    Music By: LAKEY INSPIRED @ / lakeyinspired
    Original upload HERE - • LAKEY INSPIRED - Blue Boi
    Official "LAKEY INSPIRED" CZcams Channel HERE - / @lakeyinspired
    License for commercial use: Creative Commons Attribution 3.0 Unported "Share Alike" (CC BY-SA 3.0) License.
    Full License HERE - creativecommon...
    Music promoted by NCM goo.gl/fh3rEJ
    ---------------------------------------------------
    #diyprojects #robot #electronic #smartcars

Komentáře • 34

  • @luongson2845
    @luongson2845 Před rokem

    Can you give me the code please. I can not access

    • @prateekverma22
      @prateekverma22  Před rokem +1

      //Bluetooth Controlled Car
      //Install Adafruit Motor Shield library before uploading the code
      //Disconnect the Bluetooth Module before hiting the upload button otherwise you'll get compilation error message.
      #include
      //initial motors pin
      AF_DCMotor motor1(1, MOTOR12_1KHZ);
      AF_DCMotor motor2(2, MOTOR12_1KHZ);
      AF_DCMotor motor3(3, MOTOR34_1KHZ);
      AF_DCMotor motor4(4, MOTOR34_1KHZ);
      char value;
      void setup()
      {
      Serial.begin(9600); //Set the baud rate to your Bluetooth module.
      }
      void loop(){
      if (Serial.available() > 0) {
      value = Serial.read();
      Serial.println(value);
      }
      if (value == 'F') {
      forward();
      } else if (value == 'B') {
      back();
      } else if (value == 'L') {
      left();
      } else if (value == 'R') {
      right();
      } else if (value == 'S') {
      Stop();
      }
      }
      void forward()
      {
      motor1.setSpeed(255); //Define maximum velocity
      motor1.run(FORWARD); //rotate the motor clockwise
      motor2.setSpeed(255); //Define maximum velocity
      motor2.run(FORWARD); //rotate the motor clockwise
      motor3.setSpeed(255);//Define maximum velocity
      motor3.run(FORWARD); //rotate the motor clockwise
      motor4.setSpeed(255);//Define maximum velocity
      motor4.run(FORWARD); //rotate the motor clockwise
      }
      void back()
      {
      motor1.setSpeed(255); //Define maximum velocity
      motor1.run(BACKWARD); //rotate the motor anti-clockwise
      motor2.setSpeed(255); //Define maximum velocity
      motor2.run(BACKWARD); //rotate the motor anti-clockwise
      motor3.setSpeed(255); //Define maximum velocity
      motor3.run(BACKWARD); //rotate the motor anti-clockwise
      motor4.setSpeed(255); //Define maximum velocity
      motor4.run(BACKWARD); //rotate the motor anti-clockwise
      }
      void left()
      {
      motor1.setSpeed(255); //Define maximum velocity
      motor1.run(BACKWARD); //rotate the motor anti-clockwise
      motor2.setSpeed(255); //Define maximum velocity
      motor2.run(BACKWARD); //rotate the motor anti-clockwise
      motor3.setSpeed(255); //Define maximum velocity
      motor3.run(FORWARD); //rotate the motor clockwise
      motor4.setSpeed(255); //Define maximum velocity
      motor4.run(FORWARD); //rotate the motor clockwise
      }
      void right()
      {
      motor1.setSpeed(255); //Define maximum velocity
      motor1.run(FORWARD); //rotate the motor clockwise
      motor2.setSpeed(255); //Define maximum velocity
      motor2.run(FORWARD); //rotate the motor clockwise
      motor3.setSpeed(255); //Define maximum velocity
      motor3.run(BACKWARD); //rotate the motor anti-clockwise
      motor4.setSpeed(255); //Define maximum velocity
      motor4.run(BACKWARD); //rotate the motor anti-clockwise
      }
      void Stop()
      {
      motor1.setSpeed(0); //Define minimum velocity
      motor1.run(RELEASE); //stop the motor when release the button
      motor2.setSpeed(0); //Define minimum velocity
      motor2.run(RELEASE); //rotate the motor clockwise
      motor3.setSpeed(0); //Define minimum velocity
      motor3.run(RELEASE); //stop the motor when release the button
      motor4.setSpeed(0); //Define minimum velocity
      motor4.run(RELEASE); //stop the motor when release the button
      }

    • @komaliyadrapu8436
      @komaliyadrapu8436 Před 8 měsíci

      ​@@prateekverma22which app should we enter the code

    • @Aryan..236
      @Aryan..236 Před měsícem

      @@komaliyadrapu8436 Arduino ide

  • @uttampilania8212
    @uttampilania8212 Před rokem +1

    Fabulous work parteek ❤

  • @mmohankrishna8957
    @mmohankrishna8957 Před rokem

    awesome bhai proud of you bro! 😍😍😌😌🙌

  • @vipul9913
    @vipul9913 Před rokem

    Really amazing and knowledgeable videos

  • @Deepanshu__1011
    @Deepanshu__1011 Před rokem

    Badiya bhai 💥🔥🤩🤩

  • @AmandeepSingh-cs3we
    @AmandeepSingh-cs3we Před rokem

    Nice bro🔥🔥

  • @samarthpawar-od4em
    @samarthpawar-od4em Před rokem +1

    Bro while fitting in Bluetooth txd wire was grey and while fitting in motor sheild it became purple one and same opposite with purple pls clear me the connection THANK YOU🫡

  • @VikashJatav-fr2nb
    @VikashJatav-fr2nb Před rokem

    Sir ji osm

  • @rosysharma6525
    @rosysharma6525 Před rokem

    Good going

  • @rohanrana4956
    @rohanrana4956 Před rokem

    🔥🔥🔥

  • @samarthpawar-od4em
    @samarthpawar-od4em Před rokem

    Link for placing code or we have to use that who all are using in arduino.

  • @jayantsingh7527
    @jayantsingh7527 Před rokem

    🔥♥️😘👑

  • @vasuaggarwal1965
    @vasuaggarwal1965 Před rokem

    ❤❤

  • @samarthpawar-od4em
    @samarthpawar-od4em Před rokem +1

    Bro while fitting in Bluetooth txd wire was grey and while fitting in motor sheild it became purple one and same opposite with purple pls clear me the connection THANK YOU🫡 pls share connection one more time in comment

    • @sunroomz220
      @sunroomz220 Před 9 měsíci

      RX and TX of the bluetooth go in the opposite pins of the arduino so put the tx of the bluetooth into the arduinos rx pin or solder it to the top of the motorshield on that pin and the same with the other

  • @i35_rizwankhan14
    @i35_rizwankhan14 Před rokem

    Ek number 🤌

  • @praneethshetty5622
    @praneethshetty5622 Před rokem

    Code is not working

  • @harikrishnabandi9617
    @harikrishnabandi9617 Před rokem

    Bro please make human follow robot car bro please with code in description please bro

  • @VikashJatav-fr2nb
    @VikashJatav-fr2nb Před rokem

    M Maruti Suzuki walo ko project dena hai sir please

  • @samarthpawar-od4em
    @samarthpawar-od4em Před rokem

    Sheet size pls tell

  • @praneethshetty5622
    @praneethshetty5622 Před rokem

    Code sir plz

  • @praneethshetty5622
    @praneethshetty5622 Před rokem

    Telegram is error showing

  • @nathanielg1283
    @nathanielg1283 Před rokem

    *Promo SM* 😔

  • @VikashJatav-fr2nb
    @VikashJatav-fr2nb Před rokem

    Please sir

  • @BhagvanKadam-yd6nl
    @BhagvanKadam-yd6nl Před 5 měsíci

    Give the code