A number of our customers are looking for a way to connect a serial port straight to the cloud securely. This FAQ will discuss the options available.

  1. Port Forwarding

    In this scenario the cloud server makes an inbound connection to the brainboxes Ethernet to serial device (which resides on the internal network). The Brainboxes ethernet to serial device exposes its connection by forwarding a connection to its serial port through the router.

    Use a service such as NOIP

    Set up port forwarding on the internet facing router.

    From the cloud connect out to your dynamic dns domain name with the port number of the router.

    Communicate with the brainboxes device from the cloud in raw TCP mode or use Brainboxes.IO software API

    Advantages: It works!

    Disadvantages: Not secure. Need to configure each location and have access to the router

  2. Cloud Connection using Brainboxes.IO software

    In this scenario an intermediary controller device such as a PC/Laptop or Raspberry Pi communicates with the Brainboxes Ethernet to serial device on the local network. Then relays that communication securely, by making an outbound connection to the cloud

    Need a Controller in the system.

    Controller needs a Windows OS or OS with Mono framework installed

    Write a small piece of software using brainboxes.IO API to communicate from the Controller to the ES, and send data up to cloud Sample code

    This is the prefered option for many of our customers

    Advantages: Secure! No router config

    Disadvantages: Need an RPi or equivalent, small amount of software dev

  3. Brainboxes Serial to Cloud server

    In this scenario the Brainboxes Serial to cloud device communicates with the RS232 or RS422/485 peripheral and makes an outbound secure connection to the cloud and communicates the data to the cloud.

    In the brainboxes product development pipeline we are working on a device that can make secure outbound connections to the cloud, and manage the serial communication interface.

    Advantages: Secure and no router config and no PC/laptop/RPI

    Disadvantages: Software rewrite of non cloud apps

The best thing to do is contact our technical team who will happily advise you on the best configuration for your system