This is what I would like to see happen in the code.
count pulse over time coming into the chip from track ball
Output pins to controller.
Output variable V depending on # of pulses per sec.
The output would also have to swing opposite directional pin the opposite V so if .01 is added .01 needs to be taken away from the other pin.
directional pins get there own pinout each starts with
v constant at 1.40
I would like to have 3 modes. Have the mode switchable by a tact.
Mode 1
3pulses per 0.5sec = 1.43v
2pulses per 0.5sec =1.42v
1pulse per 0.5sec =1.41v
Mode 2
6pulses per 0.5sec = 1.43v
3pulses per 0.5sec =1.42v
1pulse per 0.5sec =1.41v
mode 3
7pulses per 0.5sec = 1.43v
5pulses per 0.5sec =1.42v
1pulse per 0.5sec =1.41v
These different modes would give the user sensitivity and we could make it so the deadzone is adjustable . by warying the code for each directional output.
All outputs would have to pulse for a given amount of time say .25 sec.
edit from below...
Found this interesting 55 timer gif thought id share here. IF i can convert that pulse to a variable vcc like in the image that would be perfect. Use 2 556 timers to create 4 directional variable vcc outputs.
![](https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fwww.williamson-labs.com%2Fimages%2Faa-555-slow.gif&hash=4476c67cd1268976d2867ea9b409a798b1051a63)
Something similar to this circuit
(anyone care to take this and modify it to work with in the tolerances needed?)
Car Tachometer
![](https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fwww.williamson-labs.com%2Fimages%2F555-tach.gif&hash=9f28f48d4db0f869b0aeb4356a27285b14e4285c)
The timer receives pulses from the distributor points. Meter M receives a calibrated current thru R 6 when the timer output is high. After time-out, the meter receives no current for that part of the duty cycle. Integration of the variable duty cycle by the meter movement provides a visible indication of engine speed.here is the signal output on graph.![](https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fwww.williamson-labs.com%2Fimages%2F555-tach-pls.gif&hash=62a9543e19c3e59153630ff362a183903cb81651)