Right.... I forgot about the other pins . I think i will go with the max232 and 8515. Now the hard part , more research. I have never written code for micro controllers. Not sure if I can do it but i will try.
You may be right. I am going to try the way you suggested. Simple is nice.
I am worried if windows hangs for a bit pulses will be missed. Will rs232 poll faster than parallel? Is my os interrupting the polling?
Private Sub MSComm1_OnComm()
' Handle each event by placing
' code below each case statement
Select Case MSComm1.CommEvent
' Events
Case comEvCD ' Change in the CD line. pin 1 of DB9
CNT2 = CNT2 + 1 'increment counts
Text2.Text = CNT2 'display counts
Case comEvCTS ' Change in the CTS line.
Case comEvDSR ' Change in the DSR line.
Case comEvRing ' Change in the Ring Indicator. Pin 9 of DB9
CNT1 = CNT1 + 1 'increment counts
Text1.Text = CNT1 'display counts
Case comEvReceive ' Received RThreshold # of
' chars.
Case comEvSend ' There are SThreshold number of
' characters in the transmit
' buffer.
Case comEvEOF ' An EOF charater was found in
' the input stream
End Select
End Sub
MSComm1.DTREnable = True
You have done everything except the soldering. Many THANKS!!!
I have swapped out the opto's for some longer ones. The voltage was quite low. 1volt. I changed the pull downs from 10k to 15k. It toggles between 0 and 1.5 volts. Still too low, right? It does work though. The power feed from pin4 is 10 volts. Could you recommend a resistor and target voltage. Thanks
Lyle
I will try that. I was worried about frying the led. Yes, they are four pin. I will see I can find a camera but it is exactly as you have drawn. Thanks