I have set up my weather station following the official tutorial and all was functioning well on the breadboard, but after soldering onto the perma-proto HAT, the wind direction vane is giving strange readings. I have attached pictures: https://imgur.com/a/bZBsu7d
With the wind vane connected and rotating, the code
Code: Select all
adc.value * 3.3
After checking the circuit what feels like a hundred times, I came to the conclusion that the MCP3008 was broken. However, running a cable from the 3.3V rail to the channel returns 3.3V!! (green annotation on this image: https://imgur.com/a/OzUpm3N )
After trying to fix this for the last few days, I am stumped on what to try next... Any help would be greatly appreciated.