I want to measure an effective value of an AC voltage with a 16F877 and display the result on the LCD voltage is a 400 vmax right I want to use this method since the value of voltage is variable I want to know is it possible to translate this formula C language??
**broken link removed**
N : nombre d’échantillons
Ui : valeur de l’échantillon i.
√
It can. Compute that into Numerical Analysis.
You must define how many sample you want. Then calculate that, is that square and total sum. But make sure the total sum is not exceed bit number you use.