Programming the M5Stack core basic + PoE LAN module to Modbus TCP ethernet. #Arduino

  • ![0_1596101931562_20200730.jpg](Uploading 100%) I'd like to know if anyone's ever programmed the M5Stack core basic + PoE LAN module as a modbus tcp ethernet slave on arduino.
    If so, which library did you use? Could I get a sample code?
    I'm new to arduino programming and I'm just discovering the M5Stack.
    thanks for your feedback
    ![0_1596101896132_20200730_1134041-ConvertImage.jpg](Uploading 100%)

  • Hi Johnny241

    there is an Arduino library called ArduinoModbus which might work for you. It includes example code for a modbus slave (and master). The examples use WiFi but hopefully replacing WiFi with Ethernet isn't too hard.

    Best of luck