Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Has anybody experience with MODBUS to read temp sensors?
#26
Hi Petr, 
Thanks again for sharing your knowledge. 
In the meantime, I've replaced the Raspberry Pi with a miniPC running Linux Mint 22 (Wilma) and an XFCE desktop. 

The miniPCs are identical (the one replacing the Raspberry Pi only has 8GB of RAM). 
All hardware and software are now the samel. 
What works on this PC works on the other... 

I tested your new listing, and... it runs 100% perfectly from the first start! 
Stopping and restarting multiple times is no longer a problem. 

In the beer installation, I've already replaced the DS18B20 with PT100 sensors (but I still need to connect them). 
One more question: 
As you may have noticed, I stored the sensor temperatures in an array labeled Temp!(x%). 

Should I have your listing read the sensors continuously? 
Or ON TIMER (e.g., 0.5 seconds) gosub...? 

(I would then create a small subroutine to print the three temperatures somewhere on the screen. 
(pe.:
[Image: Result-new-listing-2026-Petr.png]

brewkettle = xxx.x °C, water heater = xxx.x °C, cooling water valve = xxx.x °C) 

Regards,
Rudy M
Reply


Messages In This Thread
RE: Has anybody experience with MODBUS to read temp sensors? - by Rudy M - 02-24-2026, 09:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to read Google Calendar events? Ikerkaz 10 1,882 07-10-2023, 11:06 AM
Last Post: Ultraman
  SHELL creates unicode file, can't read correctly with LINE INPUT thesolarcode 3 1,248 05-06-2023, 09:41 PM
Last Post: thesolarcode
  Read / Allocate Cores dISP 10 2,231 04-25-2023, 12:23 PM
Last Post: dISP
  Can images be read from a file into an array? PhilOfPerth 11 2,560 02-17-2023, 03:31 AM
Last Post: TerryRitchie

Forum Jump:


Users browsing this thread: 1 Guest(s)