flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
ouadji
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
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
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
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
he-he
![]()
_________________ UNICODE forever! |
||||||||||
![]() |
|
me239
Thanks everyone! Hey shoorick, would you happen to know what kind of transistor I should get?
|
|||
![]() |
|
JohnFound
This counter is an inductive load, so don't forget about the protection diode in parallel.
|
|||
![]() |
|
shoorick
yes, backward diode will be not bad
![]() ![]() ![]() _________________ UNICODE forever! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.