SeriTacho icon Serial Tachometer: frequency meter utility Updated
17-Feb-2011

Serial Tachometer is a freeware utility program for Microsoft Windows that uses standard PC serial port to measure pulse frequencies in range from 1 Hz to 11 kHz.

SeriTacho icon Principle of operation / Connecting to external hardware
Pulses

The tachometer senses pulses on the RxD input of a standard PC serial port, making the PC hardware and device driver believe the pulses are valid characters by assessing average pulse width and "hunting" for an optimal baud rate. This imposes three important limitations:

     
Primitive switch circuit
It can be this primitive...

External hardware needs not to be sophisticated for the Serial Tachometer to work. If a mechanical contact is used to generate the pulses, only one resistor (almost any value >100 Ω will do), a few wires, and a cable with a female DB9 connector is all you need. Depending on the switch's "phase polarity", you need to select proper state of the DTR and RTS signal, respectively.

If the external circuit is galvanically connected to other hardware, it is a good idea to protect the RxD input with a resistor and Zener diodes or with an opto-isolator, as excessively high voltage may damage your computer. Even with diodes, serial port inputs don't usually survive direct connection to household mains (110 or 220 V AC). Since most modern computers come with serial ports integrated in their mainboard chipset, it's a whole mainboard that goes if you blow a port.

Although not designed for the purpose, DTR and RTS handshake outputs of a typical serial port can be used to power a low-consumption circuit (e.g. transistor side of an opto-isolator feeding the RxD input). The Serial Tachometer therefore supports custom setting of the handshake lines to desired polarity to provide suitable supply voltage. Again, it is a good idea to protect the powered circuit with serial diods, and the outputs from accidental shorting, by serial resistors, as state of the handshake lines is not guaranteed and can certainly change (resulting in inverted polarity) during boot or while running other applications accessing COM ports. Remember, typical output voltage on a handshake line is ±15 V, which can destroy chips designed to take only +5 V supply or lower.


SeriTacho icon Latest Public Release / Download / Installation / Removal
Interface

Download Release 1.1.14

You may also need Microsoft Redistributable libraries for VC9 Service pack 1

The application does not have an install/uninstall procedure. Simply copy the .exe file to a convenient utility directory in your system (or make one under Program Files) and run it from there. To replace an older version, simply override it with a new one.

To completely remove all traces of Serial Tachometer from a system, delete SerialTacho.exe. Then (using regedit or regedt32) delete the following key in the system registry:

HKEY_CURRENT_USER\Software\Hroch\SerialTacho

If the program was run under various users, you may have to remove registry entries from each user's profile.

SeriTacho icon Terms of use

The Serial Tachometer utility (hereinafter the Software) may be used and distributed by anyone free of charge under the following conditions:

  1. Any use of the Software is at own risk of the user.
  2. The author will not be liable for any consequences arising out of use or inability to use the Software for any purpose.
  3. The Software and any associated documentation may not be modified in any way.
  4. No third party may charge any fee for use and/or distribution of the Software.

The Serial Tachometer utility is Copyright (c) 2004-2011 by Sid Paral. All rights reserved.

SeriTacho icon System Requirements

SeriTacho iconRelease Notes & History

Release  Features and Bugfixes
1.01.14
17-Feb-2011
  • Added logging to .csv feature on request from Fred.
  • Ported to Visual Studio 9.0 (2008) project, tested on XP and 7/64.
  • Enabled XP style manifest for common controls (visual styles).
  • Switched to Unicode operation (sometimes better MS library stability).
  • Fixed minor bug in internal handling of modeless dialog destruction.
1.00.12
13-Feb-2004
  • Moved handshake input and output controls off the main dialog.
1.00.11
12-Feb-2004
  • Fixed handshake output line inconsistency introduced with previous release.
  • Handshake input lines' status now shown in color.
1.00.10
11-Feb-2004
  • Comm port now changing baud rate on the fly (no closing and re-opening).
  • About dialog box offers this website as home page with [Browse] button.
1.00.09
10-Feb-2004
  • First public release

SeriTacho iconKnown issues and planned features

Please e-mail the author with comments, suggestions, bug reports. Thanks.


A HROCH.NET document Copyright (c) 2004-2011 by Sid Paral. All rights reserved.