In the movie, we show that we wired the necessary connections to the 'T' pin (the red wire) of the board inside the headset, and to the ground, that needs to be common with the UDOO board's ground (the black wire). The wires are connected to the 0 (RX) pin and the GND pin of the UDOO board, respectively. Software-side, we used the Brain library which takes packets received from the serial interface and interprets them, giving values in CSV form, for us to process in the next step. For receiving data from the headset, the M4 core of the board runs the Arduino code and uses the Serial0 object (UART 5) to take the raw data, which is processed by the Brain library. Then, the resulting string is sent to the A9 core by using the provided shared memory. The Serial object is used for this step, as we see in the video. The received string contains values in the following form: signal strength, attention, meditation, delta, theta, low alpha, high alpha, low beta, high beta, low gamma, high gamma We will use them in the following milestones.
View full article