Compass AppMod Question
Chris Savage
Parallax EngineeringPosts: 14,406
Before I ask this, I have plenty of Electronics Experience (Engineer) in Electronics (For those who don't know me), and plenty of experience with the BS2 and many Parallax products.· However, I have zero experience with the Compass AppMod, and while I haven't tried to run any code for it yet, in simply plugging it into a BOE-Bot, I am left with a puzzling question...
The AppMod header on the BOE-Bot faces backward.· Thus plugging the Compass AppMod in has everything reading backwards.· This is of course just plugging it in and powering it up.· It appears to function as a normal Compass in this mode, with the exception of it being backward.· Is this a normal function?· Obviously in code I could compensate for this, but I thought maybe there was a command to "flip" the readings without decoding them different.
Also, I think (based on observation) that the direction is off just a little, but this particular unit has glue holding the adjustment screw in place.· Is the glue normally there?· I'd love to start using this Compass AppMod.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
The AppMod header on the BOE-Bot faces backward.· Thus plugging the Compass AppMod in has everything reading backwards.· This is of course just plugging it in and powering it up.· It appears to function as a normal Compass in this mode, with the exception of it being backward.· Is this a normal function?· Obviously in code I could compensate for this, but I thought maybe there was a command to "flip" the readings without decoding them different.
Also, I think (based on observation) that the direction is off just a little, but this particular unit has glue holding the adjustment screw in place.· Is the glue normally there?· I'd love to start using this Compass AppMod.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
I guess I just was hoping for someone who had used it to confirm that this is intentional (Being backward) or if I am supposed to be able to re-calibrate the device when it's connected to a Boe-Bot.· But nobody knows, and mine came glued in place.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
It should work fine but youll have to find a different way to mount the compass onto your BOE-bot.
Maybe it can be mounted between the chasis and carrier board. Only problem with mounting it there would be the fact that you couldnt see the LED's on the appmod.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
direction = direction + 4 // 8
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
I am guessing, but this may be worth a try.
It seems that if this is a symmetrical reversal, you could just put together a short ribbon cable -- then bend it into a U-shape -- and have the problem solved.
By the way, I am very interested in adding a compass module to my toddler eventually as I think that it might be far more useful in having the little guy learn to roam autonomously than GPS.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
G. Herzog in Taiwan
http://www.lightlink.com/dream/chris/boebots.htm
I want to have one Bot (Presumably the Crawler Bot) work off the Compass AppMod.· And one from GPS (The Tank Tread Bot).· I have one Bot that has the Digital Encoder Kit, so I want to add something to that, but I am thinking maybe a more precise Compass Module of some sort.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
As mentioned above, I was thinking of putting the compass unit on my Toddler, but I fear that it must remain flat and level to function.
Since the Toddler swings from side to side, I am worried that I would have to figure out a platform for it.
Is that correct?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
G. Herzog in Taiwan
·· I do believe it would affect the Compass AppMod being on a Toddler Bot.· I tried it today on the Crawler, and it was even a little screwy when you're kinda between two directions...It kinda jumps a little...Which makes me think it's a good thing the Compass AppMod doesn't have better resolution or it would be more prone to glitching like that.· As it stands, due to only 8 directions of resolution, when the Crawler corrects, it doesn't do it much after that until it turns significantly again...Of course, I am using sloppy beta code right now...Testing routines to use it.· So much to do, so little time!
I wanted to add...I know there are gimbled compass modules available that adjust for axis, but I don't know how easily they'd interface to the BS2...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
Larry
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
·· I just started playing with my compass Appmod yesterday and found out just how sensitive it is to tilting. I actually want to use this thing in the great outdoors, so I'm going to try to build a Very Simple gimbal for it. If I get it working, I'll post pictures.
I have the appmod compass...went through all the problrms...as for a ribbon cable...if you connect it to the bottom as to change the "stack" its wrong no matter what you do.....my problem wa with the speech board...I wanted it to be the first board, then the BOE on top so the
IR sensors - the work area - was on top..then I added the compas mod.....
First the BOE board has no pins on the bottom...the fix was to solder a male-male header to the bottom of the board..now the BOE board can sit on the speach board.......you need spacers and screws to get this done.
second now I want to get the compass to go to the speech board to speak the compass headings .. guess what -- no words for the headings..
still working on the
ill take any help..
hope this helps out..!!