Wireless Module Extend RS485/TTL CAN/I2C Port with MCP2515 TJA1051 SP3485 Development Board EP32 Kit
- Stock: In Stock
- Model: EB0042814
- SKU: EB0042814
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:
CAN | ESP32 Chip |
---|---|
CAN_CS | GPIO12 |
CAN_INT | GPIO15 |
CAN_SCK | GPIO18 |
CAN_MISO | GPIO19 |
CAN_MOSI | GPIO23 |
I2C Interface | ESP32 Chip |
---|---|
IIC_SDA | GPIO21 |
IIC_SCL | GPIO22 |
Related Link:
-
Offical Video: https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w
-
Forum: http://forum.m5stack.com/
-
Datasheet
- SP3485
- MCP2515
EasyLoader
click to download EasyLoader: https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Module/EasyLoader_COMMU_Test_A.exe
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 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:
https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/COMMU//DependentLibrary/MCP_CAN_lib
to C:Users
, Step 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).
/* commu_can_transmitter.ino */ #include <M5Stack.h> #include <mcp_can.h> #include "m5_logo.h" #define CAN0_INT 15 // Set INT to pin 2 MCP_CAN CAN0(12); // Set CS to pin 10 // declaration byte data[8] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; // initialization M5.begin(); CAN0.begin(MCP_ANY, CAN_1000KBPS, MCP_8MHZ); /* Change to normal mode to allow messages tobe transmitted */ CAN0.setMode(MCP_NORMAL); // send data CAN0.sendMsgBuf(0x100, 0, 8, data);
Shipping Time
After you successfully placed an order at RenhotecIC.com, you will receive a confirmation email with your invoice. Once your order is shipped, you will be emailed with the tracking information of your package. Also, you can choose your preferred shipping method during the checkout process. Kindly advise: please select DHL/FedEx if you need our product urgently.
The timeline of the whole shipping process is shown below:
The total delivery time is calculated from the time your order is successfully placed to the time received. Total delivery time is broken down into processing time and shipping time.
Processing time: The time it takes to prepare your item(s), includes preparing your items, performing quality inspections, and packaging for shipment. Normally, the processing time is 1-3 days (Only include Monday to Saturday ) after getting your order.
Shipping time: The time for your item(s) to travel from our warehouse to your destination. The shipping time depends on the shipping method you chose. Please refer to the shipping rate section for details.
Shipping Rates
You could choose the shipping method based on your preference during checkout, different shipping methods will apply different rates and shipping times. Please check the following chart for detail:
You could choose the shipping method based on your preference during checkout, different shipping methods will apply different rates and shipping times. Please check the following chart for detail:
Shipping Method | Shipping Rates | Shipping Times |
Flat Shipping (Promotion) | $10 | About 5-30 Working Days to Worldwide (Only include Monday to Saturday ) |
Standard Express(0.5KG starting price listed) | Based On Weights | About 5-15 Working Days to Worldwide (Only include Monday to Saturday ) |
Priority Express (0.5KG starting price listed) | Based On Weights | About 3-7 Working Days to Worldwide (Only include Monday to Saturday ) |
In addition, the transit time depends on where you're located, the shipping method you choose, and where your package comes from. We will keep you informed of any problems here to help you get your order as soon as possible.
If you want to know more information, please contact the customer service by contact form or sales@renhotecic.com. We will settle your problem as soon as possible. Enjoy shopping!