Serial Data over Parallel Port
kingneb
Posts: 65
Is it possible to send serial data over·via the LPT1 port?· It is designed for parallel transmission, however with the right coding I think you can·send serial data via one of its bits.· If so, how do you set up the serin command to work with it?· I am trying to use an SX as a shift register.· My laptop has no serial port so I am out of luck there.·
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A friend of mine was a street bum for halloween.
Post Edited (kingneb) : 10/14/2005 2:04:13 AM GMT
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A friend of mine was a street bum for halloween.
Post Edited (kingneb) : 10/14/2005 2:04:13 AM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
All my exes live in Texas
Oh yeah, all my exes are six feet under the ground!!!
Post Edited (kingneb) : 10/14/2005 2:09:16 AM GMT
If you have a free USB port then our USB2SER adapter can be used; we created it for ourselves to connect USB ports directly to microcontrollers.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
All my exes live in Texas
Oh yeah, all my exes are six feet under the ground!!!
One was a lineman who violated the one hand rule.
The·second put his tongue on 10 car batteries wired in series.
The third was involved in a tesla coil experiment gone bad.
Post Edited (kingneb) : 10/14/2005 3:11:42 AM GMT
The quick answer is that both sides have to agree on the baud rate, and the start bit signals the receiver to start sampling the serial line (at the baud rate) for serial bits.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
It explains serial with the SX and receiving serial data using an interrupt-driven UART in SX/B.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax