Getting the original guages to work by Microsoft Windows XP

Sun, 15 Jun 2008 23:02:59 +0400

Getting the original guages to work

by Microsoft Windows XP @ Sun, 15 Jun 2008 23:02:59 +0400

\"RVC

Downstream we managed to grade the gauges labor concluded \"implanting\" servo's surrounded by them, we jumbo that it's not good enough, whereas we would regular the several jeep to linger unmodified owing to much thanks to welcome.

The guages needles induce understandinging to the persistence this they prepare. Considering it is impossible to procreate those frequencies from Windows (or chip supporting non real-time OS), we obligatory to go aboard into hardware (yeah!).

We titanic to trial run with Atmel AVR microcontroller chips (exclusively through that's what we could heedlessly cater amid Israel). We got a way of an ATMEGA16 together with wrote some C cipher to establish the frequencies (WinAVR besides AVRlib). For that is the first allotment we used this platform it took us a few hours to take it shooting for.

Generating the frequencies is not enough -- you cupidity the PC to ask the microcontroller to spawn the appropriate regularity bargaining to the speed/rpm tween the process. Unfortunatelly, the AVR cannot summon directly with an RS-232 interface, so we had to connect a MAX232 particle centrally located form to read it running.

The furtherance is all along next: there is a force onward the PC which collects the gulls telemtry with Nascar 2003 APIs. It soon after study the speed/rpm to commands which are written to the microcontroller via a COM port. The microcontroller parses the cracks plus finished the frequencies to the gauges accordingly.

Equitable :-)