Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 18, 2024, 01:49:58 13:49


Login with username, password and session length


Pages: [1]
Print
Author Topic: spectrum analyzer FFT picbasic code?  (Read 7335 times)
0 Members and 1 Guest are viewing this topic.
leemarrow
Newbie
*
Offline Offline

Posts: 32

Thank You
-Given: 312
-Receive: 52


« on: August 19, 2009, 10:18:24 22:18 »

Hi,
anyone have some ideas or example for FFT picbasic code?
 
Logged
fernandodiaz
Junior Member
**
Offline Offline

Posts: 73

Thank You
-Given: 1
-Receive: 18


« Reply #1 on: August 20, 2009, 04:09:13 04:09 »

YOU NEED APLICATION FOR AUDIO RANGE?
Logged
leemarrow
Newbie
*
Offline Offline

Posts: 32

Thank You
-Given: 312
-Receive: 52


« Reply #2 on: August 20, 2009, 08:59:11 08:59 »

YOU NEED APLICATION FOR AUDIO RANGE?

yes, i need for audio application
Logged
fernandodiaz
Junior Member
**
Offline Offline

Posts: 73

Thank You
-Given: 1
-Receive: 18


« Reply #3 on: August 20, 2009, 04:27:16 16:27 »

FIRST I THINK YOU NEED SOME  FILTER BAND PASS  SIMIRARITY TO ECUALIZER
EACH FILTER ONE OPAMP
BUY OR BUILD EQUALIZER "http://users.otenet.gr/~athsam/EQ_10_band.htm"
SCALING 5 VOLTS AND CONVERT DC  OUTPUT  EACH OP AMP
THE OUTPUT SCALING DC 0-5 volts "no more", CONECT TO A/D CHANNEL http://www.tigoe.net/pcomp/pic/pic-analog.shtml

CHANEL 0 CONECT TO 20 TO 50 HZ  CHANEL1 CONNECT TO 70 -100HZ CHANEL 3 CONNECT 200-500 HZ
CHANEL 4 CONNECT TO 500 TO 1KHZ AND NEXT

THE PROGRAM MAKE  SAMPLES IN ALL CHANELS, THE VALUE OBTAIN A SPECTRUM AUDIO
AND DEBUG SERIAL TERMINAL.

http://en.wikipedia.org/wiki/Equalization_filter
http://en.wikipedia.org/wiki/High-pass_filter
http://en.wikipedia.org/wiki/Low-pass_filter
[email protected]

BEST REGARDS
Logged
leemarrow
Newbie
*
Offline Offline

Posts: 32

Thank You
-Given: 312
-Receive: 52


« Reply #4 on: August 20, 2009, 06:12:28 18:12 »

Hi, no other external device need, only ADC on board
I need FFT routine  in picbasic Grin
Logged
maxiboost
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 12
-Receive: 1


« Reply #5 on: August 22, 2009, 08:51:01 08:51 »

like this ..

http://diy.elektroda.eu/?p=40
Logged
fernandodiaz
Junior Member
**
Offline Offline

Posts: 73

Thank You
-Given: 1
-Receive: 18


« Reply #6 on: September 20, 2009, 04:30:47 16:30 »

Here a sample spectrum analizer lcd graphic FFT
Logged
leemarrow
Newbie
*
Offline Offline

Posts: 32

Thank You
-Given: 312
-Receive: 52


« Reply #7 on: September 21, 2009, 08:45:08 08:45 »

Hi,
this sample is for melabs picbasic or proton picbasic?
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2430

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #8 on: September 22, 2009, 12:19:11 00:19 »

It's for Proton Lee
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
gem1144aaa
Junior Member
**
Offline Offline

Posts: 88

Thank You
-Given: 134
-Receive: 27


« Reply #9 on: September 22, 2009, 01:19:51 01:19 »

Hi

when i compile using ide 1.0.4.6 & compiler 3.2.5.5 it gives many errors especially on the include file "Variable Definitions.Inc"

any idea ?

regards
 
Logged
fernandodiaz
Junior Member
**
Offline Offline

Posts: 73

Thank You
-Given: 1
-Receive: 18


« Reply #10 on: September 22, 2009, 03:40:02 03:40 »

The  problem is,  the version support only [128]  words array , the new version support [256]


***** ' Complex Value FFT data buffer (256 * 2 bytes per value)

Dim FFT_Data[256] As Word *****

maybe split  DATA1[128] as word
                     DATA2[128] as word  obtain 256 values and modify all dependient var "Data" in all  code
and other option  is compile in new version..

Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC