Serial port Control

Y

yong

I want to control my home-made board by RS232.

Can I do that?
Do I have to write my own driver?
Can I use the exsisting serial.sys? How?
Any example of using RS232 to control the circuit?
where can I find the document for the serial.sys? for
example: IOCTLs, etc.

where can I find the timing for TD/RTS/DTR?

My circuit: _________ ________
| | | |__OUT1
_____ | | | |__OUT2
|___4(DTR) ____| |____SCLK___| |__OUT3
DB-9|___3(TD) ____|MAX237 |____DIN____|Max4820|__ ...
|___7(RTS) ____| |____CS_____| |__ ...
----- | | | |__ ...
| | | |__OUT8
--------- ---------
 
D

David Robbins

i am assuming your 'home-made board' is external to the pc and attached to a
com port that is already installed on the machine.

you shouldn't need to write a driver, but you will need a programming tool
that lets you use the windows api's for talking to the serial port. visual
c++, visual basic, or most any other windows programming tool should let you
do this.

you can also use the program called hyperterminal that comes with windows to
send it data manually.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top