Turn FR into bike meter

Rask Ingemann Lambertsen rask at sygehus.dk
Thu Jul 2 22:37:12 CEST 2009


On Thu, Jul 02, 2009 at 06:34:00PM +0300, Risto H. Kurppa wrote:

> I was thinking of using the audio jack or to be more specific, the
> microphone line. Each revolution would connect the wires (with a
> resistor maybe?) to create a pulse in the microphone line. This could
> be recorded and analyzed with SW.

   It's okay to short the mic input to ground. With mic bias voltage enabled
(an ALSA control somewhere) you should get key presses and releases reported
in /dev/input/event*.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year



More information about the community mailing list