After we managed to make the gauges work by "implanting" servo's in them, we decided that it's not good enough, since we would like the original car to remain unmodified as much as possible.
The guages needles move according to the frequency that they receive. Since it is impossible to generate those frequencies from Windows (or any other non real-time OS), we needed to move into hardware (yeah!).
We decided to go with Atmel AVR microcontroller chips (mainly because that's what we could easily find in Israel). We got a sample of an ATMEGA16 and wrote some C code to generate the frequencies (WinAVR and AVRlib). Since this is the first time we used this platform it took us a few hours to get it working.
Generating the frequencies is not enough -- you need the PC to ask the microcontroller to generate the right frequency according to the speed/rpm in the game. Unfortunatelly, the AVR cannot speak directly with an RS-232 interface, so we had to connect a MAX232 chip in order to get it working.
The sequence is as following: there is a process on the PC which collects the games telemtry with Nascar 2003 APIs. It then translate the speed/rpm to commands which are written to the microcontroller via a COM port. The microcontroller parses the requests and set the frequencies to the gauges accordingly.
Nice :-)
0 comments to "Getting the original guages to work"
accessories external. mobil sedan oto blitz black pimmy ride Exotic Moge MotoGP Transportasi Mewah Honda SUV car body design Faris Vio auto mechanics auto mechanicscar automatic-cars autoindustry statistics autocar vehicles autobody parts auto body consept auto body car. auto body car auction cars new american automotiv advanced automotive
Blog Archive
-
▼
2005
(44)
-
▼
May
(26)
- We were on TV!
- We were on TV!
- We'll be on TV
- We'll be on TV
- Desgin draft for new Gauges Panel Faceplate
- Desgin draft for new Gauges Panel Faceplate
- Original guages are back in place
- Original guages are back in place
- Getting the original guages to work
- Getting the original guages to work
- Videos available via eMule
- Videos available via eMule
- We’re on major geek sites - Hello World : )
- We’re on major geek sites - Hello World : )
- It's Alive Videos !!!
- It's Alive Videos !!!
- It's Alive !!!
- It's Alive !!!
- Got the Gauges electronics to work, OH Yes!
- Got the Gauges electronics to work, OH Yes!
- Gauges Guts
- Gauges Guts
- Gauges are out
- Gauges are out
- Getting the Gauges to work
- Getting the Gauges to work
-
▼
May
(26)
Post a Comment