Connect with us

Serial port interfacing

Discussion in 'Electronic Components' started by Shashank, Dec 28, 2004.

Scroll to continue with content
  1. Shashank

    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
  2. Dave VanHorn

    Dave VanHorn Guest

    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.

  3. Ask the question on the appropriate newsgroup such as comp.dcom.modems
    or one of the whatever newsgroups.
  4. 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

    petrus bitbyter
  5. Michael

    Michael Guest

    For just about everything serial, parallel, or USB, this gal has the
  6. nospam

    nospam Guest

    Yet another
    Solve my problem for me
    post from a google groups information leech.
  7. Tim Wescott

    Tim Wescott Guest

    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).
  8. What kind of serial port? Are you talking about a PC, a microcontroller
    or what? What is at the other end?
  9. Art

    Art Guest

    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.
  10. Tim Wescott

    Tim Wescott Guest

    Ah. Good point -- that would be simpler (but may not meet RS-232 specs).
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 (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day