On Thu, 3 Feb 2000 19:01:20 +0200 ekon writes: > > > > Can you help me for TRUE RMS measurements with PIC16F877.Are there > any document about TRUE RMS measurement algorithm. > Well, what I did was read the A/D, square the result and accumulate 256 of these squares. I then took the square root of the high half of the sum (throwing out the low half, or dividing by 256). The result was the RMS over the sample period. Harold FCC Rules Online at http://hallikainen.com/FccRules Lighting control for theatre and television at http://www.dovesystems.com ________________________________________________________________ YOU'RE PAYING TOO MUCH FOR THE INTERNET! Juno now offers FREE Internet Access! Try it today - there's no risk! For your FREE software, visit: http://dl.www.juno.com/get/tagj.