TorqueTuner: A self contained module for designing rotaryhaptic force feedback for digital musical instruments.
TorqueTuner is an embedded module that allows Digital Musical Instrument (DMI) designers to map sensors to parameters of haptic effects and dynamically modify rotary force feedback in real-time. It comes with an embedded collection of haptic effects, and a is wireless bi-directional interface through libmapper.
The hardware is based on the ESP32 microcontroller and the mechaduino platform, to implement a force feedback rotary encoder with 3600 PPR ~= 0.1 degree resolution that can display forces up to 45 Ncm (63.7oz.in).
Clone this repository and all of its submodules
git clone --recursive https://github.com/IDMIL/TorqueTuner
on MacOs
git clone https://github.com/libmapper/libmapper.git
cd libmapper
./autogen.sh
make
make install
Upload mechaduino firmware
- Open software/Mechaduino-firmware/Mechaduino/Mechaduino.ino in arduino
- Choose board -> arduino zero
- Upload
Upload ESP32 firmware
- Install arduino-ESP32 using boards manager
- Open software/TorqueTuner-ESP32/firmware/ESP32/ESP32.ino in arduino
- Choose board -> TinyPico
- Upload
Follow instructions on calibrating the magnetic encoder with the known step angle given.
TODO: Write about how to use libmapper, supported audio environments and examples