flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
ouadji 26 May 2011, 20:56
a digital/analog I/O card + a kernel driver "How many volts is a byte?" ![]() but with this question, I think there is still much to learn before that. ![]() maybe first just a "hello_word" driver ? This would be a great start! edit : What is your OS ? |
|||
![]() |
|
LocoDelAssembly 26 May 2011, 21:47
http://en.wikipedia.org/wiki/RS-232#Voltage_levels (although you should interpret this as "how many volts is a bit?")
I would advice about how to make a circuit but I think I'm way too amateurish for that. For handling the COM port in DOS, please search around, surely you will find something (e.g. "serial mouse driver", "UART 16550 programming" (or UART 8250), etc.) |
|||
![]() |
|
edfed 27 May 2011, 03:23
this kind of device is:
low frequency, don't imagine to have more than 2 inc per second. certainly controled by pulse. one pulse = one count. a pulse is a signal, edge, level, shape... to control this, using standard interface, i'd prefer lpt becaus eit covers the one bit application domain. only one bit for the count signal. |
|||
![]() |
|
LocoDelAssembly 27 May 2011, 03:53
edfed, he could still use serial in the way you propose (use a single LPT data line?), but rather than using the TxD pin, he could use the RTS or DTR pin and the wire could be extracted from a defunct COM mouse (since both signals are part of the Microsoft mode mouse protocol).
Still, voltage adaptation would be needed (if not "current adaptation" as well be means of a transistor + external power supply to provide the pulse), but although I think I have an idea of how to make the circuit, I think I'll wait for shoorick to say something first ![]() |
|||
![]() |
|
shoorick 27 May 2011, 05:55
he-he
![]()
_________________ UNICODE forever! |
||||||||||
![]() |
|
me239 27 May 2011, 20:56
Thanks everyone! Hey shoorick, would you happen to know what kind of transistor I should get?
|
|||
![]() |
|
JohnFound 28 May 2011, 04:55
This counter is an inductive load, so don't forget about the protection diode in parallel.
|
|||
![]() |
|
shoorick 28 May 2011, 06:50
yes, backward diode will be not bad
![]() ![]() ![]() _________________ UNICODE forever! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.