Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been working with building Microcontroller (mostly Arduino) based devices for the past few months and have been quite surprised by the seeming lack of any form of serial emulation.

I know about macosxvirtualserialport, but I find that this project does not suit my needs. It does not seem to be recognized by the Arduino (or Processing) IDE.

Lets say I have a processing (based on Java) application that I want to communicate with an Arduino via a USB Serial Connection. How could I debug the serial communication part of my Processing application without having the Arduino plugged in to my computer?

I know that when I plug in the microcontroller it shows up under /dev/<tty something>.

Could I just create a directory /dev/<insert name here> and have my processing program connect to it while a shell script read and wrote data to that location?

I am trying to write this as general as possible so I can make it widely available on Github. So, a solution in Windows and Linux is needed.

share|improve this question

Does cutecom http://cutecom.sourceforge.net/ meets your expectations? There's also ready build for Mac OS X at http://mac.softpedia.com/get/Utilities/CuteCom.shtml

share|improve this answer
1  
I do not believe so as I am looking for something to emulate the serial device rather than emulating a serial terminal. I want to basically pretend that there is a usb device connected to my computer when there is not one there. Please correct me if CureCom can do that. – jds May 23 '12 at 15:59
1  
I've been using macosxvirtualserialport to emulate serial port. Are you sure that you're setting baud rate correctly? It should be visible without any problem. CuteCom is just terminal, sorry for misguiding. – Kamil Klimek May 24 '12 at 8:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .