Although M5 core is ESP32-based, having Wi-Fi and Bluetooth intergrated, it doesn't stop you enable the Ethernet function. This LAN is a M5 Base that having a W5500 chip, which is a Hardwired TCP/IP embedded Ethernet controller that provides easier Internet connection to embedded systems. This Base is speciffically design for industrial application scenarioes, comes with couple of HT3.96 connectors, 485 metal rail and magnet discs for easy installation and fixation.The 6 pin of HT3.96 connector are dangling, you can wired them up with the M-BUS and other circuit as you like.
The figure below shows the inner of LAN
If you need to add RS485 interface, soldering the RS485 board onto the mian board pin correspondingly.
TTL-to-RS485 adapter board and LAN base
The figure below tells you how the TTL-to-RS485 adapter board connected onto LAN backplane
The serial port pins on the RS485 board will be connected to the GPIO16 and GPIO17 of the LAN backplane.
After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click "Burn" to burn the program (For M5StickC, set the baud rate to 115200 or 750000)
3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to view the driver installation tutorial
Everything in order, it only lacks a first steps manual or reference for more online documentation.
We would like to know there is no RS 485 terminal number.
With the LAN module and the appropriate accessories for a DIN 35mm mounting it is the perfect accessory for the M5Stack in industrial environments. Also the variable input voltage of 9-24 Volt and the optional RS485 connection is very well solved. A bad thing that the Battery Module (UPS) cannot be combined with the LAN module (Battery Pack cannot be charged via LAN Module).
LAN Module with W5500
very good product, work fine. Thanks