Heh
I still have lots of stuff to tweak. Need to reinforce the main construction so it doesn’t fall apart ever so often
Get cranking, you!
Don’t worry, world
Don’t worry, world domination is just around the corner!
Cool that you are using
Cool that you are using SRF05. An advantage is that you can see on the back of it when a pulse is omitted. You can set down the wait time before it’s every move; Just make sure it never moves it’s head while the red light is flashing, or you will get strange readings.
You can get a way more alert rob then (only perhaps it will fall more apart, faster
Dude, your robot is awsome!
And I like the picture, nice to see some 16:9 or what it is - very movie-like! You need to get some better tape though ;D Or perhaps even advance to melt-glue-gun! (they are extremely cheap)
Thanks for sharing, and looking forward to next time!
/ Fritsl
1 replyThanks Frits!I noticed that
Thanks Frits!
I noticed that during travelling forward, sometimes the servo tend to twitch a bit to the right for no reason. It keeps twitching until it cant twitch anymore.
I probably just need to sit down some more with the code.
I have now added the LED and the speaker. They dont do much except make an alert when obstacle is found and it begins the turning-proceedure.
One of the biggest problems right now is that the tape attaching the SRF05 to the Servo loose grip after a while. I need to find a better way of attaching it to the servo.
I will post an update as soon as i have more material to show
Thanks again for your comments
//Fred
Hey, that’s looking good.
Hey, that’s looking good. You can definitely speed up the scanning to make it react faster, as you get more comfortable with it. The sonar pulse takes a maximum of 50ms to be measured (usually less), so it can scan all three directions practically as fast as the servo can move to those places. The measuring itself takes almost no time. Just be sure, like Frits said, that the head doesn’t move while the red light is flashing.
And yeah, hot glue definitely holds things together better than two-sided tape. It IS a step up on the ‘permanent’ scale, but even hot glue can usually be cut off if you change your mind
Nice work, keep it up.
Dan
1 replyInteresting. I shall
Interesting. I shall optimize the code right away.
I was also thinking about having it make a 180 turn if all directions are blocked.
A hot glue gun may very well be my next purchase.
There was a bunch of purchases for me to get started, i had to get soldering equipment and tools and stuff like that.
Does anyone know a good way of making the speaker sound louder? The volume is slightly low at the moment so i kindof want to make it louder
Cheers!
//Fred
IMHO you should not
IMHO you should not hard-code 180-turns, but let the robot decide when it is time to turn; try to make it look in the direction it is turning towards, or read this, to put it short
I know you should remember to turn off your speaker afterwards - read this - but turning up volume (without an amplifier) is only possible by selecting a different speaker. There is a HUGE difference in the volume they make.
/ Fritsl
1 reply