Hi all… Hoping someone can help with the strange analog input readings I’m getting.
I have a RPI3b with the automation hat running buster. On it I have three Python programs running that each monitor an input, two digital and one analog. Both digital inputs wait for their events with “if GPIO.wait_for_edge”, and the analog one is polling every 0.25 seconds. When I’m only running the analog reader program I get a fairly constant voltage reading from the analog input, usually within ± 0.1 volts or so. However, when all three python programs are running the analog input reading varies widely. It returns anything from 0.02 up to 4.7 volts on a 5vDC 3.6A power supply. At the same time, a digital multimeter will not vary by more than 0.01 volts normally. I’m hoping someone can help shed some light on what’s going on and possibly a way to resolve this to get a fairly steady reading.