Behind the screens, an explanation.

It had to come, an explanation (with some pictures) of the server software getting the online receivers connected to the internet.

My online receivers (Icom PCR100, Ten-Tec RX320 and occasionally the Yaesu FT817) are off course not ‘by accident’ available on the internet. Special sofware has been written and with the use of free available software, some bought program’s and lots of coding, the realisation took place.

First of all the complete picture.

Visable are all the scripts and ‘building blocks’ used. The SAM Encoder V3.7.1 (website) has been licenced. The Winamp player is V2.9.1 (website). This is an old version! to keep the loading for the server as low as possible. The Shoutcast server is also an old version,version v1.6.0rc2/win32 (website). This version of the Shoutcast server is needed to sustain minimal audio delay. If you are using the latest version, (v1.9.7) the delay can be up to 2 minuts. Note: All sofware runs in a Windows 98 environment.

During loading of the HTML page, an automatic scan takes place to check if the RealPlayer (4 seconds delay) can be used or that we default back to the Windows Media Player (10 seconds delay).

Okay, that about the audio connection. Next the control of the receiver, provided on the remote HTML /PHP server. Using PHP scripting a HTML-FORM is build (controller), reading and displaying the current receiver settings and if the user wishes to change, communicates these changes to the receiver. Sending the new settings originates from the remote server using a secured connection to the local server.

On the locale server runs a java programma. The ‘tree’ of this program can be found in the picture below. The program’s are compiled against the Java JDK 1.5 Design Kit.

This server software has modules for the different receivers and contains all functions to communicate, using a secured connection, with the remote server and via RS-232 with the receiver(s). This in java written software is ‘our’ propriety and not available for publication. To give you nevertheless an insite, we present below a small part of the code.

Okay, that’t it. Now the rest. On the remote server runs some additional software. Scripts needed for the layout of the site and scripts used for instance for the shoutbox or the embedded players. Also the registration and the newsbar are created dynamically using PHP scripting. (PHP is ideal for this purpose with good security). Furthermore the use of an MYSQL database is in place to keep data for statistical purposes. This database is IP-number oriented.

We can, by doing this, identify users (name in the shoutbox) and for instance create statistics per receiver.

Then to wrap up a picture of the server plus the PCR100 and RX320 receivers. (on a shelf under my desk)

The server PC is an old IBM Thinkpad 390 (P2/450MHz) and for the 2nd RS-232 and 2nd Soundcard we use a Sitecom USB-Serial Cable and a Sitecom USB Audio 5.1 Adapter. Next to this we use a PCMCIA LAN card from 3COM.

On the server are running two  ‘Winamp – SAM encoder – Shoutcast server‘  combinations. The loading of the PC stays well under 50%, so the server is very relaxed doing his job.

To complete, we have enabled some SMS ‘alerts’ to announce the status (or status change to be precise) of the server(s). Both server are also remote accessable.

I hope that this story gives some more insight about the set-up of the ‘online receivers’. You can mail me if you have any further questions.

vy 73 de Johan, PA3ANG