Let's Make Robots!

My uncreative retarded clone of the famed YDM

Navigates around and avoids objects

u2260

NEW VIDEO!!! 

The 1st Video is of the basic 1st working code slapped together in about 30 min.

The second video is a tweaked version with wall detection so it doesnt just skim across walls. Its not perfect but getting better.

 0116090121.jpg

0116090121a.jpg

This is my first attempt ever at a robot. Ive always been semi-interested in robotics but nothing ever sparked my interest till the Yellow Drum Machine. (Thanks Fritz) Right now it is built on a 1/4" poplar base and everything is hotglued with the exeption of the controll board and the front axle.

I chose the 16F887 for a couple reasons, I have acess to as many as I blow up, I dont know C and didnt have time to learn an OS like used in the aurdonio or picaxe. Plus ASM is easy for me to understand and I know exactly whats going on.

 Im using the GM10's for the SRF05  and eventually the drumsticks. Ive limited the current to them to about 40-45mA so when they stall they arent sucking massive amounts of power, the same is doneon the drive wheels which are limited to about 120mA.

I made a general use pcb for the uC so it can be reused in many projects later on if I choose.

 It also has a 5 discrete H-Bridges capable of over 2A available to each motor. I only have 3 populated but have 2 more if I so desire.

 I placed transistor buffers capable of driving upto 500ma on an 8-bit wide port if I need any high current drives such as the GM10's for the drum sticks and peripheral devices so I can turn them off and on to conserve power.

Now for the code, I have it 1st make sure it has enough distance in front of it before moving. Then as it moves I have it find the range to objects infront of it about every 1/3 of a second. When an object is closer then the preset value (4-7 in depending on material) it stops. Then It will look left and right and determine the greater value and turn toward it. It will then look forward again to see if it has enough room to go, if not it will again look for the greater distance and turn.

It also has wall and peripheral object detection so it wont skim across the base of a wall or clip an object. I have the robot about every 1.5 seconds look left and right to see if there is any obstacles. If there are it will slightly turn itself (about 15 degrees or so) to avoid the wall/object. It will do that upto 4 times then will just assume it has turned away enough. Then it continues on till it finds something in range and performs the appropriate action.

It has some problems on shiny floors as you can see in the 2nd video. The SRF05 detects an echo because it actually bounces off the floor and not the object in front of it. I will tilt the head up a little to prevent this. It works great on a carpeted floor because it absorbs some of the signal so it doesnt echo.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I think this may interest you:

http://letsmakerobots.com/node/1512

Nice Vid. At least it doesn't smash it's face into the nearest wall at full speed like some bots do! ;)

I know what you mean about time to make vids. It took me three hours last night to shoot five minutes of video, edit it down to 1.5 minutes, add titles and upload it to MetaCafe. Way too much, even if it is, IMHO, my best effort yet.

Mike

Making and editing video can be fun or a chore, it's up to you. It should be as much fun as making the robot.
Its not really that I dislike editing and making it look "professional", its due to my time constraints. My only time to realy work on my hobbies is at night around 12am to 3-4 am. So i try to pack as much stuff in as I can, video games, programming, making hats for the robot, and researching new things to use/try. I dont sleep as it is usually only 3-4 hrs a night, im a walking zombie most of the time.
hey im still working on it LOL :)  but awsome video

Thanks Frits, I will look in to that, As for now im going to have it count how many turns it made while stuck and when it gets to a preset lvl like 8 or so, i will have it just give up and backup about 2 ft then retry.

Just got it to look around while moving and adjust its course for walls since the SRF has no peripheral vision.

Its been fun so far, and ASM is fun too as you can imagine :) 

I agree with the cheeky orange, show us your vids!

You can never have too many retarded clones!!!

Batteries are dead, will bust out the camera this weekend.

This is just a tease! I wanna see what it can do! :)

I LOVE VIDEO! CAPS !!!!!!!!!!!!!!!!!!!!!11111one1!!!!!!!!!