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

Поделиться
HTML-код
  • Опубликовано: 3 июл 2024
  • This episode will talk about the latest updates and code for the smart robot car kit from Banggood.
    🎈Related videos:
    Part1:Unboxing and Assembly: • Arduino Smart Robot Ca...
    Part2: Electronic Connections: • Arduino Smart Robot Ca...
    How my robot took its own life!: • How my robot took its ...
    👇Codes for 3rd part:
    chenthedesignmaker.com/robot-c...
    If you like this video, please 👉**SUBSCRIBE**👈
    A lot of thanks to any advice and suggestions! :D
    🛠Parts used in this video:
    Ultrasonic Sensor holder by Uri Shani:
    www.thingiverse.com/thing:276...
    Thanks Uri!
    Tiny screw kit:
    www.banggood.com/1000Pcs-Glas...
    Third Wheel:
    www.thingiverse.com/thing:281...
    9V Battery Clip:
    www.banggood.com/Wholesale-9V...
    Links for other parts:
    Smart Robot Car Kit(New): www.banggood.com/2WD-Avoidanc...
    Smart Robot Car kit: www.banggood.com/DIY-L298N-2W...
    M3 *10mm Standoffs: www.banggood.com/50pcs-M3-10m...
    Amazon: amzn.to/2Auwbzq
    Extra servo for pan and tilt camera mount: www.banggood.com/TowerPro-SG9...
    Amazon: amzn.to/2jO7BBE
    Speed encoder kit(Will cover in later video): www.banggood.com/HC-020K-Doub...
    Amazon: amzn.to/2kq7H6J
    3 in 1 Jumper cable set: www.banggood.com/3-IN-1-120pc...
    Amazon: amzn.to/2D5QYuw
    Toys in the show:
    Excavator: www.gearbest.com/rc-cars/pp_5...
    BullDozer:www.gearbest.com/rc-cars/pp_5...
    RC Car:www.gearbest.com/rc-cars/pp_3...
    Gears I'm using:
    Gimbal Stabilizer: Zhiyun Crane Plus amzn.to/2nmgvbd
    Learn how to get $80 off: • [Early Bird Discount] ...
    Camera I'm using: amzn.to/2FqKhmz
    Let me know if you have any kit that need help with!
    My Website: chenludesign.com
    My Instagram: / friedlc
    My Dribbble: dribbble.com/chenludesign
    My Instructable: www.instructables.com/member/...
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
  • НаукаНаука

Комментарии • 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

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

  • @buitragoariasjacinto9034
    @buitragoariasjacinto9034 6 лет назад +1

    Great job Chen. Thank you very much

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

    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

  • @ERAS546
    @ERAS546 6 лет назад +1

    Perfecet.. Thanks Wery Well..

  • @educationaltutorials8218
    @educationaltutorials8218 5 лет назад

    Is there Part 4 for the code instructions? thanks

  • @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..

  • @rezzapriatna6118
    @rezzapriatna6118 4 года назад

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

  • @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.

  • @maryannliljenquist7766
    @maryannliljenquist7766 5 лет назад

    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  5 лет назад

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

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

    the reverse is not working on me

  • @PengyuLi-gh9qr
    @PengyuLi-gh9qr 5 месяцев назад

    hello i cant open website to get code

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

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

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  4 года назад

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

  • @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.

  • @TheUK33
    @TheUK33 5 лет назад

    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  5 лет назад

      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 5 лет назад

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

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 лет назад

      I meant switching the left motor and right motor connections

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 лет назад

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

  • @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!

  • @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.

  • @sanjitkumarpattanayak3647
    @sanjitkumarpattanayak3647 5 лет назад

    Which type of battery ???

  • @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.

  • @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: ruclips.net/video/KAdQtidgPmI/видео.html

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

    I can't access the code :(

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

  • @user-mb7lg7xt5l
    @user-mb7lg7xt5l 5 лет назад +1

    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/

    • @user-mb7lg7xt5l
      @user-mb7lg7xt5l 5 лет назад

      please help me in teamviewer