Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Has anybody experience with MODBUS to read temp sensors?
#30
Hello everybody,

My old Lenovo PC has "moved into the eternal computer fields." 

From now on, I'm working with two mini PCs (Aliexpress). 
One to replace my old Lenovo, and a second to replace the Raspberry Pi. 

I use the latter to control all sorts of things (e.g., a beer brewing setup). 
I don't need to tell you it's a lot of work:
- Installing the operating system, configuring it... etc. 
- Installing the QB64PE and other software. 
- Installing and testing USB relay boards. 
- Installing and testing the PT100 sensor boards... etc. 

For the PT100 boards, I made a strange discovery:

For the USB ports on the front of the mini PC:
I had to enter ttyACM0 as the device. 
I had to "switch" the A+ and B- wires between the PT100 board and the USB-RS485 converter. 

For the USB ports on the back of the mini PC:
I had to enter ttyUSB0 as the device (as Petr originally suggested!),
AND I had to reconnect the A+ and B- of the PT100 board to the A+ and B- on the USB-RS485 converter

Result: Petr's software works perfectly!!! 
I have the impression, though this may be subjective, that it works even more stable via device ttyUSB0. 
I'm now waiting until I've tested my entire installation before publishing the small change I made to Petr's software here. 

That might take a while, as it's quite a bit of work,
but I want to be sure that when I publish something on the forum, it works as expected.

Rudy M
Reply


Messages In This Thread
RE: Has anybody experience with MODBUS to read temp sensors? - by Rudy M - 03-11-2026, 08:24 PM

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

Forum Jump:


Users browsing this thread: 3 Guest(s)