Arduino Obstacle Avoidance + Voice Control Robot || DIY Arduino Robot Car

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • PCBWay PCB Service www.pcbway.com/
    PCBWay PCBA Service www.pcbway.com...
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------
    Thanks For Watching
    ✅LIKE ✅SHARE ✅ COMMENTS ✅ SUBSCRIBE
    In this video, I have made an ARDUINO obstacle avoiding + voice-controlled robot.
    This robot will move by following your voice commands and stops automatically if any obstacle detected into the path of movement.
    I have used one ultrasonic sensor to detect the obstacle in front of the robot car and IR sensor to detect the obstacle behind the robot.
    this robot will receive the voice command through the BlueTooth module.
    Credit :- Surajit Mandal
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    SUBSCRIBE...It is FREE
    / mideasmonalisapaul
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------
    LIST OF COMPONENTS
    Arduino UNO amzn.to/2E47csv
    BO Motors & Wheels amzn.to/2DEIK1j
    L293D Motor Driver amzn.to/2XRxu8D
    Ultrasonic sensor amzn.to/2YIavgw
    IR Sensor amzn.to/32NnK0X
    Bluetooth Module amzn.to/3gwEFti
    Jumper Wires amzn.to/3gSZ3FT
    10650 Battery amzn.to/2E2onKZ
    Battery Holder amzn.to/3fWKkZg
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    OTHER NECESSARY equipment
    Soldering Iron amzn.to/30TNf0F
    Glue Gun amzn.to/2PUTTxb
    Double side Tap amzn.to/33UUt6t
    Sun-board amzn.to/30UKbBz
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------
    ARDUINO CODE drive.google.c...
    CIRCUIT DIAGRAM drive.google.c...
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------
    MY SOCIAL SITES
    Mail ID mideas.monalisa@gmail.com
    FB Page / mideasmonalisapaul
    Instagram www.instagram....
    Twitter / monalisa840
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------
    BACKGROUND MUSIC CREDIT
    MUSIC NAME mixkit-dreaming-big-31
    mixkit.co/free...
    MUSIC NAME mixkit-delightful-4
    mixkit.co/free...
    mixkit-cat-walk-371
    mixkit.co/free...
    mixkit-bridge-n-98-621
    mixkit.co/free...
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------
    #arduinovoicecontrolledw+obstacleavoidingrobot
    #SMARTARDUINOROBOT
    #HOWTOMAKEROBOT
    #DIYROBOTS
    #ARDUINOPROJECTS
    #ELECTRONICSPROJECTS

Komentáře • 111

  • @karthikaitha5743
    @karthikaitha5743 Před rokem +4

    Forward and backward not working pls send the code

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před rokem

      // Arduino Obstacle Avoidance + Voice Control Robot
      // Created by M Ideas
      //You need to install the AFMotor and NewPing Libraries before uplodaing the sketch
      #include
      #include
      #include
      #define TRIGGER_PIN A1
      #define ECHO_PIN A0
      #define MAX_DISTANCE 300
      #define IR A5
      AF_DCMotor motor1(1, MOTOR12_1KHZ);
      AF_DCMotor motor2(2, MOTOR12_1KHZ);
      AF_DCMotor motor3(3, MOTOR34_1KHZ);
      AF_DCMotor motor4(4, MOTOR34_1KHZ);
      NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE);
      Servo myservo;
      String voice;
      void setup() {
      Serial.begin(9600);
      myservo.attach(10);
      myservo.write(90);
      pinMode(IR, INPUT);
      }
      void loop() {
      int distance = sonar.ping_cm();
      //int IR1 = digitalRead(IR);
      //Serial.println(IR1);
      if(Serial.available()>0) {
      voice="";
      delay(2);
      voice = Serial.readString();
      delay(2);
      Serial.println(voice);
      if (voice == "turn left") {
      left();
      }else if (voice == "left") {
      left();
      }else if(voice == "turn right") {
      right();
      }else if(voice == "right") {
      right();
      }
      }
      while(voice == "move forward") {
      forward();
      }
      while(voice == "move backward") {
      backward();
      }
      }
      void forward() {
      int distance = sonar.ping_cm();
      if(distance < 10){
      Stop();
      voice="";
      }else {
      motor1.setSpeed(255);
      motor1.run(FORWARD);
      motor2.setSpeed(255);
      motor2.run(FORWARD);
      motor3.setSpeed(255);
      motor3.run(FORWARD);
      motor4.setSpeed(255);
      motor4.run(FORWARD);
      }
      }
      void backward() {
      int IR_Sensor = digitalRead(IR);
      if(IR_Sensor == 0) {
      Stop();
      voice="";
      }else {
      motor1.setSpeed(255);
      motor1.run(BACKWARD);
      motor2.setSpeed(255);
      motor2.run(BACKWARD);
      motor3.setSpeed(255);
      motor3.run(BACKWARD);
      motor4.setSpeed(255);
      motor4.run(BACKWARD);
      }
      }
      void left() {
      myservo.write(180);
      delay(500);
      myservo.write(90);
      delay(500);
      motor1.run(BACKWARD);
      motor1.setSpeed(255);
      motor2.run(BACKWARD);
      motor2.setSpeed(255);
      motor3.run(FORWARD);
      motor3.setSpeed(255);
      motor4.run(FORWARD);
      motor4.setSpeed(255);
      delay(700);
      motor1.run(RELEASE);
      motor2.run(RELEASE);
      motor3.run(RELEASE);
      motor4.run(RELEASE);
      }
      void right() {
      myservo.write(0);
      delay(500);
      myservo.write(90);
      delay(500);
      motor1.run(FORWARD);
      motor1.setSpeed(255);
      motor2.run(FORWARD);
      motor2.setSpeed(255);
      motor3.run(BACKWARD);
      motor3.setSpeed(255);
      motor4.run(BACKWARD);
      motor4.setSpeed(255);
      delay(700);
      motor1.run(RELEASE);
      motor2.run(RELEASE);
      motor3.run(RELEASE);
      motor4.run(RELEASE);
      }
      void Stop() {
      motor1.run(RELEASE);
      motor2.run(RELEASE);
      motor3.run(RELEASE);
      motor4.run(RELEASE);
      }

    • @karthikaitha5743
      @karthikaitha5743 Před rokem

      Pls send af library

    • @karthikaitha5743
      @karthikaitha5743 Před rokem

      It's not moving forward even uploading of Libraries

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

      Same problem. Help us please it's emergency

  • @factfunda632
    @factfunda632 Před 5 měsíci +1

    Bro the file is not open in my phone help please or send me this code😢😢

  • @jishabenny9183
    @jishabenny9183 Před 2 lety +2

    Can I use Arduino UNO R3 SMD Atmega328P Board - Clone Compatible Model ,plz reply

  • @GurdeepAcademy
    @GurdeepAcademy Před 4 lety +1

    Good

  • @takenology2315
    @takenology2315 Před 4 lety +2

    Wow...i was just going to make this...

  • @ramjeevan8526
    @ramjeevan8526 Před rokem +1

    I done everything properly all connections are properly fix but my project is not working please help me

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před rokem

      What's the problem that you are facing with your project?

  • @suwartikwasekar7910
    @suwartikwasekar7910 Před 2 lety +2

    Make obstacles avoiding+blutooth car

  • @Hindu.sarkar108
    @Hindu.sarkar108 Před 9 měsíci +1

    Sir mare Bluetooth module on nahi hota or arduino ko PowerBank or computer se coonect karta hu tab on hota han or only left or right command Dene per servo motor gumhte ha or go ya back se kuch nahi hoya pls solution batao pls

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

      This is kind of power problem...this happens when you provide low voltage

    • @Hindu.sarkar108
      @Hindu.sarkar108 Před 9 měsíci

      bro ma 2 battery 3.7 V or 4batery 1.5 V ki or 9 V ki batter ko 1 sath coonect Kiya Fer bhi bulb on hota ha arduino ka Bluetooth module on nahi hota plz help

  • @abdullahalfahad580
    @abdullahalfahad580 Před 2 lety +1

    Will it work if I use HC-06 Bt Module plzzzz replay

  • @aarongonsalves7418
    @aarongonsalves7418 Před 3 lety +1

    Excuse me ma'am can u tell me which is app use in the video because didn't get it in playstore pls help🙏🙏🙏

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      drive.google.com/file/d/1xkiM3GqHRDYxyqz5ztFWlB-ux6jLU944/view

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      play.google.com/store/apps/details?id=robotspace.simplelabs.amr_voice

    • @aarongonsalves7418
      @aarongonsalves7418 Před 3 lety

      Thk u ma'am 🙏

    • @aarongonsalves7418
      @aarongonsalves7418 Před 3 lety

      I connected in the same way as the circuit diagram but sir no movement, i have used 3.7V (2 Lithium Ion) battery as shown in the diagram, sir may you pls help

  • @Hindu.sarkar108
    @Hindu.sarkar108 Před 9 měsíci +1

    bro ma 2 battery 3.7 V or 4batery 1.5 V ki or 9 V ki batter ko 1 sath coonect Kiya Fer bhi bulb on hota ha arduino ka Bluetooth module on nahi hota plz help

  • @yogirajnhawkar4255
    @yogirajnhawkar4255 Před 3 lety +1

    can u help me i do the same project do the same as u said in video but my robot is not moving forward nd backward it can only turn

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      Check the connection again... Reupload the code...
      Need to apply proper voltage that is in between 9 to 12 v

  • @vedantgajre6778
    @vedantgajre6778 Před 3 lety +1

    which application r u using?

  • @vijayalakshmishetty672
    @vijayalakshmishetty672 Před 3 lety +1

    Bro when I give power to the motor shild . Only a green light is been seen and no other light like Adriano light, Bluetooth module light is been seen . Can you please help me as I am doing it for my school project. Quick response please

  • @arunavapattanayak860
    @arunavapattanayak860 Před 3 lety +1

    I made all connections, uploaded the code. HC05 is detected. However, no movement. Only 'right' or 'left' command works once, the servo moves, wheels show a little movement and there is no further response to any command. Kindly help.

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety +2

      Have to gave more than 9v input?
      Did you set the ir module properly?

    • @arunavapattanayak7024
      @arunavapattanayak7024 Před 3 lety

      @@MTechnicalIdeas Thank you for the reply. IR module is fine, responding (on board light) to proximity. I applied 9.5V (about 0.5amp). It seems there is a problem in the voltage divider used for the bluetooth module.

    • @arunavapattanayak7024
      @arunavapattanayak7024 Před 3 lety

      I am sorry, I think it needs a voltage divider for the RX pin of HC05 because this pin is 3.7v

  • @gauravnemade9722
    @gauravnemade9722 Před 3 lety +1

    I want to use l298n insted of l293d so can you tell me the pin number of motors and ultronic

  • @ronaksuryawanshi9508
    @ronaksuryawanshi9508 Před 3 lety +1

    i was just going to make this

  • @passant7469
    @passant7469 Před 3 lety +1

    Which app exactly

  • @souravdas2260
    @souravdas2260 Před 3 měsíci +1

    if(voice == "move forward") {
    forward();
    }
    if(voice == "move backward") {
    backward();
    }
    Use this code... For working properly Backward and forward..
    Here she using while thats why not working.. Kindly use this command 100% work it

  • @PrakashKumar-ww6ub
    @PrakashKumar-ww6ub Před 2 měsíci

    Forward And backward command not working how to solve this issue

  • @tigermediabd
    @tigermediabd Před 3 lety +1

    Could you please give me the code without IR Sensor and for 2 wheels???

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety +1

      i have used the IR sensor to detect the object behind the robot... if you are not going to use it then how do your robot run properly?
      anyway... no need for another code... robot will run with two motors too with the same code.

  • @shajudeen4554
    @shajudeen4554 Před 3 lety +1

    Can you upload the link to download arduino bluetooth controller app ?

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      drive.google.com/file/d/1xkiM3GqHRDYxyqz5ztFWlB-ux6jLU944/view

  • @samundeeshwarianandhan9057

    why ir sensor is using here ...u already ultrasonic used for obstacle detection

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      Ultrasonic for forward obstacles detection and IR for backward obstacles detection

    • @samundeeshwarianandhan9057
      @samundeeshwarianandhan9057 Před 3 lety

      @@MTechnicalIdeas Bro i used HY-SRF05 sensor and connected with arduino for checking, it shows 0cm detection or no pulse from sensor. what can i do ?

  • @technicalmd975
    @technicalmd975 Před 3 lety

    Halo when i opened your given link code its not available saying 🙏plz help

  • @akshatvarshney2115
    @akshatvarshney2115 Před 3 lety

    Mera model move backward nhi ho rha g

  • @pendoexplorapkstudios6137

    Mam my forward command is not working please help 🙏🙏🙏

  • @themonstersgaming9711
    @themonstersgaming9711 Před 3 lety

    How much power we should give?

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      9 to 12 v
      18650 Li-ion batteries are preferable

    • @themonstersgaming9711
      @themonstersgaming9711 Před 3 lety

      @@MTechnicalIdeas ok bro

    • @themonstersgaming9711
      @themonstersgaming9711 Před 3 lety

      But u gave 7.4

    • @themonstersgaming9711
      @themonstersgaming9711 Před 3 lety

      3.7×2

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      Li-ion batteries are actually heavy-duty battery... 7.4 is alson enough... But some of my viewers have faces power problem with 7.4volt...after increase the voltage, their project worked out properly... That's why i suggest everyone to apply 9-12v

  • @harshexperimentandinventio7958

    mam could I used another motor driver

  • @passant7469
    @passant7469 Před 3 lety

    How to make install the exact library

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      Go to manage Library option on your Arduino software... Then search for the library you need and download them... They will be auto-installed

    • @passant7469
      @passant7469 Před 3 lety

      @@MTechnicalIdeas I find the library but the code isnt opening I want it as soon as possible even if copy paste

  • @mohitmeda5642
    @mohitmeda5642 Před 3 lety

    Sir I am facing some issues regarding code
    Code is not getting open
    Showing some directory issue
    Can you please help me out.

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      Have you downloaded it?
      Preview of this code is not available

    • @mohitmeda5642
      @mohitmeda5642 Před 3 lety

      @@MTechnicalIdeas yes I tried to open with the Arduino ide but it was showing that no directory available

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      Ok... Have you installed the library files?

    • @mohitmeda5642
      @mohitmeda5642 Před 3 lety

      @@MTechnicalIdeas no
      Can you tell me how to install the library

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před 3 lety

      Go to manage library on your Arduino software.... Then download the library files

  • @rathi4u
    @rathi4u Před rokem

    Ma'am Maine ye banaya par ye work nahi kara 3 battery lagayi jab bhi nahi chali please help me

    • @MTechnicalIdeas
      @MTechnicalIdeas  Před rokem

      What's the exact problem

    • @rathi4u
      @rathi4u Před rokem

      Vo connect ho rahi hai par chal nahi ri

    • @rathi4u
      @rathi4u Před rokem

      Pleased ma'am help me Maine re program bhi Kara jab bhi nahi chala

    • @rathi4u
      @rathi4u Před rokem

      Ma'am the connections are exactly same but it's not working it says that the code has been sent and nothing moment is happend

    • @rathi4u
      @rathi4u Před rokem

      I think It sent command from mobile application but the hc05 Bluetooth module didn't receive how can I check it ma'am it my school project please help me

  • @vighneshdingankar5870
    @vighneshdingankar5870 Před 2 lety

    Can you give me code the link is not working

  • @RakibulIslam-ye9kp
    @RakibulIslam-ye9kp Před 2 lety

    Code link is not working. Please give me the code below

  • @jayaprakashgoudapatil5451

    Mam code is not opening
    Can u send me a code once again

  • @ektakumari6892
    @ektakumari6892 Před 3 lety

    From where do made circuit diagram. Can you plz provide the link of that software .

  • @devyadav2059
    @devyadav2059 Před rokem

    yah robot Khud Se Nahin chalta

  • @vijayalakshmishetty672

    Can you send me the code