Using PWM should do the trick, but you could also display the fuel level on an LCD. You're still going to have to convert an analog quantity(the fuel level) to a digital value(to be displayed). ---------- > From: PHXSYS > To: PICLIST@MITVMA.MIT.EDU; stamps@parallaxinc.com > Subject: [STAMPS] How to simulate resistance? > Date: Tuesday, May 05, 1998 10:20 PM > > Hello everyone > > I want to drive the OEM fuel gauge used on most common vehicles. Current > gauges use a resistive device to ground to drive the gauge, for example most > Chevy use a 0-90 ohm sender ( 0=full, 90=empty) , Ford 160-10 or 70-0 ohm and > a few others.How can I use a stamp or PIC to drive these gauges. I was > wondering if I could use PWM to drive the gauge to ground? I could utilize a > different table for each vehicle type. Any suggestions on how I might > accomplish this. Feel free to offer other suggestions I don't know if PWM will > work, but I am sure someone out there has figured out a slick way to do this. > > Gauge----------------Sender-----------GND > > Thanks in advance > > Jon > > - To subscribe -or- unsubscribe send e-mail to majordomo@parallaxinc.com and > - put SUBSCRIBE stamps -or- UNSUBSCRIBE stamps in the body of the message