Microcontroller projects

ModBus

last updated: 2022-09-20

Intro

W5500 connected to Wemos/LOLIN D1 mini pro

Wemos - W5500 MISO (GPIO12, D6)- MISO MOSI (GPIO13, D7)- MOSI SCK (14, D5) - SCLK GPIO5 (D1) -SCS

Do not use GPIO15 (SS, D8), because it is pulled to GND. Programming is not possible; boot fails if pulled HIGH!

We use modbus-esp8266 by Alexander Emilianov (emelianov). Install it with the Arduino Library Manager.

https://github.com/emelianov/modbus-esp8266

Raspberry Pi: We use pymodbus library by RiptideIO https://github.com/riptideio/pymodbus

    git clone https://github.com/riptideio/pymodbus.git
    cd pymodbus
    pip3 install -r requirements.txt

mqtt<em>oled</em>mon

Downloads