Results 1 to 2 of 2

Thread: communicating over serial port with minicom

  1. #1
    Join Date
    Apr 2008
    Beans
    17

    communicating over serial port with minicom

    Hi,

    I have a machine with 2 serial ports. I would like to send a message (e.g. one or more ascii characters) from one serial port to the other. (Ultimately, I'm trying to write a program to communicate with a hardware device over serial interface. Since I know next to nothing about serial programming, this seemed like a reasonable place to start). I read about a program called minicom and it sounded like it might fit the bill. My idea is to create two instances of minicom, one attached to serial port 1 (/dev/ttyS0) and the other attached to serial port 2 (/dev/ttyS1). I would like to be able to just type in one terminal and have whatever I'm typing show up in the other one. But I can't seem to figure out how to do this - none of the options (send file, etc) seem appropriate, and google isn't much help either, most everything I find talks about how to set up minicom, not how to actually use it! And no matter what I do, the minicom window always says "offline". Can anyone provide some guidance on this? Is this even a reasonable thing to try to do? Thanks!

  2. #2
    Join Date
    Aug 2008
    Location
    WA
    Beans
    2,186
    Distro
    Ubuntu

    Re: communicating over serial port with minicom

    It sounds like a fun project. It is every strait forward.

    Do a google search on:

    "serial communication tutorial"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •