Sampling Pulse-Width-Modulation Codes on the Parallel Port

Introduction For an upcoming research project, I needed to get data streams from simple 2-axis accelerometers. There are usually two types of accelerometers: one type with analog outputs that need an ADC (analog-digitial converter) to sample, and another type with pulse-width modulation outputs. The latter has the advantage that it can be sampled with purely digital inputs like the standard parallel port of current PCs. Thus, the crazy idea of attaching accelerometers directly to the parallel port instead of using a micro controller was born.