Here is the circuit used to measure AC line voltage (230V,50 Hz) this circuit converts line voltage to the level of 0 to 5 volts. This can be understood by most of microcontroller and ADCs.Here is an op amp based circuit to do the job.
This a simple adder circuit to add some offset to your signals.
Here is the link to developer’s website where he has given value and reasons of selecting every component in very well manner.
So half of our work is done.
2)Software to measure AC RMS Voltage value
You can directly measure DC value with ADC if you take a reading but that is not the case with AC signals.
To calculate RMS value of AC signals you should sample at least 3-4 cycles and then calculating RMS value.
Rather than developing our own algorithm from scratch we have found out this nice post about Power measurement with the help of Arduino (basically an AVR)
The guy has well explained the techniques to measure the AC voltage and currents with coding.
Here is another project of AC RMS measurement with Atmega 8535 microcontroller.
Incoming search terms:
- ac voltage measurement using microcontroller
- ac current measurement using microcontroller
- ACRMSvoltagemeasurementwithAVRmicrocontroller-GeniusDevils
- arduino measure ac voltage
- measure ac voltage with arduino#safe=off
- how to measure ac voltage using arduino
- arduino ac voltage sensor
- ac voltage measurement using arduino
- AC Current Measurement Circuit
- how to read ac voltage 0-230 volt using arduino
- how to measure rms value arduino
- how to measure AC voltage using aurduino
- ac power measurement using arduino
- high ac voltage measurements using arduino
- high ac voltage measurement using microcontroller
- current&voltage measurement in admega328 using embedding programming
- code to sense ac voltage
- voltage measurement using atmega16
- c code for measuring ac voltage using microcontroller
- c code for measuring ac voltage c
- avr meas
- arduino voltage ac 230v measurements
- arduino rms measurement
- AC voltage measurement microcontroller
- arduino ac voltage measure
- Ac voltage measurement using avr
- Ac voltage RMS C code
- ac voltage reading with microcontroller
- ac voltage measuring using adc
- ac voltage measurement using pic microcontroller
where should the neutral wire be conneted ??
To know about how to measure analog voltage using analog module of PIC16F877A microcontroller go through PIC microcontrollers tutorials.