Exchange data with the HM-10 module
​
FizziQ provides access to information from external cards and sensors via a Bluetooth BLE connection. The micro: bit , Arduino BLE , or ESP 32 cards have bluetooth BLE modules compatible with FizziQ.
​
For boards that do not have a Bluetooth module like the first generation Arduino boards, or for programming languages ​​that are not compatible with the bluetooth modules of the boards (for example Python on micro: bit), the module can be used. Bluetooth HM-10 which allows data to be sent directly to the FizziQ application via Bluetooth BLE.
​
Please note that other modules such as other Bluetooth modules such as the HC06 module are not compatible. FizziQ will not be able to connect to these modules.
​
The HM-10 is a small 3.3v SMD Bluetooth 4.0 BLE module based on the TI CC2540 or CC2541 Bluetooth SOC (System On Chip). It allows data to be sent in UART format to various services. For more information: http://www.martyncurrey.com/hm-10-bluetooth-4ble-modules/
​
FizziQ recognizes the data published on Service 3, Custom Service, and on the feature uuid: 0000FFE1-0000-1000-8000-00805F9B34FB
​
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'. For more details, follow this link .
​
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 HM-10 module with FizziQ via Bluetooth:
1. Check that the data is sent by the CUSTOM service.
2. The uuid of the feature is "0000FFE1-0000-1000-8000-00805F9B34FB"
3. A notification must be issued to indicate to FizziQ that the data is available.
3. As an alternative to the notification, we can include a pause of at least 500 ms between the publication of two data. The HM-10 module automatically include a notification.
​
Example of a program created with the VittaSciences programming environment, with a micro: bit card, a Grove extension and an HM-10 module
​
