AngusMcDoon
Well-Known Member
Yet Another Pointless Project...
Can't think why anyone would want to know how fast their outboard engine is running, or how long it's run for, but big boats usually have this information available, so why not outboard powered boats too?
There are devices that you can buy to do this, so I thought I'd have a go making one for less than a fiver. The method of measuring rpm and hence hours is to detect when a spark fires. This can be done by simply wrapping a wire around one of the HT leads like this. The free end is just left to dangle - the signal still gets through...
As you'd expect, the signal that comes out of this kind of sensor is pretty ropey. It looks like this on a scope...
That is neither useful nor safe to pipe into a microprocessor, so the signal needs some conditioning. Using filters, a thyristor and a 555 timer circuit, after conditioning it comes out like this...
which is just dandy for being able to fire an interrupt in a PIC processor. I used a 16F883 because 1) it's good enough, 2) it's cheap, and most importantly, 3) I had one in my bits box.
The hardware is the usual rat's nest of wires...
The signal conditioning bit is at the right hand end. The rest doesn't comprise much - a display, a processor and a few other bits. Power supply is currently coming from the black lozenge.
Once the interrupt in the processor from the spark signal is firing, and a timer keeps track of time, it really is quite simple in this case to work out RPM and total hours (a lot easier than AIS calculations, the previous YAPP). Total hours is recorded into the PIC's eeprom every minute. It ends up displaying this...
Currently there's no way to switch the LCD backlight on, no way to clear the total hours, and the rpm will be a factor of 2 out for engines that use the lost spark ignition system - mine doesn't. All that could be added as an improvement.
Cost of all the bits is less than £5. Sauce code and schematic (when I've drawn it) to anyone who's interested, which is probably not very likely.
Can't think why anyone would want to know how fast their outboard engine is running, or how long it's run for, but big boats usually have this information available, so why not outboard powered boats too?
There are devices that you can buy to do this, so I thought I'd have a go making one for less than a fiver. The method of measuring rpm and hence hours is to detect when a spark fires. This can be done by simply wrapping a wire around one of the HT leads like this. The free end is just left to dangle - the signal still gets through...
As you'd expect, the signal that comes out of this kind of sensor is pretty ropey. It looks like this on a scope...
That is neither useful nor safe to pipe into a microprocessor, so the signal needs some conditioning. Using filters, a thyristor and a 555 timer circuit, after conditioning it comes out like this...
which is just dandy for being able to fire an interrupt in a PIC processor. I used a 16F883 because 1) it's good enough, 2) it's cheap, and most importantly, 3) I had one in my bits box.
The hardware is the usual rat's nest of wires...
The signal conditioning bit is at the right hand end. The rest doesn't comprise much - a display, a processor and a few other bits. Power supply is currently coming from the black lozenge.
Once the interrupt in the processor from the spark signal is firing, and a timer keeps track of time, it really is quite simple in this case to work out RPM and total hours (a lot easier than AIS calculations, the previous YAPP). Total hours is recorded into the PIC's eeprom every minute. It ends up displaying this...
Currently there's no way to switch the LCD backlight on, no way to clear the total hours, and the rpm will be a factor of 2 out for engines that use the lost spark ignition system - mine doesn't. All that could be added as an improvement.
Cost of all the bits is less than £5. Sauce code and schematic (when I've drawn it) to anyone who's interested, which is probably not very likely.