CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

I2C: PIC(5V) / Sensor(3.3V)
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mskala



Joined: 06 Mar 2007
Posts: 100
Location: Massachusetts, USA

View user's profile Send private message

PostPosted: Wed Apr 16, 2008 10:54 am     Reply with quote

Why do you not want to follow the earlier suggestion of the typical way to hook 3.3V I2C and 5V I2C devices together? A search will turn up the document from NXP or others, it is simply 2 mosfets and pull to appropriate voltage on each bus.
RageOfFury



Joined: 07 Feb 2008
Posts: 17
Location: Canada

View user's profile Send private message

PostPosted: Wed Apr 16, 2008 11:11 am     Reply with quote

mskala wrote:
Why do you not want to follow the earlier suggestion of the typical way to hook 3.3V I2C and 5V I2C devices together? A search will turn up the document from NXP or others, it is simply 2 mosfets and pull to appropriate voltage on each bus.

Alrighty then....It says that I need to use 2 discrete N-channel enhancement MOS-FETs. Any available in through-hole?
newguy



Joined: 24 Jun 2004
Posts: 1909

View user's profile Send private message

PostPosted: Wed Apr 16, 2008 11:33 am     Reply with quote

RageOfFury wrote:
....I need to use 2 discrete N-channel enhancement MOS-FETs. Any available in through-hole?


2N7000.
RageOfFury



Joined: 07 Feb 2008
Posts: 17
Location: Canada

View user's profile Send private message

PostPosted: Wed Apr 16, 2008 1:03 pm     Reply with quote

newguy wrote:
RageOfFury wrote:
....I need to use 2 discrete N-channel enhancement MOS-FETs. Any available in through-hole?


2N7000.
Alright well we don't have 2N7000s here so I went with an IRF520.

As for the 4 pull ups, what should I use?

Thanks Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group