What kind of vehicle are you timing? This would give you instantaneous speed, and some averaging may be desired. I have many bicycles, and at least one computer for each bicycle. *All* of them do some sort of averaging with a fairly slow 1/2 to 1 second update to the LCD. I am not sure why though. Kevin Russell kevin.russell@null.net ---------- > From: daniel perry > To: PICLIST@MITVMA.MIT.EDU > Subject: spedo type thing > Date: Sunday, February 23, 1997 9:23 AM > > Hi. > I plan to attempt to make a spedometer type thing. > It's input is from a hall switch, which is passed by a magnet once per turn > of the wheel. I need a unit to take this sensory input and display the > speed on an LCD display. > I was thinking that the prog would revolve around... > wait for a pulse > time until next pulse > divide the distance round the wheel by the time between the two pulses > display it... > > I was planning on using a pic16C84 as it is easy (and cheap) to program. I > have very little experience with PICs, my main use of assembler based on > 6502. > > I was wondering if in the 16c84 there is a timer capable of this task, and > how i would use it (preferably in mpasm). > > Thanks, > Daniel.