Author Topic: Measuring and displaying frequency and amplitude  (Read 2315 times)

0 Members and 1 Guest are viewing this topic.

Offline CodyWTopic starter

  • Contributor
  • Posts: 23
  • Country: au
Measuring and displaying frequency and amplitude
« on: August 06, 2013, 02:51:37 pm »
G'day Everyone,

I was just wondering if anyone knew how could I go about measuring and displaying the frequency and amplitude of a wave onto a 8x2 LCD screen? How hard would this be?

Thanks,
Cody
 

Offline KJDS

  • Super Contributor
  • ***
  • Posts: 2442
  • Country: gb
    • my website holding page
Re: Measuring and displaying frequency and amplitude
« Reply #1 on: August 06, 2013, 03:18:17 pm »
Audio? RF? dynamic range required?

Offline CodyWTopic starter

  • Contributor
  • Posts: 23
  • Country: au
Re: Measuring and displaying frequency and amplitude
« Reply #2 on: August 06, 2013, 03:25:10 pm »
Audio? RF? dynamic range required?

Just audio. :)
 

Offline Dave

  • Super Contributor
  • ***
  • Posts: 1356
  • Country: si
  • I like to measure things.
Re: Measuring and displaying frequency and amplitude
« Reply #3 on: August 06, 2013, 03:30:17 pm »
Like a graphic equalizer?
Look up FFT (Fast Fourier Transform).
<fellbuendel> it's arduino, you're not supposed to know anything about what you're doing
<fellbuendel> if you knew, you wouldn't be using it
 

Online Marco

  • Super Contributor
  • ***
  • Posts: 6973
  • Country: nl
Re: Measuring and displaying frequency and amplitude
« Reply #4 on: August 06, 2013, 04:54:21 pm »
There are a couple microcontroller spectrum analyser projects using FFT... you could just adapt one of those and just look for the largest component, this will give you a frequency and amplitude.

Not necessarily precise enough, but then you haven't said what kind of precision you want.
 

Offline Zad

  • Super Contributor
  • ***
  • Posts: 1013
  • Country: gb
    • Digital Wizardry, Analogue Alchemy, Software Sorcery
Re: Measuring and displaying frequency and amplitude
« Reply #5 on: August 06, 2013, 05:11:34 pm »
If you know that you are measuring a single frequency (pure sinusoid) signal, you can just measure the time between zero-crossing points.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf