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

Поделиться
HTML-код
  • Опубликовано: 2 окт 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

Комментарии • 114

  • @karthikaitha5743
    @karthikaitha5743 Год назад +4

    Forward and backward not working pls send the code

    • @MTechnicalIdeas
      @MTechnicalIdeas  Год назад

      // 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 Год назад

      Pls send af library

    • @karthikaitha5743
      @karthikaitha5743 Год назад

      It's not moving forward even uploading of Libraries

    • @rajeshboddu9277
      @rajeshboddu9277 9 месяцев назад

      Same problem. Help us please it's emergency

  • @souravdas2260
    @souravdas2260 5 месяцев назад +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

  • @factfunda632
    @factfunda632 7 месяцев назад +1

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

  • @ramjeevan8526
    @ramjeevan8526 Год назад +1

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

    • @MTechnicalIdeas
      @MTechnicalIdeas  Год назад

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

  • @jishabenny9183
    @jishabenny9183 2 года назад +2

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

  • @Hindu.sarkar108
    @Hindu.sarkar108 10 месяцев назад +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  10 месяцев назад

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

    • @Hindu.sarkar108
      @Hindu.sarkar108 10 месяцев назад

      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

  • @suwartikwasekar7910
    @suwartikwasekar7910 3 года назад +2

    Make obstacles avoiding+blutooth car

  • @MMohammedMuzammil
    @MMohammedMuzammil Месяц назад

    Give app link

  • @Hindu.sarkar108
    @Hindu.sarkar108 10 месяцев назад +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

    • @MTechnicalIdeas
      @MTechnicalIdeas  10 месяцев назад

      Bluetooth module ka connection sahi se Kiya h na?

    • @Hindu.sarkar108
      @Hindu.sarkar108 10 месяцев назад

      @@MTechnicalIdeas ha bhai plz solution batao Marko jruri han pls

    • @MTechnicalIdeas
      @MTechnicalIdeas  10 месяцев назад

      BT module ka led blink ho rahah?

    • @Hindu.sarkar108
      @Hindu.sarkar108 10 месяцев назад

      @@MTechnicalIdeas nahi ho rehan blink

  • @abdullahalfahad580
    @abdullahalfahad580 2 года назад +1

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

  • @PrakashKumar-ww6ub
    @PrakashKumar-ww6ub 3 месяца назад

    Forward And backward command not working how to solve this issue

  • @yogirajnhawkar4255
    @yogirajnhawkar4255 3 года назад +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  3 года назад

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

  • @vijayalakshmishetty672
    @vijayalakshmishetty672 3 года назад +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

  • @vedantgajre6778
    @vedantgajre6778 3 года назад +1

    which application r u using?

  • @aarongonsalves7418
    @aarongonsalves7418 3 года назад +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  3 года назад

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

    • @MTechnicalIdeas
      @MTechnicalIdeas  3 года назад

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

    • @aarongonsalves7418
      @aarongonsalves7418 3 года назад

      Thk u ma'am 🙏

    • @aarongonsalves7418
      @aarongonsalves7418 3 года назад

      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

  • @shajudeen4554
    @shajudeen4554 3 года назад +1

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

    • @MTechnicalIdeas
      @MTechnicalIdeas  3 года назад

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

  • @tigermediabd
    @tigermediabd 3 года назад +1

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

    • @MTechnicalIdeas
      @MTechnicalIdeas  3 года назад +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.

  • @arunavapattanayak860
    @arunavapattanayak860 3 года назад +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  3 года назад +2

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

    • @arunavapattanayak7024
      @arunavapattanayak7024 3 года назад

      @@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 3 года назад

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

  • @GurdeepAcademy
    @GurdeepAcademy 4 года назад +1

    Good

  • @passant7469
    @passant7469 3 года назад +1

    Which app exactly

  • @ronaksuryawanshi9508
    @ronaksuryawanshi9508 4 года назад +1

    i was just going to make this

  • @takenology2315
    @takenology2315 4 года назад +2

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

  • @gauravnemade9722
    @gauravnemade9722 3 года назад +1

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

  • @RakibulIslam-ye9kp
    @RakibulIslam-ye9kp 2 года назад

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

  • @vighneshdingankar5870
    @vighneshdingankar5870 2 года назад

    Can you give me code the link is not working

  • @samundeeshwarianandhan9057
    @samundeeshwarianandhan9057 3 года назад

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

    • @MTechnicalIdeas
      @MTechnicalIdeas  3 года назад

      Ultrasonic for forward obstacles detection and IR for backward obstacles detection

    • @samundeeshwarianandhan9057
      @samundeeshwarianandhan9057 3 года назад

      @@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 ?

  • @harshexperimentandinventio7958
    @harshexperimentandinventio7958 3 года назад

    mam could I used another motor driver

  • @passant7469
    @passant7469 3 года назад

    How to make install the exact library

    • @MTechnicalIdeas
      @MTechnicalIdeas  3 года назад

      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 3 года назад

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

  • @devyadav2059
    @devyadav2059 Год назад

    yah robot Khud Se Nahin chalta

  • @vijayalakshmishetty672
    @vijayalakshmishetty672 3 года назад

    Can you send me the code

  • @akshatvarshney2115
    @akshatvarshney2115 3 года назад

    Mera model move backward nhi ho rha g

  • @mohitmeda5642
    @mohitmeda5642 3 года назад

    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  3 года назад

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

    • @mohitmeda5642
      @mohitmeda5642 3 года назад

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

    • @MTechnicalIdeas
      @MTechnicalIdeas  3 года назад

      Ok... Have you installed the library files?

    • @mohitmeda5642
      @mohitmeda5642 3 года назад

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

    • @MTechnicalIdeas
      @MTechnicalIdeas  3 года назад

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

  • @themonstersgaming9711
    @themonstersgaming9711 3 года назад

    How much power we should give?

    • @MTechnicalIdeas
      @MTechnicalIdeas  3 года назад

      9 to 12 v
      18650 Li-ion batteries are preferable

    • @themonstersgaming9711
      @themonstersgaming9711 3 года назад

      @@MTechnicalIdeas ok bro

    • @themonstersgaming9711
      @themonstersgaming9711 3 года назад

      But u gave 7.4

    • @themonstersgaming9711
      @themonstersgaming9711 3 года назад

      3.7×2

    • @MTechnicalIdeas
      @MTechnicalIdeas  3 года назад

      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

  • @rathi4u
    @rathi4u Год назад

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

    • @MTechnicalIdeas
      @MTechnicalIdeas  Год назад

      What's the exact problem

    • @rathi4u
      @rathi4u Год назад

      Vo connect ho rahi hai par chal nahi ri

    • @rathi4u
      @rathi4u Год назад

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

    • @rathi4u
      @rathi4u Год назад

      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 Год назад

      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

  • @technicalmd975
    @technicalmd975 3 года назад

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

  • @ektakumari6892
    @ektakumari6892 3 года назад

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

  • @pendoexplorapkstudios6137
    @pendoexplorapkstudios6137 2 года назад

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

  • @MMohammedMuzammil
    @MMohammedMuzammil Месяц назад

    Give app link

  • @jayaprakashgoudapatil5451
    @jayaprakashgoudapatil5451 2 года назад

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