Closed mrusme closed 5 years ago
Additional info:
I noticed that Light and RGB appears to be 0 for the first couple of readings. Could that be related to this issue?
➜ ~ python3 ./test.py
--- Enviro pHAT Monitoring ---
Temp: 31.82c
Pressure: 1000.94hPa
Altitude: 103.00m
Light: 0
RGB: 0, 0, 0
Heading: 36.02
Magnetometer: -1485 -3441 5266
Accelerometer: -0.07g -0.07g 1.02g
Analog: 0: 0.567, 1: 0.576, 2: 0.552, 3: 0.561
This looks like a signal quality/connection issue- how is Enviro pHAT connected to your Pi Zero?
@Gadgetoid soldered it on the GPIO. Even though my soldering probably won't be the best, the pins look okayish. Any specific pins I should check or try to solder again?
I did check and re-solder a few pins and it turned out this was causing the IO error. Thank you for the hint!
When trying to run this example on a Raspberry Pi Zero with EnviroPhat, it successfully starts, runs a couple of seconds but then dies with the following output: