SerialServer, Arduino addon
Sunday 26 October 2008 – 12:00
by Dan O’Sullivan
SerialServer relays bytes back and forth from an internet socket connection to a hardware serial port. It is sort of like an ethernet to RS232 converter. This is especially useful for software like Flash which has an easy time making socket connections and a hard time making serial connections.
For Win32 user, AvrIDE.com Team had re-package for easy install to Arduino software, publish on AvrIDE.com only , http://www.avride.com/pop/store/SerialServerSetup.exe
install on Arduino software folder, SerialServer icon created on Start Menu and click to run..
For Linux user, download http://www.avride.com/pop/store/ss6linux.tar and extract files on disk (Arduino folder recommended)
copy RXTXcomm.jar and librxtxSerial.so into JAVA Runtime -> lib -> ext
pathname depand on Version you are using (root permission needs for files copy),
$ sudo cp RXTXcomm.jar /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/ext
$ sudo cp librxtxXSerial.so /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/ext
then run ss6.jar on console
$ java -jar ss6.jar
for MacOS X (Intel) users, download http://www.avride.com/pop/store/ss6mac.zip and extract files on disk (Arduino folder recommended)
copy RXTXcomm.jar and libSerial.jnilib into /Library/Java/Extensions/.
for FTDI USB Serial adapter (UCON-232) can download driver package V2.2.10 on http://www.ftdichip.com/Drivers/VCP/MacOSX/UniBin/FTDIUSBSerialDriver_v2_2_10.dmg
also available on folder ” Arduino -> driver “.
Unpack and install package and restart needed.
after boot again, plug FTDI USB Serial to machine and open ” System Preference -> Network “.
the notification “New Interface detected” as FT232R USB UART and click “Confirm”
next procedure for avoid report “Port already in use” (issue on 081024) and status is <Bad>

because application cannot access to use folder /var/lock was missing on new Machine
Let’s do it, open Terminal and type
sudo su
(System user password needed for change)
then change permission on “/var/spool/uucp”
chmod 755 /var/spool/uucp
and take owner by system
chown root:wheel /var/spool/uucp
if folder “/var/lock” is not appear , you need to create new one
mkdir /var/lock
and change permission too
chmod 777 /var/lock
That’s all done… call ss6.jar and check port status and shoulld be appear <OK>

visit Dan O’Sullivan site here
http://itp.nyu.edu/~dbo3/SerialServer/SerialServer.html
Updated on 2008-11-02, <Worapoht K.>
Sorry, comments for this entry are closed at this time.