/SlowControl

A library that allow you to communicate to Slow Control Board designed by UCLouvain.

Primary LanguageC++

SlowControl

A library that allow you to communicate to the DiscO slow control board designed by UCLouvain. It is meant to work with the DiscO_Sensors library for reading out the board with the DS18B20 and BME280 sensors, for reading out the SCD30 sensor, or for interfacing with a Linduino board itself reading out analog temperature sensors through and ADC. Which sensors to read can be easily configured in the sketch. For the firmware of the Linduino board itself, see https://cp3-git.irmp.ucl.ac.be/phase2tracker/lindui2983rtd

Example and configuration

The library comes with two example sketches:

See the #define directives at the top of the sketches to configure the active sensors, the board ID, ...

For flashing the firmware, install the board manager listed below and select "Generic ESP8266 Module". The serial monitor works with 115200 baud.

What does the library include ?

  • Automated wifi connection creating an access point to enter WiFi Informations (but take previous credentials if it was connected before)
  • MQTT Communication Management (automatically reconnecting when server is reachable)
  • Sensors readings independent from network connection.
  • Currently disabled: Event Status Update of others DiSCo Board based on MQTT Subscription.

Library dependencies

The libraries can be installed through the Arduino IDE, make sure you use the ones below: