I2C Hardwire

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Ron
Posts: 225
Joined: Wed Apr 11, 2007 6:15 pm
Has thanked: 2 times

I2C Hardwire

Post by Ron »

Hi,

I was reading through some I2C posts and found a reply by Ben. In it Ben states that the I2C lines need to be pulled up. Is this a requirement for all I2C programming (even if it is not done via I2C macros)?

I was about to order some PCBs that I designed and am using the I2C lines to talk to dedicated PCBs that I am going to use for servo and LED control.

Should I use 10K resistors to pull up the I2C lines?

Thanks

Ron

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: I2C Hardwire

Post by Benj »

Hello Ron

Yes your I2C lines SDA and SCL should both have pull up resistors of approx 4.7 - 10K to 5V.

Xsusakamei
Posts: 12
Joined: Sat Sep 15, 2007 11:40 pm

Re: I2C Hardwire

Post by Xsusakamei »

Hello!

For faster Speed the Pull-Ups must have 1,8k!
I use 2,2k for 400kb Speed and it works fine.

Xsusakamei
Greetings
J. Schol

Post Reply