Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
    
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. –  Justin 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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.