Exchanging data with an ESP32 card
FizziQ provides access to information from external cards and sensors via a Bluetooth BLE connection.
For data exchanges with ESP32, FizziQ uses the UART service. This service allows you to send any type of data calculated by the ESP32 card. 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 ESP32 card 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"
An example of a program can be found in the following text file (thanks to Daniel Rouan):
The connection steps for Arduino are the same as for micro: bit and are described in the video below: