Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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??

4226290-web.gif




N : nombre d’échantillons
Ui : valeur de l’échantillon i.
 

engshahrul

Banned
Joined
Apr 27, 2009
Messages
330
Helped
97
Reputation
194
Reaction score
94
Trophy points
1,308
Location
Malaysia
Activity points
0
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top