How to Build Obstacle Avoiding Robot for Beginners With Arduino Tutorial
Intro: How to Build Obstacle Avoiding Robot for Beginners With Arduino Tutorial
This Tutorial is for anyone getting started with arduino. We will be building an obstacle avoiding robot that uses an ultrasonic HC SR-04 sensor to detect objects and 2 continuous (360 degree) servos wired to an external battery supply. This project uses an Arduino Uno without motor shield. The code is not mine, but not sure who to give credit to as I combined about 4 different sketches I found online.
Comment with any questions and sorry I said UMMM about 3000 times, I get nervous on camera...
All parts and code can be found here : http://wirebeings.com/Arduino-Robot.html
CH340g driver for chinese arduino uno can be downloaded here: http://www.wch.cn/download/CH341SER_MAC_ZIP.html
26 Comments
YADHUKRISHNAN 8 years ago
hey .. very nice vedio ..can i have the program plz i checkde with the link that you have mentioned bt unable to get the code
matthewh8 8 years ago
Sorry about that just fixed the link, it's not pretty but it works for now.
BonnieS6 8 years ago
I made the robot and it worked finally :) BUT now I went to use it again after it sat for 4 or 5 days and I went to show it to someone, and it only goes in circles. Can you maybe explain to me what I did wrong that this could happen? Thank you so much.
matthewh8 8 years ago
alyssamalagueno 8 years ago
matthewh8 8 years ago
jaspreet singh123 8 years ago
matthewh8 8 years ago
I do not believe those servos will work, they need to be labeled continuous or 360 degree to work for this tutorial. However, with some modification you can make it rotate continuously to work for this tutorial. Check this out https://www.youtube.com/watch?v=6G1nHfvl4aI
jaspreet singh123 8 years ago
oh sorry i used 180 degree now i am using 360 they are working
matthewh8 8 years ago
Nice, glad to hear that!
jaspreet singh123 8 years ago
sorry it worked only once and now servos are not moving when changed with180 degree once they workrd but when i connect 360 degree once they are not working
jaspreet singh123 8 years ago
hey math i am waiting for your response pls help me to figure out
matthewh8 8 years ago
I sent an email back a while ago. You didn't recieve it?
jaspreet singh123 8 years ago
jaspreet singh123 8 years ago
waiting for your reply
jaspreet singh123 8 years ago
i think connections are not wrong
matthewh8 8 years ago
skaterank@gmail.com
jaspreet singh123 8 years ago
did u watch that video ?
jaspreet singh123 8 years ago
thx for telling me your email address .i will send my video on my drive
jaspreet singh123 8 years ago
watched that video