Asked — Edited

Compass Compatibility With ARC

Hi , I have been shopping for sensors and reading about 2d mapping using.radar.extra.and I also read on some random sites that a good electronic compass is a good addition to get your robot correct orientation if it deviated from a original path avoiding a object or if the little guy.just.just drive perfectly straight. are these compass modules useful.to.tell your.robot which.direction to.go.or slightly correct.itself? I apologize for all the random periods because I just bought a new Samsung galaxy note and IM still getting use to it. The auto correct is changing words to what it thinks I should have said I guess lol


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

United Kingdom
#2  

I like the LEDs around the edge showing the direction. Its hard to say if its straightforward to intergrate to the EZB it doesn't say anywhere that I can find that its I2C probably isn't.

The Sure Electronics DC-SS503V100 already added by DJ to EZB is a better bet but difficult to obtain now as it looks like discontinued stock (in the UK in any case)

The device I like is SparkFun Compass Module - HMC6352 Product Code: SEN-07915 which has I2C and all the documentation perhaps someone on here has already added it to EZB or has another opinion

Canada
#3  

Found this Arduino code for it. (Might point us in the right direction) ;-)

Looks like it is serial, so it should work with the EZ-B if configured correctly.

#include 
#include 
void setup()
{
    Serial.begin(9600);
}
void loop()
{
     int i;
     compass c;
    i=c.data(2,3);
    Serial.println(i);
    delay(100);
}
Netherlands
#4  

Here's an Ebay link for the one DJ uses, orded mine a few weeks ago.

the link

United Kingdom
#5  

Thanks budeI0 looks like its from China let us know when you get it please

Spain
#6  

budel0 go! I was not able to find it on ebay and here it is! I'm also waiting to see if it works well, I guess that somehow affect the magnetic fields of the speakers if they are located near the sensor. I have also read in the tutorial DJ i2c connection cables must be short.

#8  

So I must use code there's no ARC option for a I've compass?