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

18FxxKxx

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
championx



Joined: 28 Feb 2006
Posts: 151

View user's profile Send private message

18FxxKxx
PostPosted: Tue Nov 05, 2013 9:43 am     Reply with quote

Hi! i have a question... its kind of a dummy question...

Can i use a 18F26K20 (for example) or any K series PIC with some 5v peripherals? like LCD? how do i have to interface them? is the PIC 5v tolerant?

thanks
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Tue Nov 05, 2013 10:01 am     Reply with quote

Multiple parts to this.

Some peripherals have inputs that can be operated by 3.3v outputs. These the PIC can then control.
Then the signals coming back. Some PIC's have 5v tolerant inputs. the 26K20 doesn't. Look at chips like the 24/25J10 for this. These have inputs that can tolerate up to 5.5v on some pins.

There are 3.3v LCD's.

As it stands, you could connect most 5v LCD's directly, provided you use flex_lcd, and the 6 wire interface. This doesn't require any return connections from the LCD. If you want to R/W connection, then this would need a resistive divider back to the PIC.

Best Wishes
championx



Joined: 28 Feb 2006
Posts: 151

View user's profile Send private message

PostPosted: Tue Nov 05, 2013 11:13 am     Reply with quote

Thanks a lot Ttelmah, helpful as always! I will take a look at the 26JXX series.
yerpa



Joined: 19 Feb 2004
Posts: 58
Location: Wisconsin

View user's profile Send private message Visit poster's website

PostPosted: Mon Nov 11, 2013 1:33 pm     Reply with quote

From 18F46K22 data sheet: Full 5.5V Operation – PIC18FXXK22 devices. I've used the 18F46K22 at 5 volts, it works very well.
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Nov 11, 2013 1:41 pm     Reply with quote

yes, I have to 2nd the 18F46K22 !

I call it the 'Swiss army knife' of PICs. Has tons of memory, peripherals, I/O, etc. It's my #1 PIC in the shop.

hth
jay
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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