This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to measure AC voltage with without converting to DC

Hi friends,

I need AC voltage (0v to 450V) measurement circuit with C.

I need such types of circuits that directly measures ac voltage without converting it to dc.

I also requires code in c.

please post it..

Parents
  • #include "adc.h"
    
    ...
    
    adc_init();
    adc_set_scale(450);
    adc_set_mode(ADC_MODE_AC);
    adc_start();
    freq = adc_get_frequency();
    volt = adc_get_voltage();
    crest = adc_get_crest_factor();
    power = adc_get_power();
    pf = adc_get_power_factor();
    spectra = adc_compute_fft();
    adc_stop();
    

Reply
  • #include "adc.h"
    
    ...
    
    adc_init();
    adc_set_scale(450);
    adc_set_mode(ADC_MODE_AC);
    adc_start();
    freq = adc_get_frequency();
    volt = adc_get_voltage();
    crest = adc_get_crest_factor();
    power = adc_get_power();
    pf = adc_get_power_factor();
    spectra = adc_compute_fft();
    adc_stop();
    

Children
No data