PIC microchip and PCB development
I'm looking for a lock system running on 8bit PIC.
Input are 6 buttons, output is a controlling a MOSFET.
Button voltage: OFF state: 0V, ON state: 5V.
Power input for PIC is 5V.
Buttons are numbered from 1 to 6 . A correct 4 digit code (like a phone PIN) set's the output to ON and thus turns the MOSFET on. The current that will pass through the transistor is max 200mA.
There are 4 tries to enter the code (press 4 buttons in the right order), if you fail, then you have to enter a 9 digit code (let's call it PUK). You have 99 tries to enter the PUK correctly, after that the device locks itself (output is permanently OFF). PIC has to keep track of the number of tries of PIN and PUK are entered even if there is a power failure.
I need you to identify the right PIC for the job and write the code. If you are good with electronics, also the schematics and PCB design.
Budget depends if you will only write the code or also design the PCB.