[Diy_efi] Pulse width meter

Chris McKinnon chrism at cnx.net
Thu Dec 9 05:06:14 GMT 2004


>> -----Original Message-----
>> From: diy_efi-bounces at diy-efi.org 
>> [mailto:diy_efi-bounces at diy-efi.org] On Behalf Of jim cottrill
>> Sent: Wednesday, December 01, 2004 3:16 PM
>> To: 'A list for Do-It-Yourself EFI'
>> Subject: RE: [Diy_efi] Pulse width meter
>> 
>> I have done this with a Microchip 16f876 with a LCD display. 
>> It's a bit different than the one Steve Ravet posted, the one 
>> I did used used a pulse width and duty cycle measurement 
>> without interrupts. If you are into Microchip assembly code I 
>> can post it.
>
>Please do, or write it up as a project if you have time.  I don't
>remember now why I used interrupts, other than I was also just getting
>started with PICs and may not have known about the built in functions.
>That is the best way to do it.
>
>--steve
>

Without digging into the spec sheets, I'd imagine you could just watch the
injector line and count how long it took between transitions... I suppose
you could also poll the counter. Using interrupts seems cleaner though. I'd
love to see the code too.

Chris

_______________________________________________
diy_efi mailing list
diy_efi at diy-efi.org
http://lists.diy-efi.org/mailman/listinfo/diy_efi



More information about the Diy_efi mailing list