The online racing simulator
Searching in All forums
(27 results)
1
bingo87
S2 licensed
Hello Gegry,
I tried several LPT-PCI cards and all are in different address ranges then the basic onboardports.
Is it possible to make a config option for the port that the LPT uses ?

I didnt wire the 7-Segment display because i can't test it.

greetz
bingo87
S2 licensed
Quote from Gegry1992 :i release it soon, sry i am sick

thats not so good.
Hope you get well soon.

Greettz
bingo87
S2 licensed
@Gegry1992: Is it possible to make the program use other LPT I/O adresses ??
I bought 3 different Parallel PCI-Cards and all are in:
1030-1037 & 1028-102F I/O-Range instead of the normal 378-37F
bingo87
S2 licensed
Quote from Gegry1992 :i seeing now tachometer...
its recrive spark from motor
spark=voltage...
can i connect tachometer to lpt port?
but you cant make over 100rpm i think need multipler

hmm, tachometer is analog, so you will problably need an D/A converter.
bingo87
S2 licensed
Quote from NPedro :what i wanted was the ANALOG GAUGES for rpm, speed, fuel and turbo...

but, well... i cant find a DIY... =/

you know what? i'm glad to help Gegry1992 project and everyone who's involved

i'm glad with the 8LED bar project that Gegry1992 posted. Definitly will be part of my cockpit project.

thanks for everything

Same here
bingo87
S2 licensed
Quote from Gegry1992 :i reading pdf..
i found this
XX-YY-ZZ
where XX is FS for full speed, LS for low speed; YY is
DIL for dual-in-line, PT for TQFP, or SS for SSOP; ZZ is
20, 28, 40 or 44 according to the number of pins. If XX
is not specified, FS should be assumed. ZZ is only
given only for DIL packages.

uhh too many numbers
i dont understand numbers - numbers connection

that XX-YY-ZZ stuff means how they build the type numbers for the
PICs.
XX= Is USB speed
YY= IC Packaging (SMD or normal......)
ZZ= Is total amount of pins when the IC is a DIL

I found some dealers that have them: Farnell for example, the link is from the belgium site, but they are worldwide.
I think that this is the most advanced , but its pretty hard to solder it because its a SMD component, it has the most I/O pins.
Most pins are bidirectional, this means they can be configured as input or output.

Try to read this manual, it doesnt contain the 40pin version,
but the 44 pin version has only 2 or 4 I/O pins more. so that leaves about 30 free programmable pins.
I think you can build a complete dashboard with it if you use matrix for the LED displays (for speedometer).
Last edited by bingo87, .
bingo87
S2 licensed
I'm still looking how it works, but i think that it works with Hexadecimal commands orso
bingo87
S2 licensed
Quote from NPedro :....
i don't think it can damage the lpt port, maybe it could but in a long term... but imagine how the data is tranfered to an lpt printer, i think the refresh rate is way faster than the Gegry1992 project.

Indeed. but the refresh rate isnt the problem.
It's the current that is drawn from the port, 1 LED uses around 20mA.
Most LPT-port chips only can source between 2.8mA and 6mA(rarely).
That is why you need to use that ULN2023.
It's just the avoid that you burn your LPT-port.

@Gegry1992: I maybe found a solution to makr an USB version from HexWax, it's called ExpandIO-USB. The benefit is that you don't need to program the PIC. you just need to write the
to control the outputs.
Last edited by bingo87, .
bingo87
S2 licensed
Quote from Gegry1992 :...
@Bingo ok? or what my answer?
or i dont understand what do you do?
or its "big" transistor?

ya kinda, you can think if it as being a big transistor, it makes sure that you can't draw to much power from your LPT port, thats why you need a external power or a 12v powerconnection from the computer PSU.

But also remember that it will invert the signal, that is the reason why it is used for common Anode LED display.
bingo87
S2 licensed
Quote from Gegry1992 :i dont understand
what uln? O.o

ULN2803: is infact a open collector driver for use with 7segment LED-displays amoung other applications.


Pins 1...8 are the inputs
Pins 11...18 are the outputs
Pin 9 is connected to the ground
Pin 10 is connected to Powersupply (mostly)

complete datasheet can be found here
bingo87
S2 licensed
can be, some lpt-ports have a bigger powersource, or something

i'm gonna stay with the led bar design, because that suits my needs.
But if i get those ULN thingy's i will surely test the display.
bingo87
S2 licensed
Gegry1992, did you had the chance to test it already?

What type of LED display did you use? common cathode (negative) of common anode (positive)
bingo87
S2 licensed
Quote from NPedro :Gegry1992, to make the 7seg display with shift indicator is simple...

each segment is one led, you just have to light up the leds to the number appear

then the last LED will be the Shift Light Indicator

i think it's easy

i think you still need that ULN2803 Then, i found out there's a limited to power consumption on the LPT-Port (sourcing= 2.6ma @ 2.4v & sinking=24ma @ 4.2V).
bingo87
S2 licensed
Quote from Jet_ CZE :you have to use ULN2803 (about 0,4€) like its shown in this pdf

That's what i suspected.
hmm, then we also need an external PSU? because power sourcing from the LPT-port is going to be to big.
bingo87
S2 licensed
I only have commom anode 7segment displays.
Don't know if you connect them directly to the LPT-port?
bingo87
S2 licensed
ok, i will do that when i get home.

so the display will be flashing for shifter and the led will work for Fuel warning then.
bingo87
S2 licensed
Quote from Gegry1992 :Bingo if you wire D0-D6 to 7seg display i make a software for that
and D7 D8 rpm and limiter led

indeed, but i don't care to much for gear display because once i know a track
i always know in what gear i'm driving.
But thats a personal thing, i can see how other drivers benefit from a gear display.
personally i benefit more from a limiter, Shift & fuel warning.
But if you want to programm it, i will test it , i still have some 7segment display laying around here.
bingo87
S2 licensed
Quote from Jet_ CZE :gear indicator by Kada (site currently down, use google archive) might be better use of lpt port...

Looks good also, i can see the benefit of that one to.
But the one in this thread is a bit easier to build, for me at least .
And, call me leazy, i dont need to worry about external PSU.
bingo87
S2 licensed
Nice work.
I will test it later on, this evening probably.
I would like to put some pics online over my led setup but it's still
on breadbord.

greetz
bingo87
S2 licensed
Quote from Gegry1992 :hop.. i know.. thanks
its work good becouse LED 7 and 8 is red! if you wired g g y y r r
i need to rewrite text on gui

ah i see, but the turnlights are stil wrong then, if you look from behind the car. (i know, i'm a pain in the butt)

maybe a small request: Low fuel warning where you can change the value when the warning must start. example: AS3 needs 2.45% feul/lap, so you can set warning % at 3%. Or something like that .

I really like the indicator mode, i think that it is really an added value to racing in LFS & problably for drifting, cruise also.
bingo87
S2 licensed
I'm currently testing on a older pc that has an onboard LPT port.
Guess what, it's working .
I hope the LPT card i orderd now will work on my race pc (i ordered a card that uses the windows drivers instead of its own).


I noticed 1 little thingy while testing:
It seems that when you use the indeicators, not the rpm, de leds are backwards working: instead of LED1 & LED2 being the shift light, it is LED7 & LED8 lighting up.

RPM indicator works perfect, btw i love that Style 2.
bingo87
S2 licensed
Gonna try this evening with the new version of the software.

I didnt get it to work on that sunix card with the previous version of the software.
bingo87
S2 licensed
I tried to get it working with an PCI LPT card, no luck.

The program is recieving the Outgauge packets from LFS but thats it,
There is no output, i clicked On and then SET.

OS: Windows XP Pro 32bit
LPT Card: sunix 4008t

greetz.
bingo87
S2 licensed
Indeed, it's not that easy to work with USB.
Gonna order a LPT pci card orso, that should do the trick.
bingo87
S2 licensed
Quote from Gegry1992 :No sorry, its doesnt work with that coz this softver writing to LPT1 (888) ports

Ok, thanx for the reply.
Then i'll have to wait untill there is a USB version.

Greetz.
1
FGED GREDG RDFGDR GSFDG