Even though the M5 core is based on ESP32 and has built-in Wi-Fi and Bluetooth, you can still enable the Ethernet function. This LAN module is an M5 Base with a W5500 chip. The W5500 is a hardwired TCP/IP embedded Ethernet controller that makes it easy for embedded systems to connect to the Internet. This base is specifically designed for industrial applications. It comes with several HT3.96 connectors, a 485 metal rail, and magnet discs for easy installation and fixation.
**Product Features**
- Input Supply Voltage: 9 - 24V
- HT3.96 port for RS485 support
- Supports RS485 communication
- Easy to mount on the wall
**Kit Includes**
- 1x LAN Base
- 1x TTL-to-RS485 adapter board
- 1x 20-pin pin header
- 1x set of metal rails and magnet discs
- 3x HT3.96 terminals
- 2x 3-pin connectors
- 1x 4-pin connector
- 10x cold crimp terminals
- 3x Allen wrenches (1x 1.5mm, 1x 2mm, 1x 2.5mm)
- 2x hexagon socket head cap screws M3x28
- 4x hexagon socket tapping screws KA2x4
- 1x countersunk head screw M3x8
**Applications**
- M5Core + LAN can be used to implement a conveyor controller.
- A PC can transmit video to the Core via cable.
**Documents**
- Datasheet - W5500
The 6 pins of the HT3.96 connector are loose, allowing you to wire them to the M-BUS and other circuits as you wish. If you need to add an RS485 interface, solder the RS485 board to the main board pins accordingly. The serial port pins on the RS485 board will be connected to GPIO16 and GPIO17 of the LAN backplane.
**PinMap**
- W5500: MOSI - GPIO23, MISO - GPIO19, CLK - GPIO18, CS - GPIO26, RST - GPIO13, INTn - GPIO34
- M-Bus: [Details not provided]
**Schematic**
[Details not provided]



Using the LAN Module with W5500 is quite straightforward. First, ensure that the input supply voltage is between 9 - 24V. You can easily mount the base on the wall using the provided metal rails and magnet discs. For the HT3.96 connector, you can freely wire its 6 loose pins to the M-BUS and other circuits as per your needs. If you want to add an RS485 interface, just solder the RS485 board to the corresponding pins on the main board. The serial port pins on the RS485 board should be connected to GPIO16 and GPIO17 of the LAN backplane.
When it comes to maintenance, keep the module in a dry and clean environment. Regularly check the connections to make sure they are secure. If you encounter any issues, refer to the W5500 datasheet for more information.
Some important things to note: Do not exceed the input supply voltage range. When soldering the RS485 board, be careful to avoid short - circuits. Also, handle the small parts in the kit, like the pins and screws, with care to prevent loss.