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! Наука
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.
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
Thank u so much,
thanks to you I realized my first arduino intelligent car, I used your code and it goes excellent
Great job Chen. Thank you very much
Thank you mannn. I watched tons of videos. Nothing worked. It worked after seeing yours
Bought this recently. First Arduino project for me.
Cool! Let me know if you have any questions!
Yeah this is my first too. I messed up the first time by building it upside down xD
Perfecet.. Thanks Wery Well..
Is there Part 4 for the code instructions? thanks
have you ever wondered about why there are two wheel like black things mounted to the dc motors?
asked myself that too..
Helo sir, i using driver motor shiled L293D can i use this code?
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
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.
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?
Hi Mary, have you tried to just run the servo code to test the servo functions?
the reverse is not working on me
hello i cant open website to get code
can you preview with bluetooth dan xbox 360 and control with sound?
I'm planning to make a video of using bluetooth and mobile app. Not sure about xbox and sound yet. Stay tuned!
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.
Totally! Thanks :D
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
Hi, have you tried to switch the two motors? In this way we can find out if it’s the motors problem or not.
Sorry do you mean switch the wires of the motors round?
I meant switching the left motor and right motor connections
Also you can try to tighten the screws on the l298n motor terminals
Any plans to add a bluetooth module to this kit?
Yes it's definitely part of the plan. I'm learning how to make the app right now :D. Stay tuned!
Can you add more than 1 sensor?
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.
Which type of battery ???
It's just 4 AAs, of course you can use other types.
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?
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?
ChenTheDesignMaker the Servo does turn, over got 4 as batteries and one 9v battery
I could try fresh as batteries
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.
in the link above, is that your latest code for this project?
Yes it is. For full explanation of the code, please watch the part 4
@@ChenTheDesignMaker Can you please link Part 4 thanks
@@educationaltutorials8218 it's here: ruclips.net/video/KAdQtidgPmI/видео.html
I can't access the code :(
Sorry my site was down, it's fixed now. Have fun!
Chen, my friend, you really need to do something about the overpowering music in your videos; doesn't add anything. Pretty please.
Sorry...there's nothing I can do once a video is uploaded....Promise will fix it in future videos!!!!
@@ChenTheDesignMaker Sorry Chen, that was what I meant, for the future. Seems to me to be the only weakness in you high quality output.
@@wellofbeersheba Thanks! That means a lot to me :D
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 ^^
Seems like the line "#define ECHO_PIN A1" is having problem, could you check if there are any typos around the line?
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/
please help me in teamviewer