Serial-over-IP Application

This project is a serial-over-IP (SOI) application written in Tibbo BASIC

Similar projects worth following
Many Tibbo customers first came to know us by our fixed-function device servers (such as the DS203) and modules (EM203). This project is a serial-over-IP (SOI) application written in Tibbo BASIC. It runs on our BASIC-programmable devices, such as the new DS110x family of programmable serial controllers. The application closely resembles our fixed SOI firmware.

Notable additions are:

  • Support for the OLED display of DS1101 and DS1102 devices.
  • Wi-Fi and GPRS support with seamless switching between Ethernet, WiFi, and GPRS.
  • Web admin interface -- setup your devices via the web browser;
  • Multi-port and multi-channel operation;

Notable limitations:

  • No support for start and end characters on the serial side.
  • No LinkServer support.

Like our fixed firmware devices, the SOI application works with our Tibbo Device Server Toolkit (TDST). We have a separate Serial-over-IP Solutions Manual that explains everything in detail. Material on this page is meant as a simple introduction on how to use this SoI Tibbo BASIC application. We also briefly explain new stuff, like the OLED display or the interface switchover.

As an example, we will setup one serial port of the DS1101 device to operate with a virtual serial port (VSP, a.k.a. "virtual COM") of the PC. There are many other device server usage scenarios which we will not talk about here.

  • 1
    Step 1

    Preparing the DS1101

    DS1101 devices ship with this SoI application preloaded and properly initialized. Just in case yours had it differently or was already used to run something else, here is what you do to prep the app:

    • Download and install the Tibbo Device Server Toolkit (TDST) software for Windows. Install the latest version even if you already had TDST installed on your PC.
    • Load the application using Device Explorer. Subsequent upgrades of this application can be done via the DS Manager (part of the TDST).
    • When you first run the application the device will enter the error mode, which means that it's setting (which are stored in the EEPROM) require initialization. The error mode is indicated by blinking red status LED. Devices with display will also have the following message on the screen:

    Note: SoI application automatically switches the display off after a certain timeout. To turn the display on, briefly press the MD button.

    When there is a display:

    • If the display is off, briefly press the MD button to turn the display on.
    • When in the "ERROR MODE" screen, press and hold the MD button until you see the "INIT COMPLETE" message.
    • Reboot (power-cycle) the device.

    When there is no display:

    • Press the MD button once to enter the serial programming mode (red and green status LEDs blinking).
    • Press and hold to initialize.
    • Wait until the green status LED is turned on.
    • Reboot (power-cycle) to complete the initialization.

    After the reboot you should be able to see your device in the DS Manager. Initialized devices have their DHCP turned off, so your DS1101's IP will be

    Note: from time to time our users encounter firewall issues. You may have to disable your firewall (or allow UDP traffic on port 65535) for the DS Manager to be able to see your DS1101.

  • 2
    Step 2

    Setting the IP address

    • Find your DS1101 in the DS Manager's list, click Settings.
    • Enable DHCP or set the desired IP address.
    • Click OK.
    • The DS1101 will reboot with the new IP/DHCP configuration. You can click Refresh to see what IP address is actually being used by the DS1101 now.

  • 3
    Step 3

    Using web admin

    Once your devices has a same IP address and you know what it is you can also use your web browser to setup the DS1101. Point the browser to the target IP address and the rest is obvious.

    Hint: there is no password, just click Login. You can set the password later.

View all 6 instructions

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates