Skip to content
Switch branches/tags

Latest commit

* Remove conflicting #define

These defines conflict the use of ON with other arduino libraries. It is only used in one place in modbus.c

Git stats


Failed to load latest commit information.

Modbus Library for Arduino

Check Arduino status Compile Examples status Spell Check status

Use Modbus with your Arduino.

Using TCP or RS485 shields, like the MKR 485 Shield. This library depends on the ArduinoRS485 library.

This library is based on libmodbus, modifications were made to the lower level RS485 and TCP layers to use Arduino Serial/RS485 and Client API’s. Then an Arduino friendly API was added on top.

For more information about this library please visit us at

Useful resources


Copyright (c) 2018 Arduino SA. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA


No description, website, or topics provided.



No packages published