Asked — Edited

I2c Help, Please.

It was hard to get the compass installed because of the short length of wires. But, I finally did it. Now, the Compass works. But, when I change directions or if it is on for about 5 to 10 seconds , after giving me directions, it disconnects the wireless from the EZ board.

weird, do you think I need some pullup or down resistors? Is this what is happening. do you have these resistors built into the EZB or do we have to add them?

mel


ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

PRO
Synthiam
#1  

You do not need resistors. Your wires are either too long, or they are picking up signals from each other. Wires are the wrong way to use the compass module because i2c can be flaky. You'll want to mount on a breadboard like i had done - or wait for the ez-bit

#2  

they are about an inch to 2".

Also, when I hooked my ping up, the motor in the servo moved, but both 04's are showing 255 distance and won't pickup the distance.

I will experiment some more. how did you do your bread board. You had said it has to be short wires so that is why I wired them directly.

sorry to have so many questions.

Thanks,

Mel

PRO
Synthiam
#3  

2" may be too long. don't ever appologize for questions:)

#4  

thanks, I am going to go back and watch the tutorials.

#5  

OK, I have figured out the PING problem. I have wired several PING systems in the past and so I wired them for the Ping and put the extra wire as an echo. But I should've wired them for the HC_SR04. Silly Me.

The Ping is working now, but the problem still exist on the compass. I have to give it some more thought and read more posts and tutorials. Let me know if you think of something I can try.

As always, Thanks,

Mel

#6  

*** THIS IS ABOUT THE COMPASS PROBLEM. PING PROBLEM FIXED. ****

I have measured the wires and they are one inch long. The SURE people says that the wires can be upto 3" without a problem. What else can i do? Thanks,

Mel

United Kingdom
#7  

Pop the compass wires through ferrite beads

#8  

Have you done this before? I could probably do this. Thanks for the idea. Do you mean all four wires or just the two signal wires without hot and ground?