tobyb
Hi
 
I currently have a DS18B20 connected to an arduino uno which a have slaved to a rasp pi 4.
 
I can read the temperature when i connected directly to the arduino using fuxa. but when i try to read the value when connected to the raspi it doesnt work.
 
Any help would be greatly appriated. I have included a screenshot of both master and slave programs.
Reply 0 0
thiagoralves
%QW100 is a write location, not a read location. When you have the slave configured like that, you’re essentially overwriting the slave’s %QW0 with the master’s %QW100 data. You need to configure the slave using Holding Register Read, not Holding Register Write
Reply 0 0
Reply