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
![](https://secure.gravatar.com/avatar/02dc972d29359f160b1a19b878ff44f7?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
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