#Robotcar

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

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

  • @VijayKumar-dw7gt
    @VijayKumar-dw7gt 2 года назад +17

    very nice explanation

    • @technicalmaanrawat5269
      @technicalmaanrawat5269  2 года назад +19

      // Before uploading the code you have to install the necessary library//
      //AFMotor Library learn.adafruit.com/adafruit-motor-shield/library-install //
      //NewPing Library github.com/eliteio/Arduino_New_Ping.git //
      //Servo Library github.com/arduino-libraries/Servo.git //
      #include
      #include
      #include
      #define TRIG_PIN A0
      #define ECHO_PIN A1
      #define MAX_DISTANCE 100
      #define MAX_SPEED 150 // sets speed of DC motors
      #define MAX_SPEED_OFFSET 20
      NewPing sonar(TRIG_PIN, ECHO_PIN, MAX_DISTANCE);
      AF_DCMotor motor1(1, MOTOR12_64KHZ);
      AF_DCMotor motor2(2, MOTOR12_64KHZ);
      AF_DCMotor motor3(3, MOTOR34_64KHZ);
      AF_DCMotor motor4(4, MOTOR34_64KHZ);
      Servo myservo;
      boolean goesForward=false;
      int distance = 100;
      int speedSet = 0;
      void setup() {
      myservo.attach(10);
      myservo.write(115);
      delay(2000);
      distance = readPing();
      delay(100);
      distance = readPing();
      delay(100);
      distance = readPing();
      delay(100);
      distance = readPing();
      delay(100);
      }
      void loop() {
      int distanceR = 0;
      int distanceL = 0;
      delay(40);
      if(distance=distanceL)
      {
      turnRight();
      moveStop();
      }
      else
      {
      turnLeft();
      moveStop();
      }
      }
      else
      {
      moveForward();
      }
      distance = readPing();
      }
      int lookRight()
      {
      myservo.write(50);
      delay(500);
      int distance = readPing();
      delay(100);
      myservo.write(115);
      return distance;
      }
      int lookLeft()
      {
      myservo.write(170);
      delay(500);
      int distance = readPing();
      delay(100);
      myservo.write(115);
      return distance;
      delay(100);
      }
      int readPing() {
      delay(100);
      int cm = sonar.ping_cm();
      if(cm==0)
      {
      cm = 250;
      }
      return cm;
      }
      void moveStop() {
      motor1.run(RELEASE);
      motor2.run(RELEASE);
      motor3.run(RELEASE);
      motor4.run(RELEASE);
      }
      void moveForward() {
      if(!goesForward)
      {
      goesForward=true;
      motor1.run(FORWARD);
      motor2.run(FORWARD);
      motor3.run(FORWARD);
      motor4.run(FORWARD);
      for (speedSet = 0; speedSet < MAX_SPEED; speedSet +=2) // slowly bring the speed up to avoid loading down the batteries too quickly
      {
      motor1.setSpeed(speedSet);
      motor2.setSpeed(speedSet);
      motor3.setSpeed(speedSet);
      motor4.setSpeed(speedSet);
      delay(5);
      }
      }
      }
      void moveBackward() {
      goesForward=false;
      motor1.run(BACKWARD);
      motor2.run(BACKWARD);
      motor3.run(BACKWARD);
      motor4.run(BACKWARD);
      for (speedSet = 0; speedSet < MAX_SPEED; speedSet +=2) // slowly bring the speed up to avoid loading down the batteries too quickly
      {
      motor1.setSpeed(speedSet);
      motor2.setSpeed(speedSet);
      motor3.setSpeed(speedSet);
      motor4.setSpeed(speedSet);
      delay(5);
      }
      }
      void turnRight() {
      motor1.run(FORWARD);
      motor2.run(FORWARD);
      motor3.run(BACKWARD);
      motor4.run(BACKWARD);
      delay(500);
      motor1.run(FORWARD);
      motor2.run(FORWARD);
      motor3.run(FORWARD);
      motor4.run(FORWARD);
      }
      void turnLeft() {
      motor1.run(BACKWARD);
      motor2.run(BACKWARD);
      motor3.run(FORWARD);
      motor4.run(FORWARD);
      delay(500);
      motor1.run(FORWARD);
      motor2.run(FORWARD);
      motor3.run(FORWARD);
      motor4.run(FORWARD);
      }

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

      Bro mujhe code chaiye
      Plz dedo

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

      @@technicalmaanrawat5269
      Ye program alag hai sir jo aap use kiye Hai video me
      Aaisa kyu sir

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

      ​@@technicalmaanrawat5269 This is that code

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

      This is that code

  • @neetuoberoi6255
    @neetuoberoi6255 3 года назад +3

    good sharing dear
    amazing video...
    always likes ur video keep it up

  • @sanyuktakulkarni4463
    @sanyuktakulkarni4463 3 года назад +10

    It has really helped me complete my project. Thanks.

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

    Very beautiful n creative work...keep sharing more interesting videos

  • @niranjankandikatla1521
    @niranjankandikatla1521 Год назад +2

    thank you bro you were the who helped me finnaly

  • @PriyankaJain-sk4ei
    @PriyankaJain-sk4ei 3 года назад +2

    U r very talented person ....u make this easily at home

  • @rythmyn3696
    @rythmyn3696 3 года назад +9

    Done with such an perfection......these is really treat to see

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

    wow it is really amazing diy robot car ...i will try this for my niece

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

    wow great... u r very creative have logical mind....keep it up

  • @DoliRoy-u6r
    @DoliRoy-u6r 9 месяцев назад +1

    Thanks 🙏🙏🙏❤❤❤

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

    Khup chan car banvli tumhi

  • @swap20247
    @swap20247 2 года назад +7

    Is it mandatory for me to connect the stepper motor driver to use the ultrasonic sensor or I can use a remote control cars mother board? To replace the stepper motor driver?

  • @anjalithakur5529
    @anjalithakur5529 5 месяцев назад

    THANKS A LOT
    May god bless you and your family

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

    बहुत सुन्दर प्रस्तुति

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

    u r way too creative and intelligent

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

    Oho very gud will try this weekend

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

    always love to watch your creative video .. like this robot car

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

    This is beautiful piece of diy project

  • @MamtaDevi-sr5se
    @MamtaDevi-sr5se 3 года назад +1

    amazing project superb idea

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

    well done, amazing creativity

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

    You are so creative 👍👍👍

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

    Very beautiful and creative work

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

    Nice voice and nice work

  • @thegalaxymedia6811
    @thegalaxymedia6811 8 дней назад

    Is arduino device work with 12v

  • @RoseRose-eq9fe
    @RoseRose-eq9fe 3 года назад +2

    Superb video 👍👍👍

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

    very well explained
    always likes ur video keep it up

  • @purvakhobragade3285
    @purvakhobragade3285 2 месяца назад +1

    Do you have more ideas for robotics

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

    Outstanding work👌👌👍

  • @DoniaAbd_ElNasser
    @DoniaAbd_ElNasser 6 месяцев назад

    great , but i have a question can we do the same project by using atmegaa32 instead of arduino

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

    Very amazing work done by you

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

    you always come with very creative and amazing mind.. amazing robot car

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

    Hi bro, i like your videos very much.
    I really need your help. I have got all the parts. I am making the same car for my science Exhibition. Pls help me

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

    well explained thanks for sharing

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

    Hlo bro I make this project but servo is not moving and ultrasonic sensor also only motor is moving plz help me I install library from control+shift+I from arduino app plz help me my servo and ultrasonic sensor is in working condition but my car is not working

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

    Vai ye car kaise left right move karr rahi hai??Motor ka dierection to front aur back ho rahi hai?Mujhe samaj nahi aa raha hai..BTW your car is very innovative👍👍👍👍

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

      Simpal hai bhai arduino me jo code dala hai or ultrasonic sensor ki vajhe se uske motor kam karte hai

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

    addorable you are great man

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

    Nice, you made look so easy

  • @AsadAli-fy9uu
    @AsadAli-fy9uu 3 года назад +1

    creative. i am impressed

  • @365FleX
    @365FleX Год назад +2

    Hey is this type called electronic engineering?

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

    Very nice project. But Can we add the buzzer in this circuit?

  • @snehabhatt117
    @snehabhatt117 4 месяца назад +1

    Superb ❤

  • @YogeshKumar-fp3qi
    @YogeshKumar-fp3qi 2 года назад +2

    Sir ye sara Saman chahiye kitne me hoga

  • @FactzBlade-jc7kj
    @FactzBlade-jc7kj 4 месяца назад

    Which wire you connect with motar

  • @Jackismissing1234
    @Jackismissing1234 11 месяцев назад +1

    👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍

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

    Sir aapne cod io copy kia hh aan vo coda kaha de milega jo aapne copy kia h

  • @Vs.6386
    @Vs.6386 9 дней назад

    Hallo iska total price kitna hoga

  • @ritikrajkushwaha-lt1wy
    @ritikrajkushwaha-lt1wy Год назад +1

    Sir iske code ka direct pdf laga diniye n description box me jisse aur help ho pls sir

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

    great job keep it up

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

    Hello it was really perfect !
    But where can we get the code for the Arduino?

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

    Hi.. great work ...Where can I get the Auduino code?

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

    Brother mobile phone se keshe uploading kre

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

    I got stuck at one point though . It doesn't work when just connected to battery . The light on the top circuit board glows with battery but the light is off on the bottom board . When he connects the USB cable to bottom circuit board , the light is on and the motors , sensor starts rotating . Why it doesn't work with just the battery . Is I am missing any step ?

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

      #include
      #include
      #include
      #define TRIG_PIN A0
      #define ECHO_PIN A1
      #define MAX_DISTANCE 100
      #define MAX_SPEED 150 // sets speed of DC motors
      #define MAX_SPEED_OFFSET 20
      NewPing sonar(TRIG_PIN, ECHO_PIN, MAX_DISTANCE);
      AF_DCMotor motor1(1, MOTOR12_64KHZ);
      AF_DCMotor motor2(2, MOTOR12_64KHZ);
      AF_DCMotor motor3(3, MOTOR34_64KHZ);
      AF_DCMotor motor4(4, MOTOR34_64KHZ);
      Servo myservo;
      boolean goesForward=false;
      int distance = 100;
      int speedSet = 0;
      void setup() {
      myservo.attach(10);
      myservo.write(115);
      delay(2000);
      distance = readPing();
      delay(100);
      distance = readPing();
      delay(100);
      distance = readPing();
      delay(100);
      distance = readPing();
      delay(100);
      }
      void loop() {
      int distanceR = 0;
      int distanceL = 0;
      delay(40);
      if(distance=distanceL)
      {
      turnRight();
      moveStop();
      }
      else
      {
      turnLeft();
      moveStop();
      }
      }
      else
      {
      moveForward();
      }
      distance = readPing();
      }
      int lookRight()
      {
      myservo.write(50);
      delay(500);
      int distance = readPing();
      delay(100);
      myservo.write(115);
      return distance;
      }
      int lookLeft()
      {
      myservo.write(170);
      delay(500);
      int distance = readPing();
      delay(100);
      myservo.write(115);
      return distance;
      delay(100);
      }
      int readPing() {
      delay(100);
      int cm = sonar.ping_cm();
      if(cm==0)
      {
      cm = 250;
      }
      return cm;
      }
      void moveStop() {
      motor1.run(RELEASE);
      motor2.run(RELEASE);
      motor3.run(RELEASE);
      motor4.run(RELEASE);
      }
      void moveForward() {
      if(!goesForward)
      {
      goesForward=true;
      motor1.run(FORWARD);
      motor2.run(FORWARD);
      motor3.run(FORWARD);
      motor4.run(FORWARD);
      for (speedSet = 0; speedSet < MAX_SPEED; speedSet +=2) // slowly bring the speed up to avoid loading down the batteries too quickly
      {
      motor1.setSpeed(speedSet);
      motor2.setSpeed(speedSet);
      motor3.setSpeed(speedSet);
      motor4.setSpeed(speedSet);
      delay(5);
      }
      }
      }
      void moveBackward() {
      goesForward=false;
      motor1.run(BACKWARD);
      motor2.run(BACKWARD);
      motor3.run(BACKWARD);
      motor4.run(BACKWARD);
      for (speedSet = 0; speedSet < MAX_SPEED; speedSet +=2) // slowly bring the speed up to avoid loading down the batteries too quickly
      {
      motor1.setSpeed(speedSet);
      motor2.setSpeed(speedSet);
      motor3.setSpeed(speedSet);
      motor4.setSpeed(speedSet);
      delay(5);
      }
      }
      void turnRight() {
      motor1.run(FORWARD);
      motor2.run(FORWARD);
      motor3.run(BACKWARD);
      motor4.run(BACKWARD);
      delay(500);
      motor1.run(FORWARD);
      motor2.run(FORWARD);
      motor3.run(FORWARD);
      motor4.run(FORWARD);
      }
      void turnLeft() {
      motor1.run(BACKWARD);
      motor2.run(BACKWARD);
      motor3.run(FORWARD);
      motor4.run(FORWARD);
      delay(500);
      motor1.run(FORWARD);
      motor2.run(FORWARD);
      motor3.run(FORWARD);
      motor4.run(FORWARD);
      }
      Show quoted text

  • @priyeranjan6762
    @priyeranjan6762 4 месяца назад +1

    sir mujhe with bluetooth module code chahaiye jisse hum apne hum apne mobile se controlled kar sake

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

    This is an amazing work

  • @gulzarkhankhan561
    @gulzarkhankhan561 6 месяцев назад

    last wali clip me bhai wo robot khud chal raha hai ya aap chala rahe ho

  • @SC.243k
    @SC.243k 2 года назад +2

    Wow, very cool 👍✌️👌 thanks my friend
    👋👋👋

  • @pianovision6852
    @pianovision6852 5 месяцев назад

    If your car is not running, even after connecting by phone ,you can add ( 4700uf 25v ) capacitor to motor driver input. And connect your Bluetooth module to direct Arduino Uno's positive and negative if your phone is disconnecting always after few seconds, and also add ( 470uf 25v ) × 2 capacitors in parallel to that bluetooth module and Arduino's positive and negative, and after this all remove that jumper from the motor driver and give another same power supply to direct Arduino Uno, this all things will guaranteed solve your problem.

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

    How Is the car moving sideways.

  • @priyabasumatary7053
    @priyabasumatary7053 6 месяцев назад

    Sir kya mai eske code ko mobile se bhi karsaktahun mere pass laptop nhi hai bhai mai kya karu pls reply

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

    Wow nice video 👍

  • @HimalayanIndian99
    @HimalayanIndian99 3 месяца назад

    ब्रो क्या यह प्रोजेक्ट किसी पहाडी पर भी यह काम करेगा क्या ,जैसे कोई वाहन पहाडी से नीचे गिर जाता है तो उस स्तिथि में यह सिस्टम किसी वाहन को गिरने से रोकेगा प्लीज़ कमेन्ट करें आप

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

    Will a single-shaft motor work in this ?

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

      Yes bro but speed is high

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

      @Technical Maan Rawat And bro can we use a 9 volt battery like hw or everyday for powering it instead of rechargeable cells ?

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

      Bro 7v to 12v

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

      Bur 9v battery is not working. Current is verry low

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

      So which batteries can we use instead of the rechargeable cells ?

  • @QiratQirat-801
    @QiratQirat-801 3 месяца назад

    Sir detail ke sath btaya mtlb jese moter ka nsi Leni h wire kese Sabhi Sahi se btay

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

    Awesome work

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

    Sir g programing ky code kaha sa liay han

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

    Amazing work....

  • @Baby-kv9bc
    @Baby-kv9bc 3 года назад +1

    Really useful video

  • @Gamer-PKXD-t4c
    @Gamer-PKXD-t4c 11 месяцев назад

    Can we use 9V battery instead of leathim iron battery

    • @technicalmaanrawat5269
      @technicalmaanrawat5269  11 месяцев назад

      9v battery ko used kar sakte hai but wo discharg bhut jaldi ho jayegi

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

    This is amazing work and well explained

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

    is it can also used as
    computer modal

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

    Bhai ye code khudhse bhrna pdega kya

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

    Amazing work

  • @shubhdhaked9174
    @shubhdhaked9174 6 месяцев назад

    Bhai ya samaan khaya pa milta hai please batao

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

    Sir tell me what is size of cardboard

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

    Can you please give code link for me

  • @hemchandersharma4938
    @hemchandersharma4938 3 года назад +6

    Can you share code

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

    Please tell that which Arduino you had use clone or original? Please tell

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

    brilliant bro

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

    Really Nice,WOW!

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

    isko kaise order kare

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

    Sir code kaha se milega description me dedo na

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

    You always come with creative ideas

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

    sir can i get code of ardino uno

  • @official...9936
    @official...9936 3 года назад +1

    Kitna kharcha hua approximate?

  • @hasiniadvaith8470
    @hasiniadvaith8470 9 месяцев назад +1

    Bro what will be the cost of arduino

  • @jaypeetalo8613
    @jaypeetalo8613 3 месяца назад

    can you give me the code please.. i want to use it for my students

  • @bymanishsir5857
    @bymanishsir5857 7 дней назад

    Bhai vo coding kaise karna hai ye bata do

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

    Bhyya iski coading kese krnege

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

    Battery खरीदने का भी लिंक भेज दीजिए

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

    help me please mane wireing or code ek dam same dala hai ardunio ke sare parts bhi sahi hai per vo kam nhi kar raha sahi se mae kya karu please tell agle hafte school me project leker jana hai please bta do

  • @ankitdhaked-ne2py
    @ankitdhaked-ne2py 10 месяцев назад +1

    Bhai ya saman khaya say milega

  • @rdxfunnyvideos2354
    @rdxfunnyvideos2354 6 месяцев назад +1

    Bro ye project mujhe bhi banana hai kya app mujhe help kar sakte hai please bro help me 🙏

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

    Bro you can send me what program you kept in Arduino i want fast

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

    Is this code still working ?

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

    Can it work with 9 volt battery

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

    ह्यात कोड घालावाच लागतो का?

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

    Provide the link

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

    Are u using original ardunio

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

    Ok I will try surely

  • @25_gauravvirendranath_yada58
    @25_gauravvirendranath_yada58 2 года назад

    mene try kiya tha par motor work nahi kar raha hai mene 9V ki battery use kiya tha vo li-on battery use kar na jaruri hai kya???

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

      9v battery me current kam hota hai .lion battery used kana sasti mil jati hai