Arduino Smart Robot Car from Banggood: Part4 Code in Depth
HTML-код
- Опубликовано: 15 мар 2018
- This episode will dive into the codes in depth, let me know if you have any questions!
🎈Related videos:
1⃣Part1: Unboxing and Assembly: • Arduino Smart Robot Ca...
2⃣Part2: Electronic Connections: • Arduino Smart Robot Ca...
3⃣How my robot took its own life!: • How my robot took its ...
4⃣Part3: Updates for the full Codes: • Arduino Smart Robot Ca...
👇Codes
chenthedesignmaker.com/robot-c...
If you like this video, please 👉**SUBSCRIBE**👈
A lot of thanks to any advice and suggestions! :D
Links for 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.
Thank you Chen, spent the last 3 days trying to find an obstacle avoidance program to work from ( a little weak in the code dept) and shazam you appeared in my RUclips list. Thank you so much for the detailed tutorial and your patience with this Rookie!
Hi John, you are very welcome! Glad I can help! Happy making.
Hi Chen - new to robot cars - followed your videos on how to assemble the Banggood kit - excellent. Loaded the test code and it worked first time!
I have watched your video on the code explanation - again excellent. Just waiting for some longer connectors to link up the ultrasonics and then load the full code.
Hi Doc Roe, glad these are helpful :D
@@ChenTheDesignMaker Got my longer leads today, all parts seem to work, but the servo only rotates through 90 deg when I load up the code. I agree with the issue over the supplied castor wheel - I need to alter it.
Hello Chen, congrats wih your new blog.
As I'm still working on your project arduino smart car1-4, I noticed that yr http website is gone and so all the links to your final arduino sketches.
As I'm a newbee, and your diy youtubes gave me a boost to learn more about arduino, i hope you can provide a new download link for the final sketches .
Thank you very much,
Ben
you video is excellent thanks very much
Hi Tarek! Glad I can help! Let me know if there is anything I didn't make clear in the video!😀
no worry okay !👍
Ive make a 4wd car arduino powered and followed the wirings and coding but it didnt run why ?
Hello, very good video but I have a query, what happens is that I have the robot armed with the programming set but the problem is that the robot does not work for me, the only thing that works is the sensor but only when it is connected to the computer and if not is connected nothing works, could you know what the problem is please?
thanks
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
why ??
hallo,
wie und wo kann ich die neusten code herunter laden?
can a raspberry pi 3 be used? Also, to program the car can I use ROS(robot operating system)?
Definitely for the pi. I'm not very familiar with ROS but looks like it supports Linux.
hi chen just trying to get into trying to code but i am a complet noob. i was hoping you still have the code you could share with me/us. thanks
hallo,
bei mir bewegt sich nur entfernungsmesser vorne, kein motor bewegt sich. Es sind die kabel in part 2 anders gesteckt wie in part3. bin Anfänger und verstehe leider auch keinenglisch
Ich muss google translate verwenden, um Ihre Frage zu verstehen: D. Eine Sache, an die ich denken kann, ist, Ihnen das englische Transkript zu schicken, dann können Sie es mit Google ins Deutsche übersetzen?
Do you have the latest code in the description?
Yes the one on my site is the latest. Let me know if you running into any problem.
The code is public. Where I can have it?
The link is in the description
guys can someone please copy the code and paste it over here ?
The code isn't working for me! It gives me many errors... Could seriously use some help here!
you have to go trough the errors and replace the "-" in the code by deleting them and typing them in again.
if you get a port related error when uploading the code just close other programs running in the background. did it for me
also you can add:
leftMotor.Drive(-255);
rightMotor.Drive(-255);
Serial.println(" Backward");
delay(600);
at the beginning to every case in the end of the code to make the robot go backwards before turning.
add "backward" here too: enum Directions { Forward, TurnLeft, TurnRight, TurnAround, Brake, Backward};
changing delay makes it turn more or less and changing 255 is the speed for each wheel (255 is max)
@@donalain69Thankkkk uuu