Hi,
I’ve just bought an Automation Hat Mini and I’m loving it. I’m currently using it to read the voltage going to the buzzer in my intercom and then using the relay to buzz open the door.
I’m currently having some trouble reading the voltage though. My multimeter reads a steady 1.4ish volts (AC) when in an inactive state and 3.3ish when the bell is rang. Using the ADC input (A1) on the mini though, I’m getting values that fluctuate heavily, which means I can’t use a simple if voltage > 3V then
statement. Test output below:
2020-11-15 08:47:18 - voltages - INFO - 5.33
2020-11-15 08:47:19 - voltages - INFO - 1.1
2020-11-15 08:47:19 - voltages - INFO - 13.5
2020-11-15 08:47:19 - voltages - INFO - -1.24
2020-11-15 08:47:19 - voltages - INFO - -0.91
2020-11-15 08:47:19 - voltages - INFO - -0.99
2020-11-15 08:47:19 - voltages - INFO - -2.26
2020-11-15 08:47:19 - voltages - INFO - -1.22
2020-11-15 08:47:19 - voltages - INFO - -2.29
2020-11-15 08:47:20 - voltages - INFO - 0.28
2020-11-15 08:47:20 - voltages - INFO - 24.64
2020-11-15 08:47:20 - voltages - INFO - 28.93
2020-11-15 08:47:20 - voltages - INFO - -0.74
2020-11-15 08:47:20 - voltages - INFO - -2.02
2020-11-15 08:47:20 - voltages - INFO - -1.21
2020-11-15 08:47:20 - voltages - INFO - -1.27
2020-11-15 08:47:21 - voltages - INFO - -2.21
2020-11-15 08:47:21 - voltages - INFO - 29.89
2020-11-15 08:47:21 - voltages - INFO - -2.29
Does anyone have any ideas what might be causing this result? Is it because the input is AC voltage instead of DC?
Thanks for any help!
7 posts - 2 participants