alf45tar / PedalinoMini

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

LED State Synchronization and New Resistor Ladder #401

Closed bobvc133 closed 1 year ago

bobvc133 commented 1 year ago

setup ipMidi between two PedalinoMini #58 When PedalinoMIni receives from any supported interface a NoteOn/CC/PC midi message corresponding to a pedal it turn on (or off) the corresponding led.

I used two PEDALINOMINI to test and found that only when receiving PC signal, the corresponding LED will be turned on or off. When receiving CC and NOTE signal, only the screen will display the received MIDI signal.

Another question, can the type of resistance ladder in the picture be realized? If it can be realized, then one controller port supports 7 independent switches, and a total of 42 switches can be expanded Snipaste_2022-11-19_13-17-13

alf45tar commented 1 year ago

The circuit is working fine but it requires a lot of changes in the software with no value. If you need more buttons increase the LADDER_STEPS and recalculate the resistors.

http://www.ignorantofthings.com/2018/07/the-perfect-multi-button-input-resistor.html

alf45tar commented 1 year ago

Check version 3.0.3 for led synchronisation fix

bobvc133 commented 1 year ago

Check version 3.0.3 for led synchronisation fix

After testing, three problems were found

  1. The IP MIDI interface can synchronize the LED status, but the Legacy MIDI interface cannot.
  2. When editing the momentary effect, the PRESS and RELEASE actions can only set the off color, so the LED brightness is always the off brightness
  3. When editing the NOTE ON and NOTE OFF actions, except for the second problem, the LED status can't sync either.
AndreySom commented 1 year ago

First, I'd like to thank you @alf45tar for such a nice project. I've built mine and it works like a charm. I became a sponsor today, and I had the same led sync question as bob posted above. I'd like to know where can i find version 3 to test it. I'm using IPMidi.

alf45tar commented 1 year ago

@AndreySom I added you to the private repository. You should have received an email.

bobvc133 commented 1 year ago

@AndreySom I added you to the private repository. You should have received an email.

3.0.4 version firmware web page layout is a bit problematic Snipaste_2022-11-28_21-55-40 Snipaste_2022-11-28_21-56-43

alf45tar commented 1 year ago

Very strange. I didn't change too much in the WebUI this time.

alf45tar commented 1 year ago

Sill an issue?

bobvc133 commented 1 year ago

Sill an issue?

For firmware 3.0.4, when editing the momentary effect, the PRESS and RELEASE actions can still only set the OFF color, so the LED brightness is always OFF brightness. It is strange when editing the NOTE ON and NOTE OFF actions, but the ON and OFF colors of the RELEASE action can be setting, but the ON color cannot be synchronized, and the option page encoder layout problem still exists

alf45tar commented 1 year ago

I am not able to reproduce the Options page layout issue. It works fine for me and I have no evidence from others. Did you try to cancel the cache of the browser? Did you uploaded the new filesystem image? Did you try to fully erase before flash the new firmware?

bobvc133 commented 1 year ago

I am not able to reproduce the Options page layout issue. It works fine for me and I have no evidence from others. Did you try to cancel the cache of the browser? Did you uploaded the new filesystem image? Did you try to fully erase before flash the new firmware?

  1. Every time I burn the firmware, I will erase it, and then recompile and upload the firmware and file system image. My browser has always disabled the caching function. The test uses the original firmware and only modifies the port.
  2. There are still problems with the layout of the encoder bar on the 3.0.5 firmware option page in various resolutions
  3. There are still problems with the LED setting and status synchronization of the instantaneous action of the 3.0.5 firmware
  4. I also found a problem that the CC action of the momentary effect can only be set in TAG1, and the NOTE action can only be set in TAG2.

Snipaste_2022-12-11_11-46-33 Snipaste_2022-12-11_11-46-52 Snipaste_2022-12-11_11-47-563 Snipaste_2022-12-11_11-47-26 Snipaste_2022-12-11_12-00-06 Snipaste_2022-12-11_12-01-15

alf45tar commented 1 year ago

Encoders tile when on single column fixed in version 3.0.6. Tag1 and Tag2 are used as is by design. It is not considered a bug. May be in some next version I will create anything more coherent. Can you be more specific on point 3?

bobvc133 commented 1 year ago

Encoders tile when on single column fixed in version 3.0.6. Tag1 and Tag2 are used as is by design. It is not considered a bug. May be in some next version I will create anything more coherent. Can you be more specific on point 3?

First of all, set the press and release actions at the same time, the ON color setting of the press is invalid, only the OFF color can be set, so the LED brightness can only be OFF brightness. The Note Off Release action can set the ON color, but CC cannot. The LED status also cannot be synchronized. These problems all occur in the momentary effect. Snipaste_2022-12-12_20-40-18

Snipaste_2022-12-11_22-17-30