ABSTRACT

This chapter describes an example remotely controlled model gate system and makes use of the PIC16F648A-based PLC to control it for different control scenarios. An infrared (IR) transmitter/receiver sensor is used to detect if there is any obstacle in the gate's path. This is very important because when the gate is closing, there should not be any obstacle in its path in order not to cause any damage to anybody or anything. The DC motor control circuit is embedded within the model gate system. The relays both have a single-pole double-throw contact, with the terminals named normally open, common, and normally closed.