Arduino Smart Robot Car from Banggood: PART3 Updates for the full Codes

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 56

  • @ChenTheDesignMaker
    @ChenTheDesignMaker  6 ปีที่แล้ว +3

    Update: If you want to control the motor speeds, please swap pin 11 and pin 13 connections, as well as update the define section in the code. Pin 13 is not PWM pin but pin 11 is. Sorry for the mistake.

  • @hoegeert
    @hoegeert 3 ปีที่แล้ว

    I'am a newbee to the Arduino world, got boared of all the basic stuff, ordered this from Banggood and followed your tutorial, apart from some minor changes I had to make (had to drill some holes in the base plate and change some motor shield, sensor shield connections) this was a straight forward experience. Brilliant tutorials, perfect code. If you wonna build this this is the perfect tutorial

  • @arunrajsures3133
    @arunrajsures3133 4 ปีที่แล้ว

    Thank you mannn. I watched tons of videos. Nothing worked. It worked after seeing yours

  • @andrewdenzov3303
    @andrewdenzov3303 6 ปีที่แล้ว +2

    Bought this recently. First Arduino project for me.

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      Cool! Let me know if you have any questions!

    • @odzuka3859
      @odzuka3859 6 ปีที่แล้ว

      Yeah this is my first too. I messed up the first time by building it upside down xD

  • @adelbenmabrouk232
    @adelbenmabrouk232 4 ปีที่แล้ว +1

    Thank u so much,
    thanks to you I realized my first arduino intelligent car, I used your code and it goes excellent

  • @educationaltutorials8218
    @educationaltutorials8218 5 ปีที่แล้ว

    Is there Part 4 for the code instructions? thanks

  • @buitragoariasjacinto9034
    @buitragoariasjacinto9034 6 ปีที่แล้ว +1

    Great job Chen. Thank you very much

  • @suloman5845
    @suloman5845 4 ปีที่แล้ว

    have you ever wondered about why there are two wheel like black things mounted to the dc motors?

    • @donalain69
      @donalain69 3 ปีที่แล้ว

      asked myself that too..

  • @dhall185
    @dhall185 5 ปีที่แล้ว

    Any plans to add a bluetooth module to this kit?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 ปีที่แล้ว +1

      Yes it's definitely part of the plan. I'm learning how to make the app right now :D. Stay tuned!

  • @PengyuLi-gh9qr
    @PengyuLi-gh9qr 11 หลายเดือนก่อน

    hello i cant open website to get code

  • @serbaserbi6829
    @serbaserbi6829 5 ปีที่แล้ว +1

    can you preview with bluetooth dan xbox 360 and control with sound?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 ปีที่แล้ว

      I'm planning to make a video of using bluetooth and mobile app. Not sure about xbox and sound yet. Stay tuned!

  • @serveroffjuz4fun139
    @serveroffjuz4fun139 4 ปีที่แล้ว

    the reverse is not working on me

  • @aram1087
    @aram1087 6 ปีที่แล้ว

    Can you add more than 1 sensor?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      Yes, the HC -SR04 sensor takes 4 pins, Vcc, Ground, Trig,Echo. The ground and Vcc can be shared multiple multiple sensors, you'll need 2 extra pins (trig and echo) for each sensor. So there are room for you to easily add 3 to 4 more of them. However i guess power and interference might be a problem if too much are added.

  • @TheUK33
    @TheUK33 6 ปีที่แล้ว

    Hey Chen, I have built the rover to your design and there is a problem with one of the wheels not moving at the same speed as the other. One is moving very fast the other very slow, I have checked the connections and they all appear to be in place. Any ideas on what the problem is? Thanks

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      Hi, have you tried to switch the two motors? In this way we can find out if it’s the motors problem or not.

    • @TheUK33
      @TheUK33 6 ปีที่แล้ว

      Sorry do you mean switch the wires of the motors round?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      I meant switching the left motor and right motor connections

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      Also you can try to tighten the screws on the l298n motor terminals

  • @maryannliljenquist7766
    @maryannliljenquist7766 6 ปีที่แล้ว

    Chen, Great project. Everything works fine except the sensor does not turn when it encounters an object. The stopmotor turns full right and stays there. Any suggestions?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      Hi Mary, have you tried to just run the servo code to test the servo functions?

  • @piotrb2323
    @piotrb2323 6 ปีที่แล้ว

    in my robot servo falls out when the robot moves through a stair. Do you have this problem too? I see that you use additional thing to keep sensor

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      The 3d printed part is definitely optional, make sure you tight all the screws to hold the servo gimbal, screws hold the servo arms and also tight the twist wires.

  • @rezzapriatna6118
    @rezzapriatna6118 5 ปีที่แล้ว

    Helo sir, i using driver motor shiled L293D can i use this code?

  • @nikkomarasigan9979
    @nikkomarasigan9979 6 ปีที่แล้ว

    in the link above, is that your latest code for this project?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      Yes it is. For full explanation of the code, please watch the part 4

    • @educationaltutorials8218
      @educationaltutorials8218 5 ปีที่แล้ว

      @@ChenTheDesignMaker Can you please link Part 4 thanks

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 ปีที่แล้ว

      @@educationaltutorials8218 it's here: th-cam.com/video/KAdQtidgPmI/w-d-xo.html

  • @sanjitkumarpattanayak3647
    @sanjitkumarpattanayak3647 6 ปีที่แล้ว

    Which type of battery ???

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      It's just 4 AAs, of course you can use other types.

  • @ERAS546
    @ERAS546 6 ปีที่แล้ว +1

    Perfecet.. Thanks Wery Well..

  • @C03NL
    @C03NL 6 ปีที่แล้ว

    my robot doesn't stop when it sees an object, neither does it go back. In only goes to the left or right any way to fix this?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      Hi --, I had similar problem earlier, was able to fix with really fresh AAs or a 9V battery. Give it a try. Also, when it sees an object, does the servo turns?

    • @C03NL
      @C03NL 6 ปีที่แล้ว

      ChenTheDesignMaker the Servo does turn, over got 4 as batteries and one 9v battery

    • @C03NL
      @C03NL 6 ปีที่แล้ว

      I could try fresh as batteries

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 ปีที่แล้ว

      If new batteries don't help, I suggest you check the motor connections by running some simple motor codes, see if the motors respond as the command.

  • @papaluc9107
    @papaluc9107 4 ปีที่แล้ว

    Hello Chenlu, I would like to add french subtitles on your videos. Is this ok for You ? I'm french teacher in South Pacific (New Caledonia) and I really appreciate your work. My young studients will follow your steps.

  • @skyrat2594
    @skyrat2594 4 ปีที่แล้ว

    I can't access the code :(

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  4 ปีที่แล้ว

      Sorry my site was down, it's fixed now. Have fun!

  • @wellofbeersheba
    @wellofbeersheba 5 ปีที่แล้ว

    Chen, my friend, you really need to do something about the overpowering music in your videos; doesn't add anything. Pretty please.

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 ปีที่แล้ว

      Sorry...there's nothing I can do once a video is uploaded....Promise will fix it in future videos!!!!

    • @wellofbeersheba
      @wellofbeersheba 5 ปีที่แล้ว +1

      @@ChenTheDesignMaker Sorry Chen, that was what I meant, for the future. Seems to me to be the only weakness in you high quality output.

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 ปีที่แล้ว

      @@wellofbeersheba Thanks! That means a lot to me :D

  • @อ้อยนน-พ5ฒ
    @อ้อยนน-พ5ฒ 5 ปีที่แล้ว

    Arduino: 1.8.8 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    C:\Users\User\Documents\Arduino\sketch_mar31a\sketch_mar31a.ino: In function 'void checkDistance()':
    sketch_mar31a:5:18: error: 'A1' was not declared in this scope
    #define ECHO_PIN A1
    ^
    C:\Users\User\Documents\Arduino\sketch_mar31a\sketch_mar31a.ino:111:21: note: in expansion of macro 'ECHO_PIN'
    while ( digitalRead(ECHO_PIN) == 0 );
    ^
    sketch_mar31a:5:18: error: 'A1' was not declared in this scope
    #define ECHO_PIN A1
    ^
    C:\Users\User\Documents\Arduino\sketch_mar31a\sketch_mar31a.ino:116:21: note: in expansion of macro 'ECHO_PIN'
    while ( digitalRead(ECHO_PIN) == 1);
    ^
    Multiple libraries were found for "Servo.h"
    Used: C:\Users\User\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\libraries\Servo
    Not used: C:\Program Files (x86)\Arduino\libraries\Servo
    exit status 1
    'A1' was not declared in this scope
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    plese help me ^^

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 ปีที่แล้ว

      Seems like the line "#define ECHO_PIN A1" is having problem, could you check if there are any typos around the line?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 ปีที่แล้ว

      I just realized you are not using arduino, seems the ESP8266(I never used) is different from Arduino on analog inputs. I found this hope can help. randomnerdtutorials.com/esp8266-adc-reading-analog-values-with-nodemcu/

    • @อ้อยนน-พ5ฒ
      @อ้อยนน-พ5ฒ 5 ปีที่แล้ว

      please help me in teamviewer