Can a PIC18F4685 with a supply voltage of 5V communicate with an I2C device which has a supply voltage of 3.3V?
Thanx
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Thu Feb 07, 2008 11:53 am
You can do it without using level translators if you use software i2c
on any of the Port B pins, and use pull-up resistors connected to +3.3v.
This works with a 3.3v i2c chip because the i/o pins on Port B have
TTL input levels. You can use 3.3K resistors for the pull-ups. That's
a 1 ma pull-up, and it's equivalent to using 4.7K in a 5v circuit.
RageOfFury
Joined: 07 Feb 2008 Posts: 17 Location: Canada
Posted: Thu Feb 07, 2008 1:21 pm
Thanx for the reply. After discussing it with one of my teachers, he recommended I use a PCA9306, which is a I2C level translator.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum