C programming of 16F877

Status
Not open for further replies.

MARWEN007

Junior Member level 2
Joined
Apr 16, 2011
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,481
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.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…