Best way to make a tracking device?
rwgast_logicdesign
Posts: 1,464
So ive been working on a bot, I also have 4 dogs. My dogs are nuts and I im not sure how there going to react to a robot rolling around. I know the one in my pic has alot of fun with RC cars! Also my bot is going to be shooting lasers all over the place, not good for an animals eyes.
One of the first things I need to do is come up with a system where the bot can figure out where the dogs are so it can firstly turn its lasers off, secondly take action to interact with each dogs personality, i.e roll away if the dog is after it. Whatever I use for a beacon needs to be small enough and workable on a dogs collar. I had thought about pulsing IR beacon at different frequency's, so the bot would know if a dog around, what dog it was, and what direction the dog was relative to the bot. But I thought about this and there are some things id like to be able to pull off where an IR beacon may not be the best idea, like know where the dog is even if not in the same room. I also want to be able to follow behind a dog about a foot. In reality I really need to be able to track the dogs location when its within 50ft or so. GPS seems ideal except 4xGPS=Too much and the qccuracy of gps isnt to great. Im thinking theres got to be a good way to do this. If need be maybe I could Send a BT signal from the dog with its x,y position but im not sure how to get its posisition or use some universal x,y system the bot can locate.
One of the first things I need to do is come up with a system where the bot can figure out where the dogs are so it can firstly turn its lasers off, secondly take action to interact with each dogs personality, i.e roll away if the dog is after it. Whatever I use for a beacon needs to be small enough and workable on a dogs collar. I had thought about pulsing IR beacon at different frequency's, so the bot would know if a dog around, what dog it was, and what direction the dog was relative to the bot. But I thought about this and there are some things id like to be able to pull off where an IR beacon may not be the best idea, like know where the dog is even if not in the same room. I also want to be able to follow behind a dog about a foot. In reality I really need to be able to track the dogs location when its within 50ft or so. GPS seems ideal except 4xGPS=Too much and the qccuracy of gps isnt to great. Im thinking theres got to be a good way to do this. If need be maybe I could Send a BT signal from the dog with its x,y position but im not sure how to get its posisition or use some universal x,y system the bot can locate.
Comments
http://dx.com/p/et-662-gps-engine-board-module-with-sirf-star-iii-chipset-80038
http://dx.com/p/gps-external-digital-antenna-with-mmcx-connector-and-3-meter-cable-1-5ghz-14926
http://dx.com/p/em-411-gps-engine-board-module-with-sirf-star-iii-chipset-80037
https://www.sparkfun.com/products/10919
if i go with ir could i some how tell the distance from the dog. i mean i could ping that genral direction but what if i ping through its legs?
i dont even know how to go about this but i thought maybe i could make a coordinate system based on a map of the house and then transmit the dogs coords
Maybe you could use two CMUcam4s a short distance apart on a short mast so they have good overlapping views. You'd have a slowly blinking IR beacon on each collar. The two cameras would capture the position of the beacon and you could compute the angles and thus the approximate position and distance to the collar. A separate IR sensor could be used to time the width of the IR pulse for identification.
Or two Wii Mote cameras? (Less expensive than two CMUcam4s.)
You might be able to do it with one Wii camera and use three IR LEDs (not colinear) on the dog. I think this method (a single Wii camera) might be harder to get to work since it's unlikely you could get the three LEDs spaced far enough apart from each other to get much precision in the measurements.
http://forums.parallax.com/showthread.php?139684-XBee-Locator-Beacon
You will need to incorporate a directional antenna on the bot, shouldn't be too hard.
And not to be a nag, but using visible lasers outside can get you in a heap of trouble these days.
the bluetooth idea sounds intresting would 5 cheap ebay modules 1 master and 4 slaves work, instead of headsets? what is rssi
Put a camera on your bot, download roborealm. Put something on the dog that could be a visual cue, or take a bunch of pics of the dogs from multiple angles. Roborealm will pick them up. The camera will always need to be scanning around you though.
You might need to use an wifi IP cam to send the video to a computer then commands back to the bot via xbee, unless your robot has some decent CPU power.
Some of the projects you mention are pretty intensive, you'll find a bunch of different solutions but the best way is to implement a few of them then put an arbitrator in the mix for accuracy.
Also my dog loves it when EMIC talks to him.
http://www.rentron.com/PicBasic/RemoteControl.htm
The low-power transmitters and receivers are under $10 and the receivers have RSSI output which you could probably read with a delta-sigma ADC on the propeller. RSSI is a lot more approximate than ultrasonic time of flight but it has the advantage of going through dogs. You could drive those things with an extremely low-power and simple circuit (think 555 sending a different width pulse for each dog, at slightly different intervals so that if there's interference it will self correct). If you just want the bot to shut down when a dog is too close it could be as simple as looking for too-high RSSI and shutting down (you might not even need ADC, just a comparator).
As far as talking to the dogs I want to do this too and im hoping to have the bot have voice recognition. Originally I was going to use an enmic for speech but the more I think about it I think using a Rasberry PI is going to be the most bang for the buck as I can use some easy test to speech and voice recognition software all for less than an enmic, the PI would also be suitable for openCV or some machine vision software once they release the camera module
There are also lots of Nordic nRF24L01+ transceivers available on eBay for less than $3 each. These Nordic modules also have a RSSI output. You can get about 10 Nordic modules for the price of one XBee. The Nordic have lots of cool features (2Mbit/sec transmission, error check, auto retransmission, etc.) but they do require more pins than a XBee to control and they're not as easy to control as XBees. But for less the $3 each (I think you can get them for $2.50 if you buy ten at a time) they're hard to bet.
SparkFun also makes a little Nordic fob with these chips.
RSSI works depending on the type of signal. If you read up on how RFID works you'll see why some can and some can't. This is so far beyond my knowledge of RFID I don't even know why I'm still typing lol. If you read up on RFID you'll find a ton of info. But the way most RFID works like anti-theft at a store it would be very hard (maybe impossible) to return a signal strength.