View Single Post
Old 01-23-2009, 12:47 AM   #15 (permalink)
Coyote X
nut
 
Coyote X's Avatar
 
Join Date: Dec 2007
Location: Southen West Virginia
Posts: 654

Metro XFi - '93 Geo Metro XFi Convertible
90 day: 62.17 mpg (US)

DR650SE - '07 Suzuki DR650SE
90 day: 55.26 mpg (US)
Thanks: 0
Thanked 37 Times in 26 Posts
Send a message via MSN to Coyote X
I was thinking worst case would be it needs an op amp to drive the input. But really a pull down/voltage divider resistor should work fine. I drove it home with the scope running the whole time and the voltages never changed, so once I get a balance point above/below 2.5V it should be fine long term I figure.

Having to divide the voltage between 14 and 11V should not be that hard though really. The zener can protect the AVR from over voltages and the two resistors as a voltage divider should be all that is needed. I will try out this weekend first with a 100k pot pulldown and a lcd scope I have that will be good enough to see the voltages now that we know what we are looking for.

Code:
                                       R1
                                      ___
                to AVR ---+------+---|___|-- Inj Input
                          |      |
                         .-.     |
                         | |     z
                      R2 | |     A 5.1V Zener
                         '-'     |
                          |      |

                         GND    GND
One of these days I will quit making you add stuff to the schematic
__________________


  Reply With Quote