I just realised that the ADC’s LED and values of my Automation HAT are not stable in my case.
I’ve read through a couple of similar posts here but they seem not related to my case, because problem happens even when I tried in python interactive shell.
If anyone can shed light on this issue, it’d be appreciated.
Raspberry Pi Zero W
Analog 1 : Connecting 2 x AA batteries (value 3.12 with a multimeter)
Analog 2 : jumper to GND (0.00 with a multimeter)
Analog 3 : jumper to GND (0.00)
sn3218 library version = 1.2.7
Raspbian stretch lite (4.14.34+)
Shell output (approx 1 second between commands)
Python 2.7.13 (default, Sep 26 2018, 18:42:22)
[GCC 6.3.0 20170516] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import automationhat as a
Also 0.02V for the grounded port is what I should expect? I expect 0.00V, though.
Thanks in advance for your help.