Skip to main content

M5Stack® Wireless COMMU Module Extend RS485/TTL CAN/I2C Port with MCP2515 TJA1051 SP3485 Development Board for Arduino EP32 Kit

M5Stack® Wireless COMMU Module Extend RS485/TTL CAN/I2C Port with MCP2515 TJA1051 SP3485 Development Board for Arduino EP32 Kit
M5Stack® Wireless COMMU Module Extend RS485/TTL CAN/I2C Port with MCP2515 TJA1051 SP3485 Development Board for Arduino EP32 Kit M5Stack® Wireless COMMU Module Extend RS485/TTL CAN/I2C Port with MCP2515 TJA1051 SP3485 Development Board for Arduino EP32 Kit M5Stack® Wireless COMMU Module Extend RS485/TTL CAN/I2C Port with MCP2515 TJA1051 SP3485 Development Board for Arduino EP32 Kit



Description:

COMMU is a Muti-Communication-Interface-Converter. Integrated with 2IIC, 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).

Product Features:

  • 2x I2C Interface
  • 1x CAN Interface
  • 1x RS485 Interface
  • 1x TTL Interface
  • CAN controller: MCP2515-1/SO
  • RS485 Transceiver: SP3485EN-L/TR
  • Product Size: 54.2mm x 54.2mm x 12.8mm
  • Product weight: 13.5g

Package Included:

  • 1x M5Stack COMMU Module

PinMap:

CANESP32 Chip
CAN_CS GPIO12
CAN_INT GPIO15
CAN_SCK GPIO18
CAN_MISO GPIO19
CAN_MOSI GPIO23
I2C InterfaceESP32 Chip
IIC_SDA GPIO21
IIC_SCL GPIO22

EasyLoader

1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.

2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.

3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to view the driver installation tutorial

Example:

for Arduino IDE

CAN communication

These are two COMMU examples for CAN communication, tansmitter and receiver. Press Button A to sent the message, and display the received message on the screen.

Step 1: Copy MCP_CAN_lib file to C:Users<user_name>DocumentsArduinolibrariesStep 2: Open project file commu_can_transmitter.ino, and commu_can_receiver.ino Step 3: Compile and upload the two project to two M5Cores separatly.

The below code is incomplete(just for usage). If you want the complete code, please click here.

/*    commu_can_transmitter.ino*/#include <M5Stack.h>#include <mcp_can.h>#include "m5_logo.h"#define CAN0_INT 15 // Set INT to pin 2MCP_CAN CAN0(12);   // Set CS to pin 10// declarationbyte data[8] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07};// initializationM5.begin();CAN0.begin(MCP_ANY, CAN_1000KBPS, MCP_8MHZ);/* Change to normal mode to allow messages tobe transmitted */CAN0.setMode(MCP_NORMAL);// send dataCAN0.sendMsgBuf(0x100, 0, 8, data);
/*    commu_can_receiver.ino*/#include <M5Stack.h>#include <mcp_can.h>#include "m5_logo.h"#define CAN0_INT 15 // Set INT to pin 2MCP_CAN CAN0(12);   // Set CS to pin 10// declarationbyte data[8] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07};// initializationM5.begin();/* Initialize MCP2515 running at 16MHz with a baudrate of 500kb/s *//* and the masks and filters disabled. */CAN0.begin(MCP_ANY, CAN_1000KBPS, MCP_8MHZ);/* Set operation mode to normal so theMCP2515 sends acks to received data. */CAN0.setMode(MCP_NORMAL);pinMode(CAN0_INT, INPUT);// Configuring pin for /INT input// read dataCAN0.readMsgBuf(&rxId, &len, rxBuf);

RS485 communication

This is a COMMU example for RS485 communication.

Burn example to two M5Cores. Then after pressed Button A, this two cores will send message to each other and receive data.
















M5Stack® Wireless COMMU Module Extend RS485/TTL CAN/I2C Port with MCP2515 TJA1051 SP3485 Development Board for Arduino EP32 Kit See detail


Popular posts from this blog

TEMT6000 Ambient Light Sensor Module Visible Ambient Light Intensity Detection For Smart Home

Get TEMT6000 Ambient Light Sensor Module Visible Ambient Light Intensity Detection For Smart Home Description:   TEMT6000 is a silicon NPN epitaxial planar pho- totransistor in a miniature transparent mold for sur- face mounting onto a printed circuit board. The device is sensitive to the visible spectrum.   Features:   •Adapted to human eye responsivity •Wide-angle of half sensitivity = ± 60° •SMD style package on PCB technology •Suitable for IR reflow soldering •Lead-free component •The component in accordance with RoHS 2002/95/EC and WEEE 2002/96/EC   Applications:   Ambient light sensor for display backlight dimming in:  Mobile phones Notebook computers  PDA’s Cameras  Dashboards Package includes: 1 x Sensor Module TEMT6000 Ambient Light Sensor Module Visible Ambient Light Intensity Detection For Smart Home See detail

TTGO 0.96 Inch ESP32 V2.0 OLED WiFi Module + Bluetooth Double ESP-32 et OLED 4 MB For Arduino

Get TTGO 0.96 Inch ESP32 V2.0 OLED WiFi Module + Bluetooth Double ESP-32 et OLED 4 MB For Arduino Features:   1. Main control chip uses ESP32, Tensilica dual core processor, clocked at 240 MHz, computing capacity of up to 600 DMIPS, 520 SRAM, 802.11 KB chip b/g/n HT40 Wi-Fi transceiver, baseband, and LWIP protocol stack, Bluetooth (Bluetooth dual-mode integrated traditional and BLE low-power Bluetooth) 2. Onboard 4 M bytes (32 M bit) , flash, and Wi-Fi antennas 3. 0.96-inch White OLED display 4. Lithium battery charging circuit and interface 5. CP2102 USB to serial chip, perfect support for Arduino development   Package includes:   1 x ESP32 OLED V2.0 1 x line ​2 x pin TTGO 0.96 Inch ESP32 V2.0 OLED WiFi Module + Bluetooth Double ESP-32 et OLED 4 MB For Arduino See detail

Anti-Scan Leather Aluminum Case Slim RFID Blocking Wallet ID Credit Card Holder for Cash Men

Get Anti-Scan Leather Aluminum Case Slim RFID Blocking Wallet ID Credit Card Holder for Cash Men Features : 100% Brand new. This wallet can be use as a credit card holder case or business card case; With a click all cards slide out gradually,you can put 6 cards inside It also have a small pocket for a few cash Keep it in your back pocket. No breaking, No bending; RFID protection. Prevents hackers to steal your privacy and credit card numbers.   Specification : Type: RFID Blocking Wallet Color: Black/Brown/Coffee Material: PU Leather Size: approx.10 x 6.5 x 2m/3.94 x 2.56 x 0.79" (1cm=10mm=0.39inch)   Package includeds : 1 x RFID Blocking Wallet   Details pictures : Anti-Scan Leather Aluminum Case Slim RFID Blocking Wallet ID Credit Card Holder for Cash Men See detail