Serial port interfacing

S

Shashank

Guest
Hello to all Members!

I wanted to know the SIMPLEST way to transfer data(at any rate)
bit-by-bit across the SERIAL PORT. Is a UART essential or what else?
Where would I find relevent info? Please help!
Thanks in advance
(Shashank)
 
UART is about the simplest.
You can do a software uart, but that isn't all that easy.
You can also send data on the handshake leads, or clock bits into a shift
register, by setting the data on the handshake lead, and sending a null
(0x00) byte out the uart to clock each bit.

The answer to this greatly depends on exactly what you're trying to do.
 
"Shashank" <shashank.araokar@gmail.com> wrote in message
news:1104211550.477376.81470@z14g2000cwz.googlegroups.com...
Hello to all Members!

I wanted to know the SIMPLEST way to transfer data(at any rate)
bit-by-bit across the SERIAL PORT. Is a UART essential or what else?
Where would I find relevent info? Please help!
Thanks in advance
(Shashank)

Ask the question on the appropriate newsgroup such as comp.dcom.modems
or one of the comp.sys.ibm.pc.hardware. whatever newsgroups.
 
Shashank wrote:

Hello to all Members!

I wanted to know the SIMPLEST way to transfer data(at any rate)
bit-by-bit across the SERIAL PORT. Is a UART essential or what else?
Where would I find relevent info? Please help!
Thanks in advance
(Shashank)

A 9-volt battery, a DPDT switch and a clock (higher data rates can be
had if you use one with a second hand, or a metronome). Tabulate your
data in binary format on paper (don't forget start and stop bits) and
switch by hand. You should be able to get 2-4 baud with practice (and a
clock with a second hand).

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
 
"Shashank" wrote
Hello to all Members!

I wanted to know the SIMPLEST way to transfer data(at any rate)
bit-by-bit across the SERIAL PORT. Is a UART essential or what else?
Where would I find relevent info? Please help!
What kind of serial port? Are you talking about a PC, a microcontroller
or what? What is at the other end?
 
"Shashank" <shashank.araokar@gmail.com> schreef in bericht
news:1104211550.477376.81470@z14g2000cwz.googlegroups.com...
Hello to all Members!

I wanted to know the SIMPLEST way to transfer data(at any rate)
bit-by-bit across the SERIAL PORT. Is a UART essential or what else?
Where would I find relevent info? Please help!
Thanks in advance
(Shashank)
Your descryption is too vague. A PC's serial port is meant to sent data
word-by-word, the word being five to eight bits long and embedded in a start
and a stop bit. Communication on a bit-by-bit basis is sometimes done using
the modem control lines. One of the lines is used a clock-, the other a
dataline. You need (to write) some special software to use a COM port like
this. Question is: "What's on the other side?" A LED? An array of LEDs? Some
relais? A microcontrroller? Some other equipment? Whatever it is, it not
only needs to receive your bits but also needs to "know" what to do with it.
So what you can usefully send highly depends on what your receiver can
handle.

petrus bitbyter
 
Shashank wrote:
Hello to all Members!

I wanted to know the SIMPLEST way to transfer data(at any rate)
bit-by-bit across the SERIAL PORT. Is a UART essential or what else?
Where would I find relevent info? Please help!
Thanks in advance
(Shashank)

For just about everything serial, parallel, or USB, this gal has the
answers:
http://www.lvr.com/
 
Might as well hook up an old telegraph key?? Should at least be capable of
5+ WPM?? Again, may want to try other asociated news groups.
"Tim Wescott" <tim@wescottnospamdesign.com> wrote in message
news:10t33q0c507758d@corp.supernews.com...
Shashank wrote:

Hello to all Members!

I wanted to know the SIMPLEST way to transfer data(at any rate)
bit-by-bit across the SERIAL PORT. Is a UART essential or what else?
Where would I find relevent info? Please help!
Thanks in advance
(Shashank)

A 9-volt battery, a DPDT switch and a clock (higher data rates can be had
if you use one with a second hand, or a metronome). Tabulate your data in
binary format on paper (don't forget start and stop bits) and switch by
hand. You should be able to get 2-4 baud with practice (and a clock with
a second hand).

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
 
Art wrote:

Might as well hook up an old telegraph key?? Should at least be capable of
5+ WPM?? Again, may want to try other asociated news groups.
"Tim Wescott" <tim@wescottnospamdesign.com> wrote in message
news:10t33q0c507758d@corp.supernews.com...

Shashank wrote:


Hello to all Members!

I wanted to know the SIMPLEST way to transfer data(at any rate)
bit-by-bit across the SERIAL PORT. Is a UART essential or what else?
Where would I find relevent info? Please help!
Thanks in advance
(Shashank)


A 9-volt battery, a DPDT switch and a clock (higher data rates can be had
if you use one with a second hand, or a metronome). Tabulate your data in
binary format on paper (don't forget start and stop bits) and switch by
hand. You should be able to get 2-4 baud with practice (and a clock with
a second hand).

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com



Ah. Good point -- that would be simpler (but may not meet RS-232 specs).

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
 

Welcome to EDABoard.com

Sponsor

Back
Top