AnalogToBLE 1.3 Firmware
This is the basic arduino firmware for reading out the values from the analog-to-digital converter (electrodes) and the inertial measurement unit (accelerometer, gyroscope) and sending them via bluetooth.
The basic parameters can be easily changed in the "Configuration" section:
SAMPLE_RATE
: 500 Hz (samples per second) by default. Reduce if you have trouble with dropped packets.CHANNELS
: The number of electrode signals. Default and maximum is 8. If you use fewer signals, it helps to reduce this number, as it avoids using up the limited bandwidth on sending useless noise.
The digital pin D2
is programmed to block transmission of IMU (accelerometer,
gyroscope) signals when the pin is grounded. This allows you to test the
getsure recognition quality with the Python Library + GUI with electrodes alone.
Differences compared to AnalogToBLE 1.2 Firmware
- This is the same, except for the
ARDUINO_REV2
variable which allows you to toggle between Rev1 and Rev2 of the Arduino Nano 33 BLE (Sense) microcontroller.
- Source: Source
- Used in prototype:
- Date: 2023-04-06