PIC16F1847 microcontroller-based programmable logic controller. (2020)