View previous topic :: View next topic |
Author |
Message |
championx
Joined: 28 Feb 2006 Posts: 151
|
18FxxKxx |
Posted: Tue Nov 05, 2013 9:43 am |
|
|
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: 19520
|
|
Posted: Tue Nov 05, 2013 10:01 am |
|
|
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
|
|
Posted: Tue Nov 05, 2013 11:13 am |
|
|
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
|
|
Posted: Mon Nov 11, 2013 1:33 pm |
|
|
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: 9229 Location: Greensville,Ontario
|
|
Posted: Mon Nov 11, 2013 1:41 pm |
|
|
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 |
|
|
|