alf45tar / PedalinoMini

Wireless and Bluetooth MIDI Foot Controller
GNU General Public License v3.0
479 stars 84 forks source link

BLE MIDI with NUX Mighty Air #453

Closed palonsorodriguez closed 9 months ago

palonsorodriguez commented 1 year ago

Hi Alf45tar,

First, thank you for your awesome project

I'm trying to connect my NUX Mighty amp vía Bluetooth to the Pedalino Mini but I cannot find how to.

I'm able to connect to it and able to switch channels using MIDI+BTLE and Midi Controller apps, in addition to the companion App by NUX. For that I have to select the NUX amp as the server, so I understand that my phone acts as the client.

Is it possible to use the Pedalino as BT client? Otherwise how can you connect to it using an amp?

Thanks a lot

Best regards Pablo

alf45tar commented 1 year ago

You have to recompile the firmware with -D BLECLIENT

palonsorodriguez commented 1 year ago

Hi Alf45tar,

Thanks very much for your response. And after recompiling will be there an option in the web UI to connect to the device?

Thanks Pablo

alf45tar commented 1 year ago

PedalinoMini connect automatically to the first BLE MIDI server available or you can specify the server name under Options.

palonsorodriguez commented 1 year ago

Great to know.

Thanks again for your response

Pablo

palonsorodriguez commented 6 months ago

Hi Alf45tar,

I have a lilygo T-Display v1.1 I'm struggling to flash the device with the suggestions you mentioned. I tried a number of times

  1. When connecting to the computer it doesn't recognize the USB anymore. it errors with "Unknown USB Device - (device descriptor request failed)" . I tried to uninstall the drivers, install them... but I don't have any option. I tried with another computer, but still some problem
  2. When trying to upload via OTA (as it's installed Pedalinomini 3.1.6) it errors telling that it doesn't accept firmware.bin files bigger than 2M (and the T-Display is 4MB)

Do you think any option I could use to reflash it? Would it be possible if no options that you allow for a version that could install over OTA (or if not, let me know how I could do it) so I can install the modified firmware?

Note: I tried flashing pedalinomini to a DOIT ESP32 DevKit V1 but is very unstable as it resets every some seconds

Thanks a lot

alf45tar commented 6 months ago
  1. If the computer do not recognize USB anymore there is no solution to update firmware. Using Visual Studio Code requires an USB connection too.
  2. OTA works only if the firmware size is less than half of the memory size because it works with 2 partitions. One for the current firmware and one with the new firmware.

Regarding DOIT ESP32 DevKit V1 I can suggest to erase the flash, install the firmware and install system image. Do not forget any of these 3 steps.