I need a programmer to write a program for a microchip PIC 16F628A, there will be a signal coming in which is a code in a specific pattern (the exact characteristics will be explained later, but don't worry, its not a complicated pattern of some sort), the codes run from 1 to 17 (only code 2 and 12 are N/A).
Program needs to decode, and after the program noticed that the series of codes restart (going back
to the lowest number) it should place the recognized codes in a string (in logical order) and send it (ONE time only) trough a output to a terminal via RS232
(if needed via a MAX233 circuit). The string of course should run from 1 to 17, but between each code there should always be a 0.
So the string can have a maximum of 36 characters (103040506070809010011013014015016017). It is important that
the string is only send after the series of codes coming trough the input completed one full transmit cycle.
If any change in the series of codes occur, the program should change the string accordingly and re-send the string (again ONE time only).
Of course also this time, only after the currect transmit cycle completes.
IMPORTANT: Before a string is transmitted (period: 1 sec before transmission - 1 sec after transmission) another output should be 1. This so
that the terminal knows a string is coming and can open the COM port.
26 freelancers are bidding on average $79 for this job
Just send me the complete details and I will deliver your firmware. I have more then 8 years experience in working with Pics so you can trust in my abilities.