Where to start with GPS and accelerometer.
cbmeeks
Posts: 634
I have a side project that just came up. I'm an amateur at best so please forgive any dumb questions.
While I've been using the propeller for some audio/video stuff, that has all been purely for my gaming fun. But I have another project (or potential project) that could turn into something more.
Anyway, I want to start slow but the general idea would be a drone that would relay its GPS coordinates and accelerometer coordinates. The drone would eventually do other things but for now, I just want to communicate with it. Imagine a little drone flying around a room and recording items on a shelf.
So I figured the best thing to do is simply get a GPS and/or accelerometer module, put it on a breadboard and walk it around for now. I can worry about the actual "flying machine" later on.
But, doing a quick search on Parallax and SparkFun indicate there are several GPS/accelerometer modules and they look pretty pricey. $50+ for something that is just a proof on concept (on my own dime) is pretty hefty. :-)
However, I'd be willing to go by the suggestions here and if a $$ kit is what I need then so be it.
OK, so, being a total GPS/accelerometer newbie, here is what I would like help finding if possible:
GPS and accelerometer "chip/module/breakout board"
Resolution good enough to know it's on the "left" side of a large room or the "middle" of a large room, etc.
Accelerometer resolution to know that it's at the bottom of a tall shelf or the top.
None of this is probably making sense. But, like I said, imagine a small drone who has a job of going from shelf to shelf and scanning objects.
Of course, propeller drivers for the hardware would be great too but I am also familiar with Atmel products.
Thanks
While I've been using the propeller for some audio/video stuff, that has all been purely for my gaming fun. But I have another project (or potential project) that could turn into something more.
Anyway, I want to start slow but the general idea would be a drone that would relay its GPS coordinates and accelerometer coordinates. The drone would eventually do other things but for now, I just want to communicate with it. Imagine a little drone flying around a room and recording items on a shelf.
So I figured the best thing to do is simply get a GPS and/or accelerometer module, put it on a breadboard and walk it around for now. I can worry about the actual "flying machine" later on.
But, doing a quick search on Parallax and SparkFun indicate there are several GPS/accelerometer modules and they look pretty pricey. $50+ for something that is just a proof on concept (on my own dime) is pretty hefty. :-)
However, I'd be willing to go by the suggestions here and if a $$ kit is what I need then so be it.
OK, so, being a total GPS/accelerometer newbie, here is what I would like help finding if possible:
GPS and accelerometer "chip/module/breakout board"
Resolution good enough to know it's on the "left" side of a large room or the "middle" of a large room, etc.
Accelerometer resolution to know that it's at the bottom of a tall shelf or the top.
None of this is probably making sense. But, like I said, imagine a small drone who has a job of going from shelf to shelf and scanning objects.
Of course, propeller drivers for the hardware would be great too but I am also familiar with Atmel products.
Thanks
Comments
Accuracy comes with a price. Cheap GPS's will not get a signal inside a house.
The new Parallax GPS:
https://www.parallax.com/product/28509
has pretty good accuracy, (<2 meters), but that is outside under ideal conditions. Inside, (if you can get a signal), is less than ideal, it has an accuracy of >2.5 meters, (7' or so).
That will not map an interior room to any accuracy.
http://hobbyking.com/hobbyking/store/__31135__NEO_6M_GPS_Module.html
It is better with relative displacements than it is with absolute position. So as you moved around the house you would notice changes in Lat and Lon.
I don't think you'd find accelerometer data as useful as you imagine...such as in determining whether you're on the top shelf or bottom shelf. A double integration of accelerometer measurements to obtain position would be wildly subject to drift, for example. OTOH, they're pretty effective in determining orientation wrt gravity. So for yaw roll and pitch...
What would you guys recommend in the $50 - $100 range?
Also, that's why I was *assuming* that a accelerometer would makeup for the inaccuracies of the GPS indoors. I was thinking maybe the drone could register itself with 4 known spots.
For example, think of a shelf having four barcodes in the TL, TR, BL, BR corners. The drone would scan those codes and "mark" it self there. Then it would be a matter of divide/conquer for locating other shelves, etc. within those bounds.
Of course, finding the four markers is another problem but you get the idea.
Thanks.
The Pam modules are one of the best out right now. See Parallax item I quoted.
The accelerometer can not compensate for the inaccuracies of the GPS, the data from the two do not compliment each other.
The cheapest experiement might be done with a 9DOF or 10 DOF IMU module from ebay. There are not the greatest, but they are the cheapest. Once you get one of those figured out inside the room, then look into the fancy GPS offerings, for outside in the park.
Oh, and the room size is a little bigger than 30 meters per side. It's 1.5 million square feet. LOL
There are methods, now fairly well discussed in other threads here and on the Internet, of using various types of beacons for finding a position within a defined space. I believe Pololu has such a system, though I don't think it's $50-100. You need ideally three, beacons to locate yourself within a grid. Since you're flying, your work is made more difficult because you no longer can rely on simple plane geometry to triangulate your position.
Another method, more complicated but more flexible, is a "navigational star" projection onto the ceiling. A camera on your drone pointing up captures the projection of dots in a particular pattern. The angle and position of the dots can be correlated into position. I imagine you'd need the drone to fly level for each reading; the IMU can be used for that.
If you have a CMUCam or other video camera/image processor, you could perhaps "teach" your drone to recognize objects in your room. Doorways and windows are a good place to start, and work well if your vision system can detect outlines (some of these are just simple color blog analyzers). For ease in programming, you might need to fly a specific height. Here's where a couple of Pings -- one mounted under, the other on top -- that report distance to floor and ceiling, assuming 8-12 foot ceilings. These are well beyond the $100 range.
That's what I'm afraid of. The "well beyond $100 range" seems to pop up quite a bit in this field. Not sure the pings would work seeing that the floor to ceiling is probably 40-50' or more. But I can't believe the ideas that are swarming (no pun) in. I didn't think about the navigational star method but I like that.
One thing I was also aiming for was to be able to fly in the dark. Some of these buildings aren't 24/7 so they power down at night. Perfect time to collect inventory while the lights are out.
Anyway, lots to think about.
Thanks
http://en.wikipedia.org/wiki/Indoor_positioning_system
In addition there are the vision analysis and other methods I briefly noted.
For the Ping, you wouldn't need one for the ceiling if you always get within 6-8' or so of the floor in order to take a picture snapshot. You just need to be more or less at the same plane in order for the camera to reliably recognize the major objects in the room.
That was a very good reference. Thanks!
I particularly enjoyed the magnetic positioning. Seems like that would be an awesome problem to work on. :-)
A couple of those and an infra-red emitting diode or two on your quad and you could use an external system to locate it within the space, and transmit the rough location back via XBee or something. It's crazy enough it might work, and it wouldn't cost thousands to implement.