-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Board chain: USB <> BLE <> Motor fader #940
Comments
If you control both endpoints of the BLE link, there's no such restriction, as you could use any custom protocol to send the MIDI data.
Specifically, it requires an ATmega328P. This covers the original Nano, but not the inappropriately named newer Nano variants like the Nano 33 IoT/BLE or Nano Every
Why not use a single ESP32 that connects to your computer's Bluetooth card directly? While the Control Surface Motor Fader project was written specifically for the ATmega328P, the techniques that are used can be ported to other platforms as well, but you'll need some (low-level) programming experience to pull it off. The reason why I wrote it for the ATmega328P is that Arduino Nano clones are really cheap, and can be added as slaves to a more powerful microcontroller. The timing of the control loops is pretty sensitive, so using separate microcontrollers for them is an easy way out, although you could in theory reserve a single core (or even a high-priority task) on the ESP32 for the control loops and not use any extra microcontrollers. |
Thanks for your prompt response!
This definitely sounds like the best option. I'll try to figure it out (I'm new to midi and bluetooth...). Any sketches available I could build upon are greatly appreciated. |
No specific sketch, you can simply replace the |
Dear Pieter,
what is the best platform to ask questions regarding Control Surface?
In case it's here (if not ignore):
What is the best chain to control a motorfader via ble?
If I understand correctly for native USB support one of the following boards is required:
Arduino Due, Arduino Leonardo, Arduino Micro, Arduino Nano 33 IOT, Arduino Zero, Arduino MKR Zero, Arduino MKR1000 ...
For BLE transfer two ESP32 are required, as the Arduino Nano BLE is not supported.
For Control Surface Motor Fader an Arduino UNO or Nano are equired.
So a possible chain would be:
PC side:
Arduino Micro
ESP32
Control Side:
ESP32
Arduino Nano BLE
This is four boards. Is there any option to reduce it to three or even two boards?
Thanks a lot in advance!
Thorsten
The text was updated successfully, but these errors were encountered: