Take me home
Functional IoT System Description
System Overview

Putting numbers on the internet is a relatively easy task these days, this project will instead focus on controlling the CDi3/P7 controller through Switcher3, its native application software, as well as put numbers on the internet. The system offers data redundancy as the numbers are recorded at the ThinkSpeak server as well as in the controller non-volatile memory.

This example IoT system is centered around the FlyportPro module. The module is always connected wirelessly to the router and thus to the internet. When a predetermined interval has elapsed, 5 minutes in this application, it will connect through the charger to the CDi3/P7 controller, get a list of values, and then through the wireless router connection update the ThingSpeak server.

The RS485 wired connection between Charger and Remote will be replaced by RF modems eventually, indeed this has already been done, just keeping complexity low for a while. Router, 4104, and FlyportPro all have their own web pages so they can all be controlled through the browser, cell phone, etc., from across the globe.

The RS232 connection between the 4104 and the FlyportPro is actually open circuit at the FlyportPro end most of the time, but it can be manually connected to the charger at any time through the web, as shown here, just click on the "F" to toggle.

FlyportPro-served control page. The 4104 can be configured remotely through its own webserver. Finally, the numbers from this test system are on this page, The Dashboard, second set down.

FlyportPro Proto Board
FlyportPro Prototyping Board
FlyportPRO Internet Of Things Module
FlyportPRO Internet Of Things Module

The FlyportPro internet module has several jobs in our example system:

  • Interrogates the devices it is networked to and publishes results to a public or private ThingSpeak channel.
  • Acts as a webserver, in other words, publishes web pages to the internet.
  • Gets time information from the network using SNTP.
  • Controls when the charger goes into high charge mode.
4104 Ethernet to Serial Server, TCP 4680 @
4104 Ethernet to Serial Server 4104 Ethernet to Serial Server
The 4104 is a hardware and software method of providing a remote internet-enabled standard serial port. Users must download and install on their computers a utility which when properly configured will provide a virtual serial port, which can then be used to access the remote 4104 device. In this example we will be using Switcher3 software to access a remote CDi3/P7 controller across the internet, so the latest Switcher3 must already be installed and registered. The 4104 needs to use TCP port 4680 and in this example uses IP on the local network. It also has an HTTP webserver @ internal port 80, external port 8008. Port forwarding techniques must be used if your ISP is not providing you with a static IP. In this example system, the dyndns service and port forwarding are used to link a name, "adamshouse.dyndns.biz" with the router external IP which changes from time to time.


  • Download and install SeaLink for Windows from the manufacturer's website.
  • When installed, right-click the "NetSerial" icon on the lower-right section of the taskbar and select "Configure".
  • On the "SeaLink Configuration" window, click "Select Ports" and only select "COM80" and click "OK".
  • On the "SeaLink Configuration" edit the textboxes to match this screen.
  • On the "SeaLink Configuration" click "Advanced" and edit things so everything matches this screen.
  • Click "OK", then "Save".
  • You now have a virtual serial port, COM80, ready to setup in Switcher3. Just "Add Logger" and type in the textbox "024, P7, COM80, 115200, All"

Like us on Facebook
Follow us on YouTube
Follow us on Twitter
SingleChips Greece
SingleChips Cloud
SingleChips Canada
Copyright © 1991-2018 AdamG Last Update: Saturday, February 24, 2018 10:56:11 AM