Communication Module

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.

Communication module equipped with XBee module

The module is equipped with two DB-9 connectors, which are routed through the TTL converter MAX232.

Wireless Modules

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.

 

Electrical Connections

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.

Schematic of port connectors
DIP switches

RS232 Connectors

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.

Schematics of RS232 connectors

UART Connector

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

Wireless Connector

Two 2 mm socket rows are intended for the wireless module connection, e.g., Zigbee, Bluetooth, RFID or WiFi. Only UART signals and 3.3 V power lines are connected as shown on the table below.

Pin Signal
1 Vcc (3V3)
2 Rx
3 Tx
10 GND
Schematics of UART connectors
en/hardware/homelab/communication/v51.txt · Last modified: 2020/07/20 09:00 by 127.0.0.1
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0