Exchanging data with an Arduino board

FizziQ provides access to information from external cards and sensors via a Bluetooth BLE connection.

Please note that some Bluetooth modules such as the HC06 module are not BLE compatible. FizziQ will not be able to connect to these modules.

For data exchanges with Arduino, FizziQ uses the UART service. This service allows you to send any type of data calculated by the Arduino board. Follow this link to the Nordic Semiconductor page

The data exchanged by the UART service must be structured in the form of a character string of the following format: 'NAME: VALUE'. For example for a voltage of 5 volts: 'Voltage: 5.0'.

 

The following measurement names are recognized: temperature, humidity, atm pressure, voltage, weight, acceleration, luminosity, magnetic field, compass and concentration. The other names will be displayed under the generic sensor name.

To connect an Arduino board with FizziQ by Bluetooth:

1. The device name must include the name "Arduino"

2. The service uuid is "6e400001-b5a3-f393-e0a9-e50e24dcca9e"

3. The uuid of the feature is "6e400002-b5a3-f393-e0a9-e50e24dcca9e"

 

Note that the FizziQ connection receives information from external sensors on the RX uuid of the UART service.

An example of a program for transmitting humidity data can be found in the following text file:

The connection steps for Arduino are the same as for micro: bit and are described in the video below: