Module COMMU

SKU:M011

Description

COMMU is a Multi-Communication-Interface-Converter. Integrated with 2I2C, 1TTL, 1CAN, 1RS485. Apparently COMMU has packed with most of series communications.

Default connection: TTL - UART0, RS485 - UART2. Since ESP32 pin map is allowed for re-assign, you can re-assign or re-mapping the TTL or RS485 interface to other pins.

Be care about TTL Interface. It is a UART Interface actually by default. But you can switch it to connect with UART2 after changed those jumpers(J6, J7, J9, J10).

Note:
When using with the Core2, the base needs to be removed in order to burn the program properly.

Product Features

  • 2x I2C Interface
  • 1x CAN Interface
  • 1x RS485 Interface
  • 1x TTL Interface
  • CAN controller: MCP2515-1/SO
  • RS485 Transceiver: SP3485EN-L/TR

Include

  • 1x M5Stack COMMU Module

Specification

Resources Parameter
Interface I2C x2, CAN x1, RS485 x1, TTL x1
CAN Controller MCP2515-1/SO
RS485 transceiver SP3485EN-L/TR
Net weight 13.5g
Gross weight 24g
Product Size 54.2*54.2*13mm
Package Size 60*57*17mm
Material Plastic ( PC )

EasyLoader

EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification.

Download Windows Version Easyloader Download MacOS Version Easyloader

Description:
Communicate through RS485 and send data.

PinMap

MCP2515 ESP32 Chip
CAN_CS GPIO12
CAN_INT GPIO15
CAN_SCK GPIO18
CAN_MISO GPIO19
CAN_MOSI GPIO23
I2C Interface ESP32 Chip
I2C_SDA GPIO21
I2C_SCL GPIO22

MBUS PinMap

Schematic

Example

Arduino IDE

If you want the complete code faces_encoder.ino, please click here