1 Hardware of the PIC16F648A-Based PLC


The hardware of the PIC16F648A-based programmable logic controller (PLC) consists of two parts: the CPU board and the I/O extension board. The schematic diagram and the photograph of the PIC16F648A-based PLC CPU board are shown in Figures 1.1 and 1.2, respectively. The CPU board contains mainly three sections: power, programming, and CPU (central processor unit)

The power section accepts 12 V AC input and produces two DC outputs: 12 V DC, to be used as the operating voltage of relays, and 5 V DC, to be used for ICs, inputs, etc. The programming section deals with the programming of the PIC16F648A microcontroller For programming the PIC16F648A in circuit, it is necessary to use PIC programmer hardware ...

Get Building a Programmable Logic Controller with a PIC16F648A Microcontroller now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.