View previous topic :: View next topic |
Author |
Message |
bmkgaa
Joined: 21 Jan 2009 Posts: 2
|
measurement of pulsating dc using pic |
Posted: Wed Jan 21, 2009 11:06 pm |
|
|
I want to measure pulsating dc using pic 16f877a.
Can anyone suggest a program for this ?
Thanks in advance. |
|
|
Guest
|
Re: measurement of pulsating dc using pic |
Posted: Thu Jan 22, 2009 6:55 am |
|
|
bmkgaa wrote: | I want to measure pulsating dc using pic 16f877a.
Can anyone suggest a program for this ?
Thanks in advance. |
What do you want to measure about the pulsating dc? The pulse width? The frequency of the pulsations? The duty-cycle? |
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Thu Jan 22, 2009 9:26 am |
|
|
You will probably want to synchronize your measurements with the pulses. Can you turn the pulses into a TTL signal so the PIC (which PIC do you have in mind?) can trigger on it? _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
bmkgaa
Joined: 21 Jan 2009 Posts: 2
|
measurement of pulsating dc |
Posted: Thu Jan 22, 2009 10:26 pm |
|
|
I am sorry, I want to measure the amplitude of pulsating dc.
thanks |
|
|
RLScott
Joined: 10 Jul 2007 Posts: 465
|
Re: measurement of pulsating dc |
Posted: Fri Jan 23, 2009 6:42 am |
|
|
bmkgaa wrote: | ...I want to measure the amplitude of pulsating dc... |
Then you will want to use the A/D converter. Hopefully the voltage range of the pulsating DC is less than the Vdd of the PIC. If not, then you will have to divide it down with a resistive voltage divider. Then there is the issue of the duration of the pulses. If they are long enough, then you can just read the A/D converter over and over again, watching for a maximum value. If the duration is too short for that, then you may have to build a peak-detector circuit ahead of the A/D to capture the peak value. _________________ Robert Scott
Real-Time Specialties
Embedded Systems Consulting |
|
|
|