Build Your Own Dynamometer: Data Acquisition and Control Firmware
by Dennis Feucht

In previous parts of this project article, the baby dyno low-level driver firmware -- especially the interrupt-driven I/O drivers -- were covered in some detail. This final part continues with the main (interrupted) thread processing at somewhat higher levels of abstraction. This coding is specific to the baby dyno but it also illustrates, more generally, how to interface microcomputers to analog and mixed-signal circuitry. Coding techniques that apply to analog circuitry, such as a simple rounded-division method for integer arithmetic or two-point autocalibration, are explained.

...download complete article here (134 kb PDF file)

Contact the author


analogZONE
(c) 2006. All rights reserved.