Taking a lead from Fav's groundwork, i took a slightly different route.
I used this up/down counter for control https://www.ebay.co....872.m2749.l2649
It can run in a cyclic mode, whereby it counts pulses upto any preset amount (max 9999) and when the target is met it actuates a relay for 0.5 seconds, and then resets the counter to zero to start the next cycle.
The pump is connected to the relay, and is a peristaltic pump so there is no need to observe the laws of gravity when it comes to positioning the reservoir relative to the pump or the outlet, due to the inherent check valve effect of the pump internals.
This is the pump https://www.ebay.co....872.m2749.l2649
The pump is fitted into an old scottoiler high capacity reservoir, to be mounted behind the number plate. Piccie here https://flic.kr/p/2918k7h
I intend to intercept the front sprocket speed sensor signal. I calculate that at about 60mph there are about 60 pulses per second. The counter has a maximum pulse count of 9999, or about 2.5 hours of running at 60mph with 60Hz pulses. Which is too frequent considering that the pump dispenses 0.25ml, or about 12 drops of oil each time it is actuated. The solution I implemented to stretch out the time between doses requires the use of a CMOS chip, a CD4024, in a divide by 128 configuration. (supply voltage range 3-15Vdc ) This gives me a range of between 2 to 21000 minutes between doses (depending on the counter limit in the range of 0-9999)
With the divider in use it can also divide the much more frequent ABS wheel sensor pulses into this working range without any changes, where a dose will be dispensed between every 1 to 800 minutes (at 60mph)
This is the electronics, the up/down counter and divider chip for use with the sprocket speed sensor....for use with the ABS wheel sensor I would expect to have to use an opto isolator to prevent any interaction with the brake system https://flic.kr/p/27Z6jxb
Edited by fixitsan, 12 July 2018 - 08:53 pm.