libmodbus
A Modbus library for Linux, Mac OS, FreeBSD and Windows (by stephane)
eModbus
Modbus library for RTU, ASCII and TCP protocols. Primarily developed on and for ESP32 MCUs. (by eModbus)
Our great sponsors
libmodbus | eModbus | |
---|---|---|
4 | 2 | |
3,187 | 355 | |
- | 6.5% | |
4.2 | 6.8 | |
26 days ago | about 1 month ago | |
C | C++ | |
GNU Lesser General Public License v3.0 only | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libmodbus
Posts with mentions or reviews of libmodbus.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-19.
-
How to lower CPU usage in a very tight loop without sleep?
I'm writing a small program that use libmodbus to communicate with other devices. And it seems that modbus protocol only has the concept of request-reply so only way I can do to get the data is to pull it with modbus_read_registers in a loop. Something like this:
- Libmodbus – A modbus library for Linux, Mac OS, FreeBSD and windows
- Libmodbus - A modbus library for linux, mac os, freebsd and windows
-
which modbus c library do you use?
> thanks, but these are for linux based drivers. Yes, libmodbus is for "big" OS but as described in the article and pointed in its README on github (https://github.com/stephane/libmodbus/) You can run it on MCUs with Embox RTOS.
eModbus
Posts with mentions or reviews of eModbus.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-19.
-
How to lower CPU usage in a very tight loop without sleep?
A quick check have me this https://github.com/eModbus/eModbus
-
Need help with ESP32 and Modbus RTU
If you're getting timeout errors or others, check this post: https://github.com/eModbus/eModbus/discussions/112
What are some alternatives?
When comparing libmodbus and eModbus you can also consider the following projects:
Modbus-STM32-HAL-FreeRTOS - Modbus TCP and RTU, Master and Slave for STM32 using Cube HAL and FreeRTOS
modbuspp - A C++ Library for Modbus TCP Client Protocol
freemodbus - A Modbus ASCII/RTU and TCP implementation
OpenMQTTGateway - MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.