|
Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment. |
|
Thread Tools |
11th Nov 2022, 12:25 pm | #1 |
Pentode
Join Date: Nov 2022
Location: Chesham, Buckinghamshire, UK.
Posts: 135
|
PCB for Microchip PIC14
As a bit of sideline while I get the things sorted to build my replica Mk14, I thought I would give the PIC14 a go. It looks like the info in EasyEDA is readily available for a slightly updated version but I just wanted to check before I placed a PCB order, that this is the best way to go for a PIC14 type board
|
11th Nov 2022, 8:53 pm | #2 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,119
|
Re: PCB for Microchip PIC14
Hi David, first you need to decide which version - the smaller PIC16F876 PCB is really cute and pocket-size handy, but Philloupat's larger PIC16F877 version is more MK14 sized and has all the flags brought out for experimenting with I/O - in addition to the obvious LEDs mine has driven servos, 240v solid-state relays, speakers... which you cant so readily do with the small one. But the small one is so cute! Both have a serial loader. The obvious answer is to build one of each!
|
12th Nov 2022, 8:41 am | #3 | |
Pentode
Join Date: Nov 2022
Location: Chesham, Buckinghamshire, UK.
Posts: 135
|
Re: PCB for Microchip PIC14
Quote:
|
|
12th Nov 2022, 1:21 pm | #4 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,577
|
Re: PCB for Microchip PIC14
DavidMS, I have a bare unbuilt 'Philoupat' PIC14 PCB which its creator kindly gave me in exchange for one of the first batch of MK14 issue VI PCBs.
It is the second version of his PIC14 PCB shown from post #9 onwards of this now closed thread, and it uses a 40-pin PIC16F877 so it does emulate the limited I/O of the SC/MP itself (but not the 16 lines of the RAM / I/O IC). https://www.vintage-radio.net/forum/...d.php?t=166631 I already have a more compact PIC14 90% built, so I would be glad to pass this PCB on to you if you would like it. PM me if interested. |
12th Nov 2022, 1:34 pm | #5 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,577
|
Re: PCB for Microchip PIC14
You might also be interested in the comprehensive feature updates added by forum member George60 (who we sadly haven't heard from for a while) later in that thread.
|
16th Nov 2022, 6:55 am | #6 |
Triode
Join Date: Dec 2021
Location: Michigan, USA
Posts: 40
|
Re: PCB for Microchip PIC14
May I impose to ask if anyone has the Gerber files for the PIC14 PCB that uses the 40-pin PIC, please? The schematic I have is labeled picv4.pdf.
TIA. Stay safe. Cheerful regards, Mike, K8LH (Michigan, USA) |
16th Nov 2022, 8:53 am | #7 | |
Octode
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,297
|
Re: PCB for Microchip PIC14
Quote:
https://www.vintage-radio.net/forum/...7&postcount=76 |
|
16th Nov 2022, 9:24 am | #8 | |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,577
|
Re: PCB for Microchip PIC14
The version I'm sending off to DavidMS later does have some minor physical (but not circuit) errors which are detailed in the thread, mainly to do with the physical placements of the power socket, serial-TTL converter module and extension connector. This was Philoupat's summary:-
Quote:
|
|
16th Nov 2022, 1:11 pm | #9 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,119
|
Re: PCB for Microchip PIC14
Hi Mike, hope you're doing ok
Using PCBway's online gerber viewer I checked the attached file against my own PIC14 and its identical. My PCB came directly from Philoupat so I think this is the 'current' version (16/05/2020) - the CH340G usb module (between the crystal and Q9) is 'a bit central' by maybe half an inch but works fine. Theres a switch to set (a define) in the source to say whether the intel hexloader is started by default. If enabled (mine is), then a 'SC/MP reset' is required to bypass it. Last edited by Phil__G; 16th Nov 2022 at 1:26 pm. |
27th Nov 2022, 11:48 am | #10 | |
Pentode
Join Date: Nov 2022
Location: Chesham, Buckinghamshire, UK.
Posts: 135
|
Re: PCB for Microchip PIC14
Quote:
Now I guess I need to try and program something.... |
|
27th Nov 2022, 12:25 pm | #11 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,577
|
Re: PCB for Microchip PIC14
Nice to see it working David, I'm glad it has found a good home.
I think that display would be fine as-is if you could find a red filter the exact size of the overall display assembly - does anyone know where to find those strips of stiff red plastic filter sheet nowadays? I know what you mean about the way the price of common or garden basic LED calculators seems to have taken off - I have a Texet 880 here, one of several I bought for no more than £3-£4 a couple of years ago with a view to it being a potential display donor but this remaining one is in such immaculate condition that I wouldn't have the heart to dismantle it for its display. The others were all damaged in some way, keys missing, overlay dented, battery cover missing and priced accordingly so I didn't feel too bad about repurposing their displays, one of which is on my issue VI replica now. |
27th Nov 2022, 1:09 pm | #12 | |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,119
|
Re: PCB for Microchip PIC14
Quote:
However I've noticed a bit of an anomaly which I've not dug into yet: The Intel hexloader works fine, but doesnt save like manually entered programs do. Karen used spare PIC registers in 4 banks in combination with flash to give 256 bytes of non-volatile memory, and all SC/MP writes to memory also update these registers appropriately, so a program is retained during power-off. The hexloader seems to do writes to ram but not to the flash so although it works fine, hexloaded programs are not retained during power-off, and, IIRC, a PIC reset clears a hexloaded program. At least on mine anyway! I am looking at it but its one of many projects atm. Another PIC14 will be born soon, the smaller one - a pal 'Wiggles' has asked for a programmed 876... Last edited by Phil__G; 27th Nov 2022 at 1:19 pm. |
|
27th Nov 2022, 3:50 pm | #13 |
Octode
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
|
Re: PCB for Microchip PIC14
I beleive the "non-volatile" function only applies to bytes set by the SCIOS monitor code (IE stuff you key in), so anything written by the hex loader or a user program does not get saved to EEPROM (because if it did, updates to variables would quickly "wear out" the EEPROM).
|
27th Nov 2022, 4:50 pm | #14 |
Octode
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,119
|
Re: PCB for Microchip PIC14
Its been over a year since I looked at this and I've forgotten how far I got but I think it might be the inability to write EEPROM at serial speeds (9600) thats the reason Karen didnt store hexloaded programs - its not EEPROM longevity - from the datasheet "The EEPROM Data memory is rated for high erase/write cycles (specification D120) ... EEPROM data memory can be used to store frequently updated values." I'll have to have another look & try to remember where I got to... the nonvolatile thing is brilliant, especially for demos, but you cant be keying everything in manually....
Maybe try to follow up a hexload with EEPROM block write rather than a received byte at a time. Last edited by Phil__G; 27th Nov 2022 at 5:05 pm. |
27th Nov 2022, 5:11 pm | #15 | |
Octode
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
|
Re: PCB for Microchip PIC14
Quote:
|
|
27th Nov 2022, 5:41 pm | #16 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,577
|
Re: PCB for Microchip PIC14
If you were desperate to make hexloaded programs 'stick' then one of the keypad entry uploaders would do it because they enter the code using keystrokes the way a human operator would, although I don't think the PIC14 boards have a convenient external keypad connector like the full scale replicas do.
|
28th Nov 2022, 8:52 am | #17 | |
Pentode
Join Date: Nov 2022
Location: Chesham, Buckinghamshire, UK.
Posts: 135
|
Re: PCB for Microchip PIC14
Quote:
If you are looking to re-lay the PCB might I suggest adding a PIC in-circuit programming connection so a PICKIT can easily be connected. It might need a jumper to disconnect the display from PGC & PGD if the loading upsets the programming |
|
28th Nov 2022, 10:54 am | #18 |
Octode
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
|
Re: PCB for Microchip PIC14
I did this on mine the belt-and-braces way! My PIC14 had a plug in display, so i just unplugged it to isolate it.
|
28th Nov 2022, 11:20 am | #19 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,577
|
Re: PCB for Microchip PIC14
I think you would have to appeal to Philoupat83 to get that change officially made but unfortunately he has not visited the forum (or at least not posted) for quite a while now.
...Unless Phil posted the design files for his current design as well as the gerbers? |
28th Nov 2022, 2:12 pm | #20 | |
Pentode
Join Date: Nov 2022
Location: Chesham, Buckinghamshire, UK.
Posts: 135
|
Re: PCB for Microchip PIC14
Quote:
|
|