December 14, 2004
Radio Man Software
Here is the RadioMan interface. Should work on Windows, Mac OS X and Linux although I have only used it in Linux and Windows. (No serial port on the old iMac)
Things you will need are the comm libraries from http://java.sun.com/
using the javax.comm namespace.
I will assume you can figure out how to get this installed from the intructions
from the README.htm included in the distribution.
At 80k compressed with sourcefile javadoc documentation and the classfiles I went ahead and placed it all in one package. If you downlaod the only real thing you need to look at is RadioMan.jar the rest is for people to mess with on their own.
ScreenShot.
Intructions:
First you will need the 1.5 jre or higher from java.sun.com. This application
uses the String.format method which is not available on previous versions of
the jre. Next you will need the javax.comm namespace lilbrary from java.sun.com.
Once this is all setup obtain the jar file.
You will need a settings file. The application defaults to /dev/ttyS0 but your
port may be different. For this you will need a config file. The default config
file is located in /etc/radioPrefs its should look like the following.
/etc/radioPref
I need a solution to determine the users platform and adjust the file location based off that. This is an excersize I might not get to but it would be nice. In the meantime you can always edit the source files and recompile for Windows.
port=/dev/ttyS0 preset1=570 preset2=660 preset3=820 preset4=1080 preset5=92.50 preset6=97.90 preset7=100.30 preset8=104.50 preset9=106.10 preset10=106.70 lastStation=570 |
The following is a script I use to start the radio and keep the statio presets
were I can write to them as a user.
/bin/radio
#!/bin/bash /usr/local/jdk/jre/bin/java -cp /usr/local/radioman/classes/RadioMan.jar radioman/radioMan /home/$USER/.radioPrefs |
The device itself can be found at PI Manufacturing.