You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learn/05.communication/07.modbus/modbus.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "Arduino & Modbus Protocol"
2
+
title: "Arduino® & Modbus Protocol"
3
3
description: "Modbus is an open serial communication protocol used for transmitting information over serial lines between electronic devices."
4
4
author: "Hannes Siebeneicher"
5
5
---
@@ -9,10 +9,11 @@ author: "Hannes Siebeneicher"
9
9
This article contains information about the Modbus serial communication protocol and how it can be used together with Arduino hardware. The different elements are highlighted and compatible libraries and boards are shown together with code examples. The following section gives an overview of Modbus compatible Arduino boards and the libraries that you can use to enable Modbus protocol capability. Depending on the hardware you are using, the libraries might vary, therefore it is important to always check your device specifications.
10
10
11
11
### Modbus compatible hardware
12
-
- all boards compatible with the [MKR 485 Shield](https://docs.arduino.cc/hardware/mkr-485-shield) and the [MKR ETH Shield](https://docs.arduino.cc/hardware/mkr-eth-shield)
13
-
- all boards compatible with the [Ethernet Shield Rev2](https://docs.arduino.cc/hardware/ethernet-shield-rev2)
12
+
- All boards compatible with the [MKR 485 Shield](https://docs.arduino.cc/hardware/mkr-485-shield) and the [MKR ETH Shield](https://docs.arduino.cc/hardware/mkr-eth-shield)
13
+
- All boards compatible with the [Ethernet Shield Rev2](https://docs.arduino.cc/hardware/ethernet-shield-rev2)
@@ -99,6 +100,12 @@ Using the `readVoltage()` function, defined within the parameters we discussed,
99
100
Inside you can see how the `requestFrom()` is being called with *Device Address*, *Function Code*, *Starting Register* and *Register Count* as parameters.
100
101
101
102
```
103
+
/**
104
+
Dedicated to read voltage information from a Modbus-compatible Finder 7M.24 energy meter.
0 commit comments