On Friday 11 Apr 2003 10:41 pm, contact_gt1981 wrote: > hi PIC fans......
>
> i need serious help....does anyone know the source code (MPASM) for
reading
> a PWM signal as input?.....
When you say 'read' a PWM signal, which particular parameter do you
want to
obtain?
Ian
Reply by rtstofer●April 11, 20032003-04-11
Assuming the voltage varies from 0.0V to +5.0V DC why wouldn't you
just put it into the A/D converter of the PIC? Maybe add a little
capacitor to ground to help smooth out the integration.
It depends greatly on the frequency of the PWM signal as to how you
size the capacitor.
--- In , "contact_gt1981"
<contact_gt1981@y...> wrote: > hi PIC fans......
>
> i need serious help....does anyone know the source code (MPASM) for reading a PWM signal as input?..... >
> experienced ASM coders, please reply ASAP......
>
> thanks.....
> gt1981
Reply by Robert Rolf●April 11, 20032003-04-11
Look at the Microchip app note on using ADXL202 accelerometers. The
ADXL's are
PWM out, and the example code includes temperature compensation since
the ADXL's are DutyCycle modulated, and the period varies with
temperature.
For serious help, I charge serious money <G>.
Robert
contact_gt1981 wrote: >
> hi PIC fans......
>
> i need serious help....does anyone know the source code (MPASM) for reading
a PWM signal as input?.....
>
> experienced ASM coders, please reply ASAP......
Reply by contact_gt1981●April 11, 20032003-04-11
hi PIC fans......
i need serious help....does anyone know the source code (MPASM) for reading a
PWM signal as input?.....