Asked — Edited

I2c Compass Questions

Hello DJ and the others, I know I am most likely beating a dead horse here. I was posting in a different forum about my issues with the Sure compass. So I am now starting a new post to hopefully get some things straight. My issue is the EZ-B and ARC lock up in 10 seconds after the I2C compass control is opened in ARC. I know there is nothing wrong with the EZ-B or the ARC. They both work flawlessly up to the point I insert the I2C compass window in ARC. After 10 seconds of readings the white light on the EZ-B goes out and ARC locks up to the point I have to Ctrl/Alt-Del to get out of it. DJ and the others on here were telling me my wires are too long. I went from " to about 6mm now on a pc board. I have 2- 10 Ohm resistors from 5+ to the SDL and SDA pins. That gained me a whole 5 seconds more of operation. I have read that some have put the resistors on the ground side. I ready don't know at this point what else to do. I thought it was my on board mini ITX, the Wi-Fi radio, the Bluetooth radio or and other interfering device. So I disassembled my robot completely. I now just have the EZ-B, an usb TTL adapter, the compass module and the desktop pc running. So there is no other chance of interference for anything. I am just running out of ideas. Any help would be grateful.

User-inserted image

User-inserted image

User-inserted image

confused


ARC Pro

Upgrade to ARC Pro

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

Ireland
#9  

sorry to hear you are not having success only suggestion I can make ,as the length of wire to EZ-B is critical is to insulate the wire from both resistors to SCL & SDA (thats the only difference on my connections ) Is it possible you have any residue on solder contacts especially between scl & sda) if all fails I would use two servo cables and remove the adaptor board, giving you a direct connection to compass. ps Just in case but you have probably checked already ,is battery power ok.

#10  

I will give all the a try. I know I don't have a battery problem, I am using a 12v 900 amp dry cell car battery. So I have plenty of power. I might look at the power at the I2C ports to make sure thay are correct and maybe I will hook my scope to the compass module to see what it's doing as well. Thanks for all the suggestions. I will keep posting my progress.