Skip to main content

28 docs tagged with "programming"

View all tags

How can I send IO count data to InfluxDB and Grafana?

This FAQ will explain how Node-RED can be used to send data to InfluxDB and how this data can be visualised in Grafana. We will describe fully the example of sending IO count data from the BB-400 to a database in InfluxDB and then we will produce graphical visualisations of this data.

How do I create a windows forms app for Remote IO in VB Visual Basic?

Brainboxes provides a .NET API which allows easy integration of Brainboxes Remote IO modules into your Windows software applications. The following sample code demonstrates how to use the Brainboxes.IO API to create a simple windows forms application using VB Visual Basic. You can download the sample code above, you will also need the requirements below to make the project work.

How do I query the state of my ED devices IO lines in Matlab?

The Boost.IO Manager application must be installed on your computer for the code below to work. This is because a COM port will be assigned to the ED device when it is installed in the Boost.IO Manager. When the ED device is installed as a COM port on your computer, it will not always install as COM3. Therefore you may need to edit the COM port value in the code below so that it uses the COM port for your ED device.

How do I reprogram the Arduino on the BB-400?

The 8 Input/Output (IO) lines on the BB-400 are controlled by an Arduino micro controller chip (ATMEGA16U4). By default, the BB-400 ships with a programmed Arduino and a server on the Raspberry Compute module, which allows for various communication protocols. However, there may be situations where you may wish to add new functionality to the Arduino. This FAQ will describe how to reprogram the Arduino, with your custom code.

How do I send an email when an IO line changes using C# (Sharp)?

This FAQ will show you how to send an email when a digital Input or Output is triggered. The email is sent over SMTP. Note this FAQ also applies to Brainboxes Remote IO (ED) device range, but the code will have to run on another piece of hardware (e.g. a PC or laptop). For further information on how to set up your development environment and write C# for the BB-400 please follow the FAQ Write C Sharp Application for BB-400.

How do I use Android to communicate with my Remote IO Module?

Disclaimer: The app mentioned in this FAQ was developed for Android 4.3, is now deprecated, and is no longer available on the Google Play Store. If you wish to test this app, we can provide the APK, but please be aware that we are no longer developing it.

How do I use C# to control my Ethernet to Serial device?

Brainboxes provides a .NET API which allows easy integration of Brainboxes Ethernet to Serial modules into your Windows software applications, (or general .NET application which can also be run under Linux using .NET CORE or Mono).