View previous topic :: View next topic |
Author |
Message |
BRY2005
Joined: 23 Jan 2005 Posts: 3
|
Posted: Sun Jan 23, 2005 3:24 pm Post subject: Wall hugging bot |
|
|
Anyone have a simple outline for code for a wall hugging bot?Like to try a small one with two bumpers. |
|
Back to top |
|
|
DJD XTREEM
Joined: 24 Jun 2004 Posts: 190 Location: 127.0.0.1
|
Posted: Mon Jan 24, 2005 12:13 pm Post subject: |
|
|
What do you mean by wall hugging??
Something that he search for a wall and then ride beside it..
Or search a wall and approach it from the front and stops...
I don't have a clue.. _________________ Bascom AVR 1.11.8.8 full version
STK500 Programmer
ISP Programmer |
|
Back to top |
|
|
BRY2005
Joined: 23 Jan 2005 Posts: 3
|
Posted: Wed Jan 26, 2005 1:53 pm Post subject: |
|
|
No,I mean the basis of a wall following robot,which would travel the perimeter of the room,and then perhaps later,branch out from there,but small steps first.Bry. |
|
Back to top |
|
|
DJD XTREEM
Joined: 24 Jun 2004 Posts: 190 Location: 127.0.0.1
|
Posted: Thu Jan 27, 2005 10:30 pm Post subject: |
|
|
I think for wall following you need a little bit more than just 2 bumpers..
Because something has to detect how far your off a wall.. Because when a bumper is pressed your robot touch the wall and only when he leaves the wall the sensor resets himself..
So there is no vairable detection that 'looks' how far your off the wall..
Simple but effective.. IR led And ir reciever .. Same way lego has contructed there light sensor. This sensor can give a raw value to let you see how close an object is.. But there even better ways to do that..
Just search on the internet for such things as IR eyes, proximity detectors and on and on.. _________________ Bascom AVR 1.11.8.8 full version
STK500 Programmer
ISP Programmer |
|
Back to top |
|
|
eddy
Joined: 09 Apr 2004 Posts: 67 Location: Near Chicago, IL USA
|
Posted: Sat Jan 29, 2005 8:28 pm Post subject: |
|
|
It can be done with only one bumper. Tamiya sells a small wall hugging robot kit that is super simple.
http://www.pololu.com/products/tamiya/0075/
You can also find these at Frye's Electronics and numerous places on the web.
From there, you can modify it or build a different one that uses IR sensors to detect the wall without touching it.
Eddy _________________ Eddy Wright
Wright Hobbies, LLC
http://www.wrighthobbies.net |
|
Back to top |
|
|
DJD XTREEM
Joined: 24 Jun 2004 Posts: 190 Location: 127.0.0.1
|
Posted: Sun Jan 30, 2005 11:58 am Post subject: |
|
|
This has nothing to do with micorcontrollers..
Because tamiya uses a very simpel system.. 1 wheel is always driven the other wheel will only run if the sensor is touched.. So when the first wheel runs, the sensors touches the wall and activate the second motor to correct the steering to the wall..
But yeah you can use a microcontroller to check the button and controll the motors _________________ Bascom AVR 1.11.8.8 full version
STK500 Programmer
ISP Programmer |
|
Back to top |
|
|
myblack60impala
Joined: 01 Aug 2006 Posts: 8
|
Posted: Wed Feb 21, 2007 10:32 pm Post subject: |
|
|
Here's a link to some bascom sample code. Some of it was written by me, and the array code was found on the internet. Feel free to use it to make your robot.
http://www.robomo.com/Forum/viewtopic.php?t=606 |
|
Back to top |
|
|
|