hello,
I buy this sensor to read the voltage 0-250VAC,
does anyone know if there is already sketch I can use?
hello,
I buy this sensor to read the voltage 0-250VAC,
does anyone know if there is already sketch I can use?
does anyone know if there is already sketch I can use?
I can't read the specs because they are not in English.
If it puts-out a DC voltage that's proportional to the AC voltage, you can modify the [u]Read Analog Voltage Example[/u]. That is, you need to find the ratio between the voltage and the ADC reading... If 220VAC reads 1000, then a reading of 909 would be 200V.
I see a calibration/adjustment pot on that board so you'll probably have to calibrate the hardware and software (by measuring the AC voltage with a multimeter while monitoring the Arduino's ADC reading).
The Arduino can be damaged by voltages greater than +5V (or by negative voltages) so if that board is capable of putting-out more than 5V you may need an [u]over-voltage protection circuit[/u]
amrit94:
does anyone know if there is already sketch I can use?
Use modules from LC Technology, based on ZMPT101B.
Sketch Here.