With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
One last question, variable "t" in the formula for calculating "phi". I suppose it must be declared in microseconds because you divide by one million right? Thanks in advance.
So the subtraction (adc0-average) you do while calculating the Fourier components is useless because in the loop "average" stays zero the whole time? Only after the loop, average gets a value (the average of all samples), am I right assuming this? Thanks in advance.
I'm from Belgium, mother tongue is Dutch ;) Thanks for your help.
Hi, A more mathematical answer please, more like the reason why you do each step in that specific order. I suppose your algorithm is based on signal mixing? And using the mixer you filter out the 50 or 60Hz component? And then with the calculated cp and sp Fourier components you calculate the amplitude? Are my assumptions correct? Thanks in advance.
Hi,Could you give me some more detailed info about how the algorithm works? Why do you use -1023 * 3/5 after the analog read? What are c and s used for? What do they represent?Thanks in advance.
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.