CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 12:44:58 GMT
content-type: text/html; charset=utf-8
cf-ray: 965c3b2cddcec16f-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=a57045e1-2116-4ebb-a65b-c38b06d056cc; expires=Mon, 27 Jul 2026 12:44:57 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: a90a6c76-3773-4352-b9f2-2188e92043c4
x-worker-origin-response-time: 377000000
x-dns-prefetch-control: off
set-cookie: prov=a57045e1-2116-4ebb-a65b-c38b06d056cc; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=dgdxOR02DWlS1jc5WPdDW174h23xKBKsrcjt7ZrJxP0-1753620298-1.0.1.1-xsbl1jgcno5vGuqC.PoA887GKayhvabOypdUYhKTmmkaiVVF8H2KnlBR0Jj_ermpTBgUnFSJBaodern_N_fTHe0nn7sHq4taon0vYKIwy2g; path=/; expires=Sun, 27-Jul-25 13:14:58 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=PEa.4UMSRKOWrhHdZ.2Sd4TDcN5IN8aQwrcWBQt43vs-1753620298129-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'modbus' Questions - Arduino Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [modbus]
Modbus is a simple protocol for serial communication between electronic devices.
76 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
53
views
How to faithfully collect geophone data by modbus RTU?
I am trying to collect data from a geophone using a UNO R4 minima as slave with a Zihatec shield, so that I can integrate it into a larger project on a modbus RTU bus.
The signal from the geophone is ...
0
votes
1
answer
113
views
Extra 0x00 sent with RS485 message
I am currently trying to use an arduino to send an RS485 via an SP3078EEN RS485 transciever. I have my arduino code set the DE pin high, wait 1ms, then write and flush a data buffer to the serial ...
1
vote
1
answer
63
views
Interpreting Analog Output from Aalborg Mass Flow Meter GFM
I am attempting to connect this device to my computer via RS232.
I am debating the simplest way of going about this and was inquiring if my Uno R3 could come into use, turning the analog symbols of 0-...
0
votes
2
answers
196
views
Using ArduinoModbus library to read a holding register with value -1
client.read() function in ArduinoModbus library returns -1 on failure: https://www.arduino.cc/reference/en/libraries/arduinomodbus/client.read/. How can it be used to read a holding register with ...
3
votes
0
answers
81
views
Why RTU bridge timeout even though answer is received?
I'm testing the following code as a bridge between https://sourceforge.net/projects/qmodmaster/ and https://pypi.org/project/pyModSlave/.
As hardware, I'm using a NodeMCU 1.0 and a USB/TTL converter.
...
0
votes
1
answer
53
views
How to make MQTT and ArduinoModbus libraries working on the same Ethernet port?
I have a SAMD51P20 based Arduino PLC with WIZnet W5500 based Ethernet shield. I'm using these libraries:
#include <Ethernet.h>
#include <MQTT.h>
#include <ArduinoModbus.h>
MQTT and ...
0
votes
2
answers
328
views
ArduinoModbus / RS485 conflict between Serial and Serial1
I am attempting implement ArduinoModbus on my STM32 Poternta H7 using the breakout board.
Its well documented that in ArduinoRS485 that the RS485 object is hardwired. If you are using the PH7/Breakout ...
1
vote
1
answer
261
views
Modbus rtu server library which logs the requests
Kindly seek help. In my project I want to ‘fake’ a smart meter via Modbus rtu server for a solis inverter.
Somehow the solis realizes that I am faking him, so I am wondering which Modbus rtu server ...
0
votes
0
answers
179
views
Arduino RS485 do I need MAX485?
I'm trying to connect sesnor that use RS485 (I'm almost sure that's modbus). The sensor has RX/TX and +/- wires. Do I still need a component between the RX/TX pin from the Arduino UNO and the sensor ...
2
votes
0
answers
367
views
Modbus RS485 Decode the message received
I'm try to read some value from a soil NPK sensor using RS485 Modbus e Arduino uno.
I menage to sent the request msg and I got the response but now i don't know how to read the response in order to ...
1
vote
0
answers
202
views
Trying to use an Arduino Uno to control two slaves with one master but its not working
I am trying to use following code but its not working. Need a help in this regard.
#include <SimpleModbusMaster.h>
#define baudrate 115200
#define timeout 2000
#define polling 500
#define ...
2
votes
0
answers
751
views
Using ModbusRTU.h, what would cause holding registers all read 0?
I'm working with a 32-Input Modbus RTU module using RS485. I'm trying to read/poll the inputs to check for ON(1) states. I have tested this module with Arduino UNO, Radzio! Modbus Master simulator, ...
-1
votes
1
answer
957
views
Cannot read values stored in bool* pointer [closed]
I'm trying to read values stored in a bool* pointer from a modbus coil call.
I'm using modbus-esp8266 library. it's all ok with Input Registers and Holding Registers but i cannot read the result of a ...
0
votes
0
answers
1k
views
ESP8266 - MAX3485 Modbus not getting data
I'm trying to connect a modbus meter to a nodeMcu LoLin v3
I'm using a MAX3485 module to transfer the TTL to a RS485 connection.
The modbus server has unitId 1, baud rate 9600 and no Parity
This is ...
2
votes
1
answer
4k
views
Modbus rtu data decimal to float conversion
Hi,am trying to communicate with power-factor controller [Selec APFC 148-312] using modbus RTU,am following example sketch from modbusmaster library. am able to get the raw data from the instrument ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
rs485 × 33
arduino-uno × 29
serial × 10
arduino-mega × 6
ethernet × 6
programming × 6
tcpip × 5
library × 4
c × 4
rs232 × 4
esp32 × 3
communication × 3
sensors × 2
sketch × 2
i2c × 2
softwareserial × 2
uart × 2
esp8266 × 2
data-type × 2
convert × 2
ethernet-shield × 2
mqtt × 2
espressif × 2
enc28j60 × 1
stm32 × 1
more related tags
Hot Network Questions
- How many simple groups are there of a given infinite cardinality?
- Are you required to protect trade secrets revealed to you even if you didn't sign an NDA?
- I don't have enough alive employees to start the day. What now?
- Forces applied to a car hood while driving
- Can I switch the stand on my Apple Studio Display?
- In Jurassic Park, is the lysine dependency intentionally fake (in-universe)?
- Will an error in two of my published papers affect my PhD thesis evaluation?
- Humans on alien planet get tailed by silent humanoids
- Hypothetical copyleft exposure developer on proprietary project, legal?
- What is the best way to bevel these corners without these deformations showing?
- Meaning of 芭蕉 in Tang age
- How do Japanese people understand the reading of a single kanji with multiple readings in their everyday life?
- rock paper scissors game with randomized system choices. NOT using rnd()
- Rec Letter from Professor (who I haven't done research with) or from Work Supervisor
- Easy ways to draw vector diagrams in TikZ?
- What is the weight of holy water?
- Can expanding foam provide interior strength for a large model?
- Did the first sin in the garden of Eden actually take place before the fruit was eaten?
- Will a reinforced 1" concrete slab be durable?
- How does one justify the rationality of buying insurance?
- Kepler's first law proof error - can anyone help me see what the error is?
- Shared-Memory Queue Implementation in C
- How much of a really big a spaceship could a nuke take out?
- How to navigate in the Universe's Heat Death