* C2 - utopia Musical/visual/dance performance of Borut Kržišnik's new album, Utopia, with Ryuzo Fukohara dancing and triggering / modulating sounds and projections by Simon Svetlik. We plan to plant 5-6 sensors on Ryuzota, the IMU signals will be converted into midi for Borut in Simon. ** Code *** Arduino sensor [[file:src/ada.cpp][Arduino source (adafruit on ESP32S2)]] *** Arduino receiver [[file:src/sprejemnik.cpp][Arduino source (ESP32S3 receiver)]] *** Supercollider receiver code [[file:utopia.scd][Utopia receiver]] *** SLIPDecoder source [[file:~/.local/share/SuperCollider/downloaded-quarks/SLIPDecoder/SLIPDecoder.sc][SLIPDecoder source]] ** Microcontrollers *** LilyGo ESP32-S3 https://www.lilygo.cc/products/t7-s3 [[file:doc/t7-s3_v1.1_pinmap.jpg][Pinout]] Sometimes doesn't want to flash; hold BOOT button and click RESET to enter flash mode. [[file:lib/OSC/SLIPEncodedSerial.cpp][cnmat/OSC SlipEncodedSerial]] needed a modification; constructor argument typecast to ~HWCDC~. Should be compiled with ~-DARDUINO_USB_CDC_ON_BOOT=1~ to enable USB CDC. *** Olimex ESP32-S2-DevKit-Lipo-USB microcontroller For (testing / development) https://www.olimex.com/Products/IoT/ESP32-S2/ESP32-S2-DevKit-Lipo-USB/open-source-hardware [[file:doc/ESP32-S2-DevKitLiPo-GPIO.png][Pinout]] ** Sensor (Adafruit BNO055) [[file:lib/Adafruit_BNO055-1.6.3/Adafruit_BNO055.cpp::57][Operating modes]] [[file:doc/BST_BNO055_DS000_12.pdf][Datasheet]] ** Materials [[file:./dokumentacija.jpg][raw documentation]] - +8 senzorjev MPU 9250 (9-DOF)+ (wrong models sent, MPU-6500 or similar, returned) https://www.ebay.com/itm/153559516252 5.88$ * 8 + 3.49$ (posiljka) = 47.89$ * 1.22 davek = 58.43$ (+ carina nekaj?) - +8 krmilnikov esp32+ https://www.olimex.com/Products/IoT/ESP32-C3/ESP32-C3-DevKit-Lipo/open-source-hardware 6€ * 8 = 48€ * 1.22 davek = 58.56€ (+ shipping = ? - iz bulgarije) - 14x Li-Po battery 3.7V 800mAh https://www.tinytronics.nl/en/power/batteries/li-po/li-po-accu-3.7v-800mah 6.75€ * 14 - 10x Adafruit BNO055 9-DOF sensors https://learn.adafruit.com/adafruit-bno055-absolute-orientation-sensor/overview - 8x LilyGo ESP32-S3 microcontrollers https://www.lilygo.cc/products/t7-s3 [[file:doc/t7-s3_v1.1_pinmap.jpg][Pinout]] We also need some velcro tape to make sensors easily mountable and protoboards to hold it all together. And a charging station for batteries (TODO).