Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me with making filter using micro (PIC16F877/F628/F84)

Status
Not open for further replies.

arash_micro

Member level 5
Joined
Jan 25, 2005
Messages
91
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
739
filter using micro

Hi all
I wnat to make filter (for analog waves) using pic
I have PIC16F877 , 16F628 and 16F84
which is beter and have you sample about it

thanks
 

Re: filter using micro

That depends on what will be the maximum frequency of the signal that you would like to impose this filter on.
I have an impression that all of these PIC will be to slow even for a sound wave with maximum frequency of 15kHz ..
 
filter using micro

I understand
it is no used
 

Re: filter using micro

Salam Ianp,

I want to implement an iir or fir filter in pic , avr or 8051
would u please help

Thnx
 

Re: filter using micro

Hello

Your post doesn't mention where you are facing a problem. For implementing an iir/fir filter, you should be understand the mathematical equations in the implementation of the filter.
With the theoretical background, you can code the algorithm in C on an IDE where you can affirm if your code works well. After that you may use a cross compiler for generating the micro-controller specific code and then port it to the microcontroller of your choice.

Please indicate where you are facing a problem
Best Regards,
KL
 

Re: filter using micro

Salam,

Thanks KL for your reply but i haven't started yet ,i just want some links ,codes or books which can help me to do it wit PIC , 8051 or AVR

Thx for your trouble
 

Re: filter using micro

Hello.
I think the PIC will be too slow if you use floating point numbers to do this job.
877 is a quite fast microprocessor.
I believe if you make an iir filter (more attenuation in stop band and less processing) using only 8 or 16 bits and no floating point operations the PIC maybe reasonably fast and may even get into the audio range.....
You will probably have to do the binary sums and multiplications yourself.
You will also have to take a look at quantization noise and other problems related to the reduced number of bits in the representation of the numbers and coeficients.
I think 877 or AVR are worth a try.

Hope it helps.
S.
 

Re: filter using micro

Salam,

Thanks sinatra For your reply but could you or anyone help me with links, codes or books

Thnx for your trouble
 

Re: filter using micro

Maybe this book could be useful:


best regards
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top