AC Voltage Measurement Sensor
I would like to be able to read the ac voltage upto 250 VAC and pass the value to an MCU such as an Arduino or Raspberry Pi. I suggest that an analog value between 0-1023 (5VDC) would be suitable.
I cannot see why this cannot be done as I see almost throw away measurement devices with an LCD screen. I just want the raw data without a screen.
An ability to also obtain amps and hertz either as a consolidated sensor or 3 separate sensors would be even better.
Thank you
-
AdminChopin (Admin, Seeed Studio) commented
Hi,
You can get the raw data from the following code:
sampleV = analogRead(inPinV); //Read in raw voltage signal
sampleI = analogRead(inPinI); //Read in raw current signal