Hi! I'm using an Arduino Nano 33 BLE Sense Rev2 for violin motion tracking. To visualize data from the Arduino. I want to send OSC data to Maxmspjitter. I can use a serial communication with a cable, but I need a wireless connection.
Could you envision moving to ESP32 + IMU + WiFI instead of Nano 33 BLE Sense + BLE communication ?
Alternatively since the CNMAT OSC library doesn’t support BLE, a "simple" wireless solution would be to use BLE to transmit your data in a custom format and then have a bridge program on your computer that receives BLE data and forwards it as OSC to Max/MSP
➜ On the Arduino, you configure a BLE peripheral with a custom service and characteristic, and write your motion-tracking data, such as accelerometer or gyroscope values, to that characteristic. On your computer, you run a small script, say in Python using the bleak library for BLE, which connects to the Arduino, reads or subscribes to the characteristic notifications, and forwards the data as OSC to Max/MSP via UDP. Max receives the OSC messages and parses them so you don't use CNMAT’s library for BLE while still providing wireless OSC.