I have 0 experience in Microcontrollers. If I turn on my function generator and send a 100Hz, 5volts p-p CAN I analyze this waveform. Such as getting frequency, amplitude etc. using a microcontroller?
If possible point me to links where people have played, experimented with analog waveforms.
Micros are good at measuring low frequencies and can also be used to measure amplitude using an onboard or external ADC. What you require can be done but dont expect to get up and start doing it right away. As you said that you have no experience in using micros. So you need to learn to use them hardware and software wise. Start with simple applications before going on to difficult ones. Better get some starter kit and get going some LEDs and switches stuff before experimenting frequencies and waveforms.
Micros are good at measuring low frequencies and can also be used to measure amplitude using an onboard or external ADC. What you require can be done but dont expect to get up and start doing it right away. As you said that you have no experience in using micros. So you need to learn to use them hardware and software wise. Start with simple applications before going on to difficult ones. Better get some starter kit and get going some LEDs and switches stuff before experimenting frequencies and waveforms.
To all of you thank you. Yes it is true and it has been a great desire with me to work with microcontroller and as bobcat1 mentioned DSP chip are far better to do FFT.
I do not know where to start. Is any simulation package software? I know MPLAB should be one.
It is a long journey to learn these but it is best. Matlab has some toolkit for DSP chips? Is that relevant?
I have 0 experience in Microcontrollers. If I turn on my function generator and send a 100Hz, 5volts p-p CAN I analyze this waveform. Such as getting frequency, amplitude etc. using a microcontroller?
If possible point me to links where people have played, experimented with analog waveforms.
I was detect dtmf signal using pic 16 f877 using FFT but first you must know what you want to from signal ... and what kind of signal you will receive sine square ..Etc
1- if signal square you can measure frequency direct from microcontroller
By using timer as external counter "assume you frequency is low frequency " if the frequency is high you can use external divider IC
2-if signal not square you can clip the peak and then measure the frequency
3- measure amplitude you can use ADC
NOTE:
if the signal is complex signal then you can use FFT
S 8O KRAT
I was detect dtmf signal using pic 16 f877 using FFT but first you must know what you want to from signal ... and what kind of signal you will receive sine square ..Etc
1- if signal square you can measure frequency direct from microcontroller
By using timer as external counter "assume you frequency is low frequency " if the frequency is high you can use external divider IC
2-if signal not square you can clip the peak and then measure the frequency
3- measure amplitude you can use ADC
NOTE:
if the signal is complex signal then you can use FFT
S 8O KRAT
What I want from a signal is frequency since it is important and as you mentioned amplitude I can use ADC.
I will analyze some complex signal some day let say: a random sinewave where first 10sec is 100Hz and the next 3seconds is 1Khz etc so on.
Never thought of using square waves. Good ide to experiment with. Thank you sokrat.
about frequency you can measure it using microcontroller but first you must convert this sin wave to square wave and then measure frequency using microcontroller but remember the frequency for input signal must not greater than the oscillator clock for microcontroller
If you want to decode a FSK modulated signal you can use some analog prefilters that each detects one of the frequencies and the µC will only test which prefilter receives something.
Maybe you should describe what kind of signal you really want to work with and what is interesting for you.
The data acquisition path must be clear first to determin if it can be done with a µC, a DSP, or simple analog/digital hardware.
(24bit audio/video processing needs powerfull DSP, reading out a PWM coded signal from a temperature sensor can be done in very slow runing µC)
Additionally a µC has some features (PWM/Timers/interrupt inputs...) that if used in a wise way can allow the implementation of a high speed problem, that normally requires a DSP. In such cases it is even more important to exactly know the goal of your measurement application to decide what will be done in hard- and what in software.
I would suggest starting off with a program like LabView first to get some experience with the data acquisition and then, if it runs stable, port it to your µC. In LabView you can first generate some example signals and test your structure with real world signals better than you can do this in a µC without any debug possibilties.
Can I export LabView vi to a C code or anything else to I can port in uC?
I may like to experiment with DSP chips.
What is, is a real signal and I want to measure various frequencies. If the signal is human heartbeat, pre-recorded data, I must detect missing pulse so I know that heartbeat did not go in normal range. If heart stops that would be no signal which is easy to detect at least in Matlab.