M5Stack COMMU Module Extend RS485/TTL CAN/I2C Port
Product Link
Introduction
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).
Features
2x I2C Interface
1x CAN Interface
1x RS485 Interface
1x TTL Interface
CAN controller: MCP2515-1/SO
RS485 Transceiver: SP3485EN-L/TR
Specifications
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 ) |
Pinout
Dimensions
Length: 54mm
Width: 54mm
Height: 13mm
How to Use
Connection: Connect the COMMU Module to the M5Stack core using the M-Bus interface.
Library Installation: Install the necessary libraries for the communication protocols you intend to use (e.g.,
Wire
for I2C,CAN
for CAN communication).Initialization: Initialize the communication protocols in your code using the appropriate library functions.
Data Transmission: Use the library functions to send and receive data via the RS485, TTL, CAN, or I2C interfaces.
Debugging: Utilize the debugging tools and functions to ensure proper communication and troubleshoot any issues.
FAQ
Last updated