Robot corral with a ground-level wire fence - best way?
Ken Gracey
Posts: 7,392
Hey there,
In two months we're headed to the USA Science and Engineering Festival - a super big STEAM exposition launched by President Obama a few years ago. This event brings a mix of 30,000 students, teachers and parents to a three-day exposition. Last time we taught about 1,500 kids how to solder and. . .we won't be doing that again. Didn't do much for business and it was a whole lot of work, too!
This time we're dividing our area up into two big spaces. One will have a 4x8 table with ActivityBots and Boe-Bots, and the related curriculum will be on display. The robots will autonomous so we don't have to mediate fights over RF controls and deal with queues of children who want to play.
But it's the other area of 10x20 that'll be filled with about six Arlo robots that I'm writing this post about. I originally envisioned enclosing the area with a 1' high perimeter "fence" of some kind and use Ping))) sensors as the primary means of avoidance. But I don't want to ship a bunch of materials, set up a fence, see people trip on it, etc. Each Arlo would carry an American flag, too, as you've seen us do in the past in China.
So I'm thinking about a buried wire fence - you know, the technology used in the dog collars. I've searched around on the net a bit for solutions and I'm not coming up with a simple little embedded add-on board. Looks like most people tend to hack the dog collars for this kind of application. And that's fine, but I'd so much rather have a board-level solution.
Before I chase down some hackable dog collars, does anybody have a lead on a small pre-made embedded solution that'll do the job? We don't have time to wire up 555 timers, fabricate circuit boards, etc so it should be mostly off-the-shelf.
Any tips would be appreciated.
Also, it seems like this could be a great add-on sensor for the Parallax line, doesn't it? Seems like a lot of people are building autonomous lawnmowers with the same technology.
Thanks in advance!
Ken Gracey
In two months we're headed to the USA Science and Engineering Festival - a super big STEAM exposition launched by President Obama a few years ago. This event brings a mix of 30,000 students, teachers and parents to a three-day exposition. Last time we taught about 1,500 kids how to solder and. . .we won't be doing that again. Didn't do much for business and it was a whole lot of work, too!
This time we're dividing our area up into two big spaces. One will have a 4x8 table with ActivityBots and Boe-Bots, and the related curriculum will be on display. The robots will autonomous so we don't have to mediate fights over RF controls and deal with queues of children who want to play.
But it's the other area of 10x20 that'll be filled with about six Arlo robots that I'm writing this post about. I originally envisioned enclosing the area with a 1' high perimeter "fence" of some kind and use Ping))) sensors as the primary means of avoidance. But I don't want to ship a bunch of materials, set up a fence, see people trip on it, etc. Each Arlo would carry an American flag, too, as you've seen us do in the past in China.
So I'm thinking about a buried wire fence - you know, the technology used in the dog collars. I've searched around on the net a bit for solutions and I'm not coming up with a simple little embedded add-on board. Looks like most people tend to hack the dog collars for this kind of application. And that's fine, but I'd so much rather have a board-level solution.
Before I chase down some hackable dog collars, does anybody have a lead on a small pre-made embedded solution that'll do the job? We don't have time to wire up 555 timers, fabricate circuit boards, etc so it should be mostly off-the-shelf.
Any tips would be appreciated.
Also, it seems like this could be a great add-on sensor for the Parallax line, doesn't it? Seems like a lot of people are building autonomous lawnmowers with the same technology.
Thanks in advance!
Ken Gracey
Comments
http://www.ebay.com/itm/New-Underground-Electronic-Dog-Fence-Shock-Collar-Electric-Fencing-System-/221287841429?pt=LH_DefaultDomain_0&hash=item3385c87e95
Have you thought of transmitting an audio tone(s) (AM or FM modulated) through the 'corral' loop and sensing it with the output from a cheapo AM/FM receiver? there may be an small I2C compatible board out there (I haven't had time to look).
Cheers
Lindsay G
Even better! Of course, you might not know the color of the floor for best contrast (white tape on a dark floor or vice versa) but I had excellent results using chrome Duck tape on white carpet using a Scribbler robot. IIRC you guys used aluminum foil tape at your Expo Line Follower contest, that's probably just as good.
Another option: It would take about 300 RFID tags (less than $100 on ebay) to create a sixty foot perimeter.
It would also be interesting to make the field shape irregular. Then you could do things like have robot-free islands or a viewing peninsula.
I'm going to try using bright red EL wire and a CdS cell with blue and green filters. If the filters block enough light, the ambient could be brighter than the EL wire and it should still register, I think.
If the robot had metal wheels you could detect a short between them over something conductive. Or even measure resistance for more options.
I hope that IMUs become good enough for precise indoor navigation soon. This is like duct tape brand band aids for precise indoor navigation.
IR may be the simplest way to go. Maybe 4 corner posts and 2 posts in the middle of the 20 foot run if needed. Place modulated IR emitters at the bottom of the posts to create the perimeter.
I made that hack job RSSI xbee proximity thing, that could keep them in a circle. People walking in between would only weaken the signal making the robots want to stay closer to the center beacon.
The wire could be as simple as an extension cord taped down to the floor, and the "sender" clipped onto one end.
xanadu,
I like this idea. Did you take this further? Seems like a great way to keep any bots within proximity of a location...
Thanks, I'll be using this method for my own experiments!
dgately
You could have an army of robot metal detectors. Also, a beach-combing robot would be an essential element for entertainment.
Also, this idea or "follow the wire" has been used for years in automated warehouse robots to move pallets for a long time and being put to use in amusement parks for darkrides.
Also, a basic circuit is in the Forrest M. Mims, III book "Getting Started in Electronics" that sold in Radio Shack stores.
Please do, it really is a viable option that seems to get overlooked. I would love to see someone with better coding skills take a crack at it.
You essentially setup zones.
RSSI > 75 = close to home, use PING to avoid people and roam around
RSSI < 75 and RSSI > 60 = turn routine, recheck RSSI with smaller movements (store RSSI in another variable to compare with last reading)
RSSI < 60 and RSSI > 50 = turn routine, recheck RSSI with even smaller movements (compare with last reading, move accordingly)
I don't think you need a directional antenna. I believe you can also use more than one beacon to compare RSSI with and possibly triangulate. This is why my lack of coding ability ended up another unfinished project.
-Phil
Use one of the cheapy, low-power RF transmitters to broadcast a tone on an unused FM frequency. Ring the robot arena with the antenna. Use one of these to receive the broadcast: http://www.parallax.com/product/27984
...and then use the Propeller to analyze the receiver's output for the correct tone. Detecting maximum amplitude would indicate the fence perimeter.
No tripping, elegant, and it uses a Parallax product to boot!
Once it arrives we'll get inside of the doggy collars and report back to this thread.
The infrared, magnetic tape and RFID systems are probably not as well suited for this application due to interference from people (for IR), placement of hundreds of RFID tags, and signal strength with XBee which couldn't maximize our perfectly square area. But these ideas are still appreciated.
So, shall report back!
Ken Gracey
I kinda' though that was the case from reading your post.here:
http://forums.parallax.com/showthread.php/130799-Refrigerator-Magnet-Encoder?highlight=Hall
http://www.youtube.com/watch?v=us3dQ0nnlHY&feature=kp
The attached program is my AM receiver adapted for this app. I cut out a 1.5" x 2" piece of copperclad PCB material, soldered a wire to it, and ran the wire to the solderless breadboard, which also included the 1M resistor. The copperclad was then stuck to the ActivityBot servos with double-stick tape. I loaded the attached program into both the ActivityBot and a QuickStart board. To the IF_PIN on the QS, I connected a long piece of cheap telephone cable. (A single strand of insulated wire will work just as well.) The cable was laid on the floor. When the bot was positioned over the cable the LED would flash, indicating a signal over threshold.
-Phil
I wasn't suggesting using RFID as an RFID device
What I meant was that the reader could probably be hacked to make it into a metal detector.
I assume that the reader is programmable and that you have the source code (which ideally would be shared).
Seeing an Arlo shepherd other Arlos, now that would be cool.
Having an Arlo speak when it sees a person or another Arlo, that would be cooler.
An Arlo with a personality, priceless!
Which basic circuit are you referring to in post 18 of this thread. " a basic circuit is in the Forrest M. Mims, III book "Getting Started in Electronics" that sold in Radio Shack stores."
I have the 1984 printed version, so I may be missing out on which circuit you are referring to.
As far as I'm concerned at least, Ken Gracey is correct in saying there is interest in this type of boundary circuit.
I have a robot project that is on hold until I can figure out the boundary situation.
I've made several attempts that did not work out so good.
I learn something each time I make an attempt.
Low power radio or magnetic proximity detection gets very complicated to understand.
I will not give up.
My robot will stay within a wireless boundary.
Thanks for any comments.
gg
The dog collar approach is probably the fastest and easiest. In the past I had some success with a wire follower using an AC wall adapter (AC output), and a couple 741 op amps. The dog collar probably has better overall range. The sensor loop of the homebrew follower had to be right over the wire in order to detect it, bit that was okay for the application.
Anyway, this sounds like a very nice project. Agreed this would make for a nice board-level product.
-Phil