Jump to content
43oh

Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt


Recommended Posts

Hi @@simpleavr,

 

You might try to hand pick values from wider window, but here are Hamming windows size 16 (mind the symmetry):

// round(255 * window('kr',16,6))
//const unsigned char hamming[8] = ( 4, 18, 46, 86, 136, 187, 228, 252); //, 252, 228, 187, 136, 86, 46, 18, 4 );

// round(255 * window('kr',16,4))
const unsigned char hamming[8] = ( 23, 51, 88, 130, 172, 210, 238, 253); //, 253, 238, 210, 172, 130, 88, 51, 23 );

// round(255 * window('kr',16,2))
//const unsigned char hamming[8] = ( 112, 141, 170, 196, 218, 236, 248, 254); //, 254, 248, 236, 218, 196, 170, 141, 112 );

More information regarding window function you will find in Scilab help.

 

S.

Link to post
Share on other sites
  • 3 weeks later...

Happy holidays! It turns out great.

 

 

Button press cycles through sleep, 1 dot, 2 dots and 3 dots.

 

Press and hold for cycles through the following 3 menu options

Hamming windows choice; none, low, mid, high (via short presses)

Dimmer choice; 0...3

Sampling rate; 0...7 (0 is fastest)

 

This is the smallest spectrum analyser I built.

I managed to use 1 gpio for ADC, and left 15 pins for the 8x8 matrix (63 pixels used).

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...