Closed shortbloke closed 4 years ago
Based on response to a query on twitter this issue might just be me and an issue with my HAT. Though would nice to get confirmation.
It's possible. Do you know what version of the Automation HAT library you have installed? There have been fixes relating to the ADC which might be relevant if it's an old install.
I used the latest version directly from source here. I then went and tested using other ads1015 libraries with the same result, so suspect hardware. I've purchased another HAT which should arrive today and I'll test and confirm this weekend.
Yep, that sounds like hardware. Good luck!
Confirmed, ADC4 on new Automation HAT works fine. Closing
I was seeking to implement ADC4 support in my Node-Red module for the Automation HAT and have the groundwork in place. However, it appears that the library is not providing sensible readings for the 3.3V ADC4.
I only have a single Automation HAT to test against, so can't rule out hardware, though I think it's unlikely as I'd never used those headers until today and I seem to recall they always gave low/odd readings which was why I excluded it from my initial implementation.
Environment: