Hello all!
I have a trouble after Pi 3b+ was replaced by Pi4. My app must check cold water sensor on gpio 12. With Pi3b+ all works fine. But when I try to run my app on Pi4 my app always get wrong sensor state. It seems like app can't access sensor.
The other sensors works fine on both systems except this one. Sensor is not broken.
Volunteer helpers will need some hard facts as a basis for offering constructive help.
What Operating System is running on your RPi4 board? (Is that the same OS as was used on the RPi3b+?)
What is the 'app' that is misreading the sensor? (Is it the same version of the same app as was used on the RPi3b+?)
What is the cold water sensor? Does it measure temperature, pressure, level, flow...?
My basic troubleshooting advice would be to check that the sensor can be accessed from the system independently of the 'app'. Maybe it is a cabling problem introduced by the transfer between boards? How have you determined that the sensor is not broken? Check the correct function of GPIO12 on the replacement RPi4 with a simple LED and/or button.
{Edit: to acknowledge some overlap with the advice offered as I was typing. I think @neilgl and I share the same basic approach to troubleshooting your problem.}
Statistics: Posted by B.Goode — Tue Apr 16, 2024 11:10 am