Title: Simple Parallel to Serial PIC based Interface Post by: The_Mole_763682 on March 23, 2011, 05:27:40 17:27 Hi Everyone,
The first project I would like to share with you is one made out of a need to grab the printed output from a piece of medical equipment that only had a parallel port. It is currently fixed at 38,400 baud on the serial port but this is simple to change. As the code is only 5% of the memory space on the Pic16F716 / PIC16F819, you can make whatever changes you want. Attached are the Eagle Schematic and board, as well as the source code in C (CCS PICC compiler v3). (Zipped - no password) Any questions, please ask. edit: added BRD/SCH! (took out copyright info ;) -Mole Title: Re: Simple Parallel to Serial PIC based Interface Post by: sadman on March 24, 2011, 09:02:59 09:02 Hi Everyone, The first project I would like to share with you is one made out of a need to grab the printed output from a piece of medical equipment that only had a parallel port. It is currently fixed at 38,400 baud on the serial port but this is simple to change. As the code is only 5% of the memory space on the Pic16F716 / PIC16F819, you can make whatever changes you want. Attached are the Eagle Schematic and board, as well as the source code in C (CCS PICC compiler v3). (Zipped - no password) Any questions, please ask. -Mole hi friend there is no board and schematic in your upload only code regards sadman Title: Re: Simple Parallel to Serial PIC based Interface Post by: The_Mole_763682 on March 24, 2011, 10:02:42 10:02 Hi Sadman,
Sorry about that.. Uploaded this morning! -Mole Title: Re: Simple Parallel to Serial PIC based Interface Post by: LazBoy on March 26, 2011, 10:45:53 10:45 Could you add "ParSer1.h" header file also.
Title: Re: Simple Parallel to Serial PIC based Interface Post by: The_Mole_763682 on March 26, 2011, 01:42:31 13:42 It wont let me upload the .h as an attachment, or re-modify the main post, so here it is as a code block
Parser1.h Code: #include <16F716.h> you can substitute the PIC16F819 if you prefer that chip - i think the 716 is a little cheaper! <Note to self: I really need to pay more attention in class> Posted on: March 26, 2011, 01:32:09 13:32 - Automerged Here is the lastest board schematic/layouts. I didnt post this before as it wasn't a tested layout. I received some PCB's for this Friday, and built one to test it - all ok and no errors! If anyone is interested, and I don't know if this is allowed on here, but I have a handful of pcb's that were made for this project. There are a couple of design faults (needs 3 wires adding) which is why they are not being used. They cost me 3 GBP each, and if anyone wants one, I could post one for the cost of it? (moderator please delete this section if it's not allowed) |