I am attempting to build a rev counter for an inboard diesel boat engine. The installed rev counter has unfortunately ceased to work and needs to be replaced. The owners of the boat will probably shell out for a new one, but I thought it would be instructional (for myself) to try to build a digital replacement. What I am thinking of is a simple pulse generator coming direct from the camshaft the original place for the transducer,using something simple like a lit lamp/led passing a reversed led/LDR feeding into a pulse counter of some kind. I can remember some simple circuits from my HND days, but have no idea where my old course notes have disappeared to in recent years. The intention is to clock a two/four part 7seg display every second with the counted pulses coming direct from the camshaft. transducer ---> pulse counter ---> binary/decimal converter ---> display I have no idea what I can use for the pulse counter, and (probably) a dedicated IC for the conversion to decimal and display driver. The reason for using only two 7segs over four would be that it really isn't necessary to have the coxn knowing the exact RPM (and its cheaper), although rounding up might be hard to achieve without using a PIC or similar - I don't know. The count gets displayed on the clock trigger and the pulse counter gets reset by the same signal (delayed by a couple of useconds perhaps?) Any help in the form of ideas or URL's would be greatly appreciated. Thanks in advance, Matty