This project is a simple StopWatch for measuring times on different processes or activities. The project was chosen to test some 4-layers PCBs and experiment with both the XLP (Extreme Low-Power Technology) and the pic18LF14k50 itself
The PCB does not have any power button, since the approach of the project is to use the XLP technology of the PIC. It only has two buttons to operate the entire stopwatch.
From milliseconds to +99h, you can measure very short and very long processes and times.
Even after weeks or months, the time is kept while in deep sleep mode.
Files
Kicad.zip
Kicad 5 schematic and PCB
x-zip-compressed -
447.13 kB -
01/13/2022 at 19:48
The design is simple: The pic18LF14k50 drives some NPN transistors, which allow the display to light. Same for the buzzer&LED indicator. In this case, we also use a boolean inverter (74LVC1G06GW,125 from Nexperia) so only one of the two displays is on at every moment. we did that because we are using 100% of the pins in the PIC.
As you may know, the display has two pairs of four displays in parallel (A total of eight displays!), so we will need to have a high-frequency blink in order to "trick" the human eye to see them all light at the same time.
For the buttons, an RC filter made of a 10K resistor and 100nF will filter any bouncing effect, having a great counting experience. An additional diode here avoids messing with the programming signals.