Dual Axis Compass

 
#1

I have order a Dual Axis Compass for my EZ-B. Please give me a wiring plan.
Thank you very much

#2

Sure thing Smile

Connect the SDA pin of the compass to the SDA of the i2c interface on EZ-B
Connect the SCL pin of the compass to the SCL of the i2c interface on the EZ-B
Connect the VCC pin of the compass to the +5 of the i2c interface on the EZ-B
Connect the GND pin of the compass to the GND of the i2c interface on the EZ-B

I noticed the compass i2c is a little strange for wire distance. I kept my wires very short (less than 2 inches). If u make the wires longer, you may need additional pull-up resistors.

MovieMaker had used 10k ohm pull-up resistors: http://www.ez-robot.com/Community/Forum/posts.aspx?threadId=1303&page=2

Hope that helps Smile

#3

Hello DJ Thank you very much,
do you mean with SDA and SCL (i2c) from the EZ-B the digital Ports D0-D19?

#4

From the EZB I2C port

#5

which is the I2C Port?
see the Picture?
User-inserted image

#6

Top left of that picture I believe, the markings should read SCL, SDA, 5V & GND

#7

Thanl you

#8

The tutorial will help you. This is the link to the "Learn your EZ-B" step, it's a good one to know: http://www.ez-robot.com/Tutorials/Default.aspx?id=2


User-inserted image

Smile

#9

Yes thats good, Thank you very much!
Sven