Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Measure 60Hz sine wave amplitude using ADC

adc

  • Please log in to reply
No replies to this topic

#1 rgavrilov

rgavrilov

    New Member

  • Members
  • Pip
  • 4 posts

Posted 20 April 2015 - 06:32 PM

Hello,

 

I need to measure an amplitude of a 60Hz sine wave (output from a Hall-effect sensor) using ADC on N+2. I am looking for elegant ways to accomplish this. What are my options?

 

Option 1: Is there a way to configure ADC to collect multiple samples with specified frequency?

 

Option 2: Can I use hardware-timer interrupt to take a sample every 4ms? Is timer implementation reliable (in terms of interrupt triggering accuracy) to rely on it for timing?

 

Option 3: Collect 100 samples over period of time and use histogram to reconstruct the sine wave.

 

Option #1 seem to be the best, but I don't know if Netduino NETMF supports that mode.

 

Any other ideas?







Also tagged with one or more of these keywords: adc

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.