Robotics Programming: Building an Autonomous Mobile Robot | Arduino Lab Series

preview_player
Показать описание
This is the first lab video in my hands on beginners robotics course. Throughout this series we will be introducing topics on building and programming an autonomous mobile robot! You can follow along with each lab adding amazing new behaviors to you robot projects and learning the algorithms and tuning techniques that produce incredible robots! We will be exploring reactive algorithms such as PID, Potential Fields and A*. Along the way you will learn how to program behaviors such as object following, wall following, standing / balancing, go-to goal and object avoidance. This series is intended to allow you to follow along with your own robot.

There are many different robots you can use, but I will be using an Arduino based Pololu 3pi+ which you can purchase and use follow along.

Please note @ 37:27 WHEEL_CIRCUMFERENCE should be a float, not an int! as an integer it is loosing the decimal (.05) this error will become apparent as the distance the robot travels grows!

Chapters:
00:00 Introduction
1:20 Lab Series Introduction
1:40 Topic Overview
2:11 Requirements for our Robot
2:52 Robot Hardware / Required Sensor Discussion
7:24 Review of common Robotic Platforms
10:38 Hardware Review of the Pololu 3pi+
14:22 Development Environment Setup
17:36 1st Program - Move Forward!
25:27 2nd Program - Wheel Encoders
36:50 3rd Program - Distance in Centimeters
40:59 4th Program - Move 1 foot!
43:29 Robot Dynamics and Tuning
50:12 Success!
50:41 Conclusion

#codingcoach #arduinorobot #roboticsprogramming

Other robots, batteries and tools (Amazon Affiliate links)

Batteries:

Рекомендации по теме
Комментарии
Автор

Very nice tutorial.
I would like to make just one comment,
on the line
const int WHEEL_CIRCUMFERENCE = 10.0531
should probably be correct
const float WHEEL_CIRCUMFERENCE = 10.0531

MartinL
Автор

This content should be much more watched on YouTube. Sometimes even better than the content of the 'big' robotic chanels. Great work 👍

someDude
Автор

most under rated channel on YouTube regarding electronic stuff. Highly appreciate your work!!!!

pranshuraj
Автор

I am building an autonomous mower and your video has helped me tremendously. Thank you!

eclecticlife
Автор

This is an exceptionally good tutorial on robot programming. Thank you. I will be watching more as I have purchased the robot you show in your video.

PaulReedmanreedmanit
Автор

Best explanation I have found to date on using encoders to control (fairly) precise navigation. Since I am new the fact that you explain everything in detail is helpful. Your explanation around avoiding an additional 'while loop' to determine the stopping point was instructive. I am looking forward to the remaining videos in the series. Many thanks!

stevephillips
Автор

I try to add the time of flight sensor opt3101, thanks for your example, lets see what i'll come up with :)

troublehd
Автор

this pokemon (kindaa) music hooked me as well as explanation ofcourse :)

sky-jxrk
Автор

Thank you for your time n efforts!
I was looking for gradual increase/decrease in motor speed for an input trigger which your video covered.

MrStrangerr
Автор

Great video so far. Just one thing to note: your robots shown at the 3:00-4:00 mark aren't holonomic. Skid/tank steer is still considered nonholonomic.

DaveScottADV
Автор

I might be very late to get an answer but how to know the tick per rotation of the motor?? I am not using Pololu product but an offbrand N20 with a magnetic encoder.

sposhto
Автор

awesome video
please start series with raspberry Pi

vikassinha
Автор

Buen video, gracias por la explicación 🦾

MakingRoboticsColombia
Автор

Nice video!! But why did you stopped uploading new videos?

djzatka
Автор

Hi
Great video! Thanks a lot. I have a question, how the robot knows to stop exactly on the blue sticker on the floor? Is this a RFID sensor? Color sensor? Or are you using some kind of geo-localization?
I would really appreciate your help. Thanks

BennyBern
Автор

please create more video on this series without use of pololo robot just simple robot with bldc motor rotary encoder and ultrasonic sensor with servo
pololo is costly and most of us are not having it that's why at a cheaper rate please try same video with bldc motor and ultrasonic sensor with servo

vikassinha
Автор

how to do the getcountsandreset(); for an individual arduino with motos with free encoders..!

jaywardhan
Автор

You mention the number of clicks per one revolution of the motor shaft, but I lost you on how to figure what number was needed for the Turtle or Hyper Edition! And even how you got 12 for the Standard Edition. How did you come up with these numbers?

codecage
Автор

I want to build a robot that will chase my cat by sensing him but it won't hit him. It retreats when he approaches it and it plays sounds of a cat meowing. Infact, it can follow me around too just like he does.
We had to move into an apartment and gave up his brother and sister that he played with. Now he's getting fat and lonely. I thought building him a companion would be perfect for him and I get to learn how to build a robot - something I always wanted to do. I'm 63, teach middle school and needed a hobby to destress after working with screaming kids all day. Can you help me out with this? Thanks, Mike

GetRealwithMike
Автор

do you have a video on waypoint finding?

study_sounds