View Single Post
  #5  
Old 12-13-2007, 02:29 PM
techguy512 techguy512 is offline
Registered User
 
Join Date: Apr 2005
Location: Austin, TX
Posts: 631
Quote:
Originally Posted by fdanielson View Post
it seems that you may be making this more complicated than needed. How about using a 555 timer in a monostable circuit as a Schmidt trigger?
A several reasons....

1) The magnetic pickup produces a TINY signal. About 500mV p-p at idle, dropping down to something under 250mV at higher revs. I don't have enough space to build the amplifier I need to boost the signal to trigger something like a 555.

2) I hate RC timing components. I never have the right values around, and they drift all over the place with age and temperature. I'd much rather just change some software code to adjust timing.

3) I also get the flexibility to do some interesting things. I believe I'll have enough code space to build in a self-test. When you switch the key to the glow position, the amp will execute a self test routine that sweeps the tach needle to 5k RPM and holds it there for 1 second. It then drops to 2.5K RPM and holds for 1 second, finally sweeping to 0, at which point normal operation commences. I like the visual indication that everything is working. Makes me sleep better.

Plus, my microcontroller is cheaper than an industrial temperature range 555.....
__________________
Bob
'82 300D Petrol B-G Metallic
Reply With Quote