REXduino - 1-wire connection
-
Hi,
I use REXYGEN version 2.50.10 on RPI with Arduino Mega - REXduino.
Question 1: I would like to ask whether it is possible to read different signal quality according to the example of connection with use of the VIN (Validation of the input signal) function block? It happens that some ds18b20 sensors are not of such quality or have a long line that they fail.
Question 2: It happened to me that after restarting RPI and starting REXCORE, the 1-wire sensor moves in the SW to another address / variable. Is it possible to somehow ensure that a unique address is assigned to the 1-wire sensor?
Thank you very much for the answer.
Best regards
Michal
-
@mtomek
Dear Michal,-
to the Question 1: In general, multiple VIN blocks can be used to read quality from multiple sources. Unfortunately, it probably won't work in your case, because all the data comes from one source (REXduino block).
-
to the Question 2: In REXduino, it is currently not possible to ensure that a 1-wire sensor will always get the same address if there are more sensors. We recommend using Monarco HAT or a 1-Wire hub instead of Arduino.
Using another hardware (with the Raspberry Pi) should also help solve the first problem. In the Raspberry Pi, it would then be possible to fix the addresses of the individual 1-wire sensors using this manual.
Best regards,
Jan -