Looking for a recommendation for a inexpensive PIC, in a DIP28 package, plenty of memory, and with 2 UARTS, that I can flexibly assign the TX/RX pins to about any pin I want? Normal accoutrement of A2D, PWM, etc.
Anyone have experience on what makes sense?
Thanks!
Last edit: Randall Young 2018-09-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Lots of parts... but I would only recommend very few.
PIC16(l)F188xx.
The K42 and the new 16f19xxx are too new. You will simply hit issues. I have 8 open tickets on the 19xxx parts. The K42 is a totally different architectures.
This is list of programmer software that is needed per device class. I have just order a lot of parts - I am totally confident that PICKit Plus will program them all.
PIC12LF1552, PIC16LF155X/6X and PIC18F26K83 ordered already.
28kb Flash, 2kb RAM, 2 UARTS, bunch of timers and other peripherals AND ..... 256 bytes of REAL EEPROM. And also has one of my favorites peripherals, a 24-bit Signal MeasurementTimer.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've used pic18f25k22 ok but just trying to buy a pic18f25k40, just one, is a chore,no success.
What logic level does it run at? Does it say somewhere?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On the subject of logic levels all modern PIC devices come in either an F or LF variant.
The parts with an F have Operating voltage range of 2.3V to 5.5V
Whilst the LF parts have Operating voltage range of 1.8V to 3.6V
The logic level will be whatever you choose as the supply voltage so, depending on the part number and its power supply, the High Logic Level could be anything from 1.8 to 5.5 volts.
Bottom line there is no defined Logic Level, it is a design choice that you make when you power your chip.
If you need 5V logic level then use a PIC1xF part and power it with 5V.
If you want 3V3 logic levels you can use an F or an LF part and run it at 3V3.
Best way to test if you do not have a board schematic is to set a pin high and measure the output voltage to Vss.
Cheers
Chris
Last edit: Chris Roper 2018-09-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And always consult the current errata document - I noticed in a recent errata for the PIC18LF27/47/57K42 family that the LF would not run at 1V8 per the datasheet, but needed 2V.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am stuck in my ways assuming micro controllers were 5V and strict or later 3.3V.
Could my 328p uno/nano work off 3.3V..not through usb but there's a 3.3V pin. It's just to control devices that need 3.3V logic.
My ili9341 needs 3.3V logic and using resistors is a drag..logic converters need 3.3 and 5V..yawn
If it is a board which, as you asked aboout Uno/Nano, I assume it is, you will need a shematic for the board not the datasheet for the chip.
If the board has a jumper, to select power to the 328p, then that would also set the logic level but if the voltage is fixed then so is your logic level.
Last edit: Chris Roper 2018-09-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
asssuming a 328p can run at 3.3V then hacking a uno/nano board for personal use would be interesting. I'll find a board circuit and see what can be done.
It seems E.Venn had a 5V logic ili9341 when he wrote the lib.
as I said, I assumed 5V was critical for a 5V chip and wdtwas for brown outs.
I like using 328p with gcb as there's no setting up that stuff and I can get on with programming not setting up osc and pps stuff.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Latest PICkitPlus software supporting the range of devices as shown on the Microchip 8-bit preferred list of devices - there are now 925 devices supported by PICKitPlus.
Software Suite
PICkitPlus Suite or MPLAB-X suite
PICKIT 2 or 3 Software
PIC10(L)F3XX
Yes
Yes
PIC12LF1552
Yes
No
PIC16LF155X/6X
Yes
No
PIC16(L)F145X
Yes
Yes
PIC1X(L)F157X
Yes
Yes
PIC16(L)F153XX
Yes
No
PIC1X(HV)F752/53
Yes
Yes
PIC1X(L)F1612/3
Yes
Yes
PIC16(L)F170X
Yes
Yes
PIC16(L)F171X
Yes
Yes
PIC16(L)F176X/7X
Yes
No
PIC16(L)F183XX
Yes
No
PIC16(L)F184XX
Yes
No
PIC16(L)F188XX
Yes
No
PIC16(L)F191XX
Yes
No
PIC18(L)FXXK40
Yes
No
PIC18(L)FXXK42
Yes
No
PIC18(L)FXXJ94
Yes
No
PIC18(L)FXXK83
Yes
No
PIC18FXXQ10
Yes
No
Last edit: Anobium 2018-10-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Howdy all!
Looking for a recommendation for a inexpensive PIC, in a DIP28 package, plenty of memory, and with 2 UARTS, that I can flexibly assign the TX/RX pins to about any pin I want? Normal accoutrement of A2D, PWM, etc.
Anyone have experience on what makes sense?
Thanks!
Last edit: Randall Young 2018-09-20
http://ww1.microchip.com/downloads/en/DeviceDoc/30010068F.pdf
Lots of parts... but I would only recommend very few.
PIC16(l)F188xx.
The K42 and the new 16f19xxx are too new. You will simply hit issues. I have 8 open tickets on the 19xxx parts. The K42 is a totally different architectures.
So, look at the 188xx's.
Last edit: Anobium 2018-09-20
More info. I like the 28pin devices. I use the following.
16F18855, 16LF18855, 18F25k42, 18F26k42, 18F27k40, 16F19156 (argghhh!), 16F886, 16F1938, 18F27J53.
I posted this information just to show that I am not bias to the wonderful, all singing, all dancing 16F18855. :-)
I've had very good luck with the PIC16F88X parts, not the newest, but completely reliable.
Programmer software needed to support your choice
This is list of programmer software that is needed per device class. I have just order a lot of parts - I am totally confident that PICKit Plus will program them all.
PIC12LF1552, PIC16LF155X/6X and PIC18F26K83 ordered already.
Evan
Last edit: Anobium 2018-09-20
Thank you for your erudite answer. Looks like the PicKit+ will be very useful in this regard!
I would go with the 16F18456.
28kb Flash, 2kb RAM, 2 UARTS, bunch of timers and other peripherals AND ..... 256 bytes of REAL EEPROM. And also has one of my favorites peripherals, a 24-bit Signal MeasurementTimer.
Ah, that's an excellent choice... under 2.00$ US
https://www.digikey.com/product-detail/en/microchip-technology/PIC16F18456-I-SP/PIC16F18456-I-SP-ND/9553694
https://www.microchip.com/wwwproducts/en/PIC16F18456
Last edit: Randall Young 2018-09-21
I like the PIC18F25K40 ($US 1.58 from MCHP) ... 64MHz, 128K Flash, 3728 SRAM, 1K EEPROM.
I've used pic18f25k22 ok but just trying to buy a pic18f25k40, just one, is a chore,no success.
What logic level does it run at? Does it say somewhere?
On the subject of logic levels all modern PIC devices come in either an F or LF variant.
The parts with an F have Operating voltage range of 2.3V to 5.5V
Whilst the LF parts have Operating voltage range of 1.8V to 3.6V
The logic level will be whatever you choose as the supply voltage so, depending on the part number and its power supply, the High Logic Level could be anything from 1.8 to 5.5 volts.
Bottom line there is no defined Logic Level, it is a design choice that you make when you power your chip.
If you need 5V logic level then use a PIC1xF part and power it with 5V.
If you want 3V3 logic levels you can use an F or an LF part and run it at 3V3.
Best way to test if you do not have a board schematic is to set a pin high and measure the output voltage to Vss.
Cheers
Chris
Last edit: Chris Roper 2018-09-26
Although always check the datasheet: The PIC18FxxK20 run at 1.8-3.6v
And always consult the current errata document - I noticed in a recent errata for the PIC18LF27/47/57K42 family that the LF would not run at 1V8 per the datasheet, but needed 2V.
I am stuck in my ways assuming micro controllers were 5V and strict or later 3.3V.
Could my 328p uno/nano work off 3.3V..not through usb but there's a 3.3V pin. It's just to control devices that need 3.3V logic.
My ili9341 needs 3.3V logic and using resistors is a drag..logic converters need 3.3 and 5V..yawn
Last edit: stan cartwright 2018-09-26
What does the datasheet say? And any errata?
where to start, google 328p 3.3v and away I go..not
If it is a board which, as you asked aboout Uno/Nano, I assume it is, you will need a shematic for the board not the datasheet for the chip.
If the board has a jumper, to select power to the 328p, then that would also set the logic level but if the voltage is fixed then so is your logic level.
Last edit: Chris Roper 2018-09-26
asssuming a 328p can run at 3.3V then hacking a uno/nano board for personal use would be interesting. I'll find a board circuit and see what can be done.
It seems E.Venn had a 5V logic ili9341 when he wrote the lib.
as I said, I assumed 5V was critical for a 5V chip and wdtwas for brown outs.
I like using 328p with gcb as there's no setting up that stuff and I can get on with programming not setting up osc and pps stuff.
Latest PICkitPlus software supporting the range of devices as shown on the Microchip 8-bit preferred list of devices - there are now 925 devices supported by PICKitPlus.
Last edit: Anobium 2018-10-21