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).
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 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.
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 |
If you want the complete code faces_encoder.ino
, please click
here