View Single Post
Old 05-24-2011, 06:45 AM   #251 (permalink)
Freyguy
EV Builder
 
Freyguy's Avatar
 
Join Date: Nov 2010
Location: Macungie, PA
Posts: 157
Thanks: 15
Thanked 64 Times in 40 Posts
Well, the fuel gauge works with a variable voltage input which we fake out using PWM of +12V. The tach input expects to see a variable frequency from 0 to 600hz. Slowest freq I can output on the PWM pin is 488hz (using PWM block). Unless the pin is used as standard digital I/O and it is toggled based on another timer under interrupt. A bit of code involved...

  Reply With Quote