Thanks for the help!! It was much needed and appreciated! -----Original Message----- From: Mike Keitz To: PICLIST@MITVMA.MIT.EDU Date: Sunday, May 03, 1998 7:35 PM Subject: Re: [OT] windows terminal- output? >On Sun, 3 May 1998 17:46:45 -0400 Bill Kennedy >writes: >>Piclist, >> Anyone know what windows 3.1 terminal program actually sends out >>the >>serial port? > >Unless it is very strangely configured, it sends ASCII characters. The >ASCII code for '0' is 0x30 and the ASCII code for '9' is 0x39. > >I am trying to send data characters 0-9, but don't quite >>recognize what I see on the scope. I've set up communications setting >>to >>7-n-1. > >On a RS-232 line, zero bits are + voltage (typically 5 to 12V) and one >bits are -voltage (typically -5 to -12V). Each bit stays at the >designated voltage for the duration of 1/baud rate, then the next bit is >sent immediately. When no data is being sent, the line idles at - >voltage. Before each character of data is sent, a 'start bit' of one bit >duration of + voltage is sent. The data comes out LSB first. After the >last bit, the line stays at - voltage for at least one bit time (the >'stop bit'). > >So if you type '1', which is ASCII 0x31 or 0110001 binary, the RS-232 >signal would be: >+-+++--+- >S1000110K >time --> >which would look like -_---__-_ on an oscilloscope (with no gaps). Set >the scope to trigger on a rising edge and it should catch the start of >the start bit. > >S = start bit, K = stop bit. After the sequence, the line may stay at - >voltage if there is nothing more to send, or a new start bit and >character may immediately follow. > > >_____________________________________________________________________ >You don't need to buy Internet access to use free Internet e-mail. >Get completely free e-mail from Juno at http://www.juno.com >Or call Juno at (800) 654-JUNO [654-5866] >