The Communication module is designed to provide either the wired or wireless communication capabilities. Communication can be established between the controllers, controller and PC, or controller and external device.
The main communication protocol used with this board is a serial interface - UART. The controller module can provide a two channel UART connection, which can be connected to wired RS232 connectors or wireless ZigBee / Bluetooth module. The selection is done by on-board DIP switches. Simultaneously, it is possible to use two parallel UART connections, but the user can choose (with the selection of switch) where the controller UART signals are routed. It is even possible to mix one UART Rx and Tx signals between different connectors.
For example, if one external device only sends the information (e.g., RFID reader) and another only receives (e.g., serial LCD), it is possible to use more than two UART devices in parallel.
The module is equipped with two DB-9 connectors, which are routed through the TTL converter MAX232.
The module is equipped with the wireless modules, either the ZigBee or Bluetooth one.
Following wireless models can be found on the board:
It is also possible to use the RFID or WiFi modules instead of above.
The Communication board is connected with the Controller module to the port PE-PB-PD. The 3.3 V power supply comes from the port PA-PC-PG. With the on-board DIP switches it is possible to select which external connector is routed to the microcontroller UART ports.
DB-9 connectors are for connecting the external devices, another controller or PC, in case another device meets the RS232 standard interface. If one wants to connect two Controller modules, the cross-wired cable (also known as zero-modem cable) must be used.
Several devices have a UART interface instead of RS232. The communication board has one UART connector under the wireless module.
UART connector pins:
Pin | Signal |
---|---|
1 | Vcc (+5V) |
2 | Tx |
3 | Rx |
4 | GND |