Datasheet
11
PICPLC16 v6 Development System
PICPLC16 v6 Development System
MikroElektronika
page
6.0. RS-232 Communication Module
USART (Universal Synchronous/Asynchronous Receiver/Transmitter) is one of the most common ways of exchanging data between
the PC and peripheral units. The RS-232 serial communication is performed through CN4 and CN5 connectors and the microcontroller
USART module. There is one RS-232 port provided on the PICPLC16 v6. Use switches marked as RX232 and TX232 on the DIP
switch SW11 to enable this port. The microcontroller pins used for the RS-232 communication are marked as follows: RX - receive
data line and TX - transmit data line. Data rate goes up to 115 kbps.
In order to enable the USART module of the microcontroller to receive input signals which meet the RS-232 standard, it is necessary
to adjust voltage levels using an IC circuit such as (MAX232).
Figure 6-2: RS-232 module connection schematic
NOTE: Make sure that your microcontroller equipped with the USART module as it is not necessarily integrated in all PIC
microcontrollers.
Figure 6-1: RS-232 module
Port RS-232 is connected to the microcontroller
RS-232 connector