The online racing simulator
#1 - juxas
LFS Car RPM Display on LEDs over LPT
In case anybody need it, here it is:

- Description -
This program controls 8 LEDs over LPT to display Car RPM in LFS.

- Requirements -
This program is native Win32 so it does not need additional software to be installed. The only requirement is inpout32(found in this website) which is included in the archive provided.

- Installation -
You need to edit cfg.txt in your LFS folder and replace these lines:

OutGauge Mode 0
OutGauge Delay 0
OutGauge IP 0.0.0.0
OutGauge Port 0
OutGauge ID 0

with these:

OutGauge Mode 1
OutGauge Delay 5
OutGauge IP 127.0.0.1
OutGauge Port 16969
OutGauge ID 0

- Command line options -
-invertorder : Invert order of LEDs
-invertstates : invert LEDs' On/Off states
-debug : Output states of LEDs to console

- Hardware -
You just need to connect 8 LEDs to LPT port through resistors. The schematic is very simple.
Here's the schematic I found on google: http://www.elec.canterbury.ac. ... parport/rsrc/circuit1.GIF
Resistance of resistors can be changed according to your LED specifications.

- Other notes -
If you find LEDs changing too slowly, you can decrease value of OutGauge Delay in cfg.txt.

Any comments, feedback or suggestions are welcome
Attached files
LFS_RPMtoLPT.zip - 113.6 KB - 860 views
got a wiring diagram or a video of the device in use?
GI Revmeter
Quote from juxas :In case anybody need it, here it is:

- Description -
This program controls 8 LEDs over LPT to display Car RPM in LFS.

- Requirements -
This program is native Win32 so it does not need additional software to be installed. The only requirement is inpout32(found in this website) which is included in the archive provided.

- Installation -
You need to edit cfg.txt in your LFS folder and replace these lines:

OutGauge Mode 0
OutGauge Delay 0
OutGauge IP 0.0.0.0
OutGauge Port 0
OutGauge ID 0

with these:

OutGauge Mode 1
OutGauge Delay 5
OutGauge IP 127.0.0.1
OutGauge Port 16969
OutGauge ID 0

- Command line options -
-invertorder : Invert order of LEDs
-invertstates : invert LEDs' On/Off states
-debug : Output states of LEDs to console

- Other notes -
If you find LEDs changing too slowly, you can decrease value of OutGauge Delay in cfg.txt.

Any comments, feedback or suggestions are welcome

Hello,

In the same way, you can make a GI Revmeter, it works very fine.

http://www.lfsforum.net/showthread.php?t=13973
#4 - juxas
Quote from bunder9999 :got a wiring diagram or a video of the device in use?

Here is the schematic I found on google which should work: http://www.elec.canterbury.ac. ... parport/rsrc/circuit1.GIF
For the video see attachments of this post, my friend made it with his LEDs, since I don't use it myself.

Quote from Latanturle :Hello,

In the same way, you can make a GI Revmeter, it works very fine.

http://www.lfsforum.net/showthread.php?t=13973

I thought to make last LED lit when the RPM reaches REV limit, but just left it to be simple rpm meter. If you want I can add such(or similar) feature.
Attached files
MOV00631.rar - 398.6 KB - 543 views

FGED GREDG RDFGDR GSFDG