OK doing an example in C++ and I found out that the Pi5 on DS18B20 is really unstable.
I connect my sensors on my PI4 and everything works perfectly fine.
Then I connected them to the Pi5 and some of them are seen Only two of the six but if I try to cat w1_slave it returns with nothing.
Even just connect one doesn't work.
The strange this is If I use my Bitbanging method all of them works perfectly all the time without any problem.
ex: using "ls" 30 seconds apart.. We should have 6 sensors.And using my bitbanging works all the time. (need to remove dtoverlay=w1-gpio on config.txt)So Are we alone with this problem?
Right now I will use my bitbanging since the w1-gpio overlay method doesn't work on my Pi5.
N.B. I did all the update.
I connect my sensors on my PI4 and everything works perfectly fine.
Then I connected them to the Pi5 and some of them are seen Only two of the six but if I try to cat w1_slave it returns with nothing.
Even just connect one doesn't work.
The strange this is If I use my Bitbanging method all of them works perfectly all the time without any problem.
ex: using "ls" 30 seconds apart.. We should have 6 sensors.
Code:
daniel@Pi5:/sys/bus/w1/devices $ ls28-0217c1129cff w1_bus_master1daniel@Pi5:/sys/bus/w1/devices $ lsw1_bus_master1daniel@Pi5:/sys/bus/w1/devices $ Code:
daniel@Pi5:~/BitBangingDS18B20 $ ./DS18B20Pi5Scan -gpio 428-0217C1129CFF : 12 bits Temperature: 17.69 +/- 0.06 Celsius28-0217C1283EFF : 12 bits Temperature: 18.00 +/- 0.06 Celsius28-0117C1747EFF : 12 bits Temperature: 18.69 +/- 0.06 Celsius28-0217C14203FF : 12 bits Temperature: 18.12 +/- 0.06 Celsius28-0217C0FCEBFF : 12 bits Temperature: 18.38 +/- 0.06 Celsius28-0117C190E7FF : 12 bits Temperature: 18.38 +/- 0.06 CelsiusRight now I will use my bitbanging since the w1-gpio overlay method doesn't work on my Pi5.
N.B. I did all the update.
Statistics: Posted by danjperron — Wed Jan 24, 2024 1:23 am