acs712-20a-ac-current-sensor

gabbapeople/electricity-meter/acs712-20a-ac-current-sensor

Reads current value from the ACS712_20A sensor
acs712-20a-ac-current-sensor
@/acs712-20a-ac-current-sensor
Reads current value from the ACS712_20A sensor
PORTport
Board port number the sensor is connected to.
AREFnumber
Analog voltage reference, i.e., the voltage level corresponding to the 1.0 value of an analog read. Usually 5 or 3.3 volts matching the board power voltage
FRQnumber
AC frequency. The number of cycles per second in an alternating current sine wave
UPDpulse
Triggers new sensor read
acs712-20a-ac-current-sensor
PORT
AREF
FRQ
UPD
A
DONE
ERR
ERRpulse
Fires if update failed. E.g. `PORT` is not an ADC port.
DONEpulse
Fires on reading complete
Anumber
A momentary current value in amperes
To use the node in your project you should have the gabbapeople/electricity-meter library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.