NG BLM Matrix

Hi,

I’m working on a controller for my guitar pedal board based on MIDIbox NG. I’m try to use a heavy modded Upper PCB from a Behringer BCR2000 for 8 enc with ledrings and several buttons. For now I have the Button Matrix sharing rows with the Led Matrix. It have reverse diode connection. With the Ledrings set by an ENC with CC <16 the Button matrix works, with CC > 16 the button matrix stop work only for the button line  connected with these ledrings. If I disconnect only the led row everything works fine with any ENC value.

Hope my description is clear, my english is very bad!

 

For now I know could be hardware problem but my first question is, it’s possible to use Button Led Matrix with MIDIbox NG or I’m trying to do something that never work?

http://discourse.midibox.org/t/topic/18728

I attach my .NGC test file

 

Mattia

Hi Mattia,

 

http://discourse.midibox.org/t/topic/18728

 

If the matrix is still not working properly, I need your .NGC file for further analysis.

 

There are no known problems with multiple button/LED matrices (with v1.033_pre1, there was a problem with v1.033)

Older versions can be found here: http://www.ucapps.de/mios32/backup/

But again: it’s unlikely that the problem is related to the firmware itself.

 

Best Regards, Thorsten.

Hi,

thank you for the faster answer! Today I had try version 1.33pre1,2 and a older 1.32pre1 found in another topic. I not try with inverted DIN order, tomorrow I’ll check.

 

Thank you,

Mattia

 

This is my .NGC file:

 

RESET_HW

 

#SCHEDA 1

 

encoder MAP

 

ENC n=  1   sr=3 pins=2:3   type=non_detented

ENC n=  2   sr=3 pins=0:1   type=non_detented

ENC n=  3   sr=3 pins=4:5   type=non_detented

ENC n=  4   sr=3 pins=6:7   type=non_detented

ENC n=  5   sr=2 pins=2:3   type=non_detented

ENC n=  6   sr=2 pins=0:1   type=non_detented

ENC n=  7   sr=2 pins=4:5   type=non_detented

ENC n=  8   sr=2 pins=6:7   type=non_detented

 

Encoder events

EVENT_ENC id= 1  fwd_id=LED_MATRIX:1   fwd_to_lcd=1  type=CC chn= 1 cc= 16  label=“Gain        %3d@(1:1:2)%B”

EVENT_ENC id= 2  fwd_id=LED_MATRIX:2   fwd_to_lcd=1  type=CC chn= 1 cc= 17  label=“Tone        %3d@(1:2:2)%B”

EVENT_ENC id= 3  fwd_id=LED_MATRIX:3   fwd_to_lcd=1  type=CC chn= 1 cc= 18  label=“Volume      %3d@(1:3:2)%B”

EVENT_ENC id= 4  fwd_id=LED_MATRIX:4   fwd_to_lcd=1  type=CC chn= 1 cc= 19  label=“Reverb      %3d@(1:4:2)%B”

EVENT_ENC id= 5  fwd_id=LED_MATRIX:5   fwd_to_lcd=1  type=CC chn= 1 cc= 20  label=“Time        %3d@(1:5:2)%B”

EVENT_ENC id= 6  fwd_id=LED_MATRIX:6   fwd_to_lcd=1  type=CC chn= 1 cc= 21  label=“Feedback    %3d@(1:6:2)%B”

EVENT_ENC id= 7  fwd_id=LED_MATRIX:7   fwd_to_lcd=1  type=CC chn= 1 cc= 22  label=“ToneRepeat  %3d@(1:7:2)%B”

EVENT_ENC id= 8  fwd_id=LED_MATRIX:8   fwd_to_lcd=1  type=CC chn= 1 cc= 23  label=“Mix         %3d@(1:8:2)%B”

 

LEDring-7digits Buttons configuration

DIN_MATRIX  n=1   rows=16  sr_dout_sel1=1  sr_din1=1  inverted_row=1  inverted_sel=1   mirrored_row=0             button_emu_id_offset=1001

DOUT_MATRIX n=1   rows=16  sr_dout_sel1=1  sr_dout_sel2=2  sr_dout_r1=4  sr_dout_r2=3 inverted_row=1 inverted_sel=1  led_emu_id_offset=1001

 

 

modified ledring patterns for 16 LEDs

LED_MATRIX_PATTERNs

LED_MATRIX_PATTERN n= 1  pos= 0  pattern=1000000000000000

LED_MATRIX_PATTERN n= 1  pos= 1  pattern=1100000000000000

LED_MATRIX_PATTERN n= 1  pos= 2  pattern=1110000000000000

LED_MATRIX_PATTERN n= 1  pos= 3  pattern=1111000000000000

LED_MATRIX_PATTERN n= 1  pos= 4  pattern=1111100000000000

LED_MATRIX_PATTERN n= 1  pos= 5  pattern=1111110000000000

LED_MATRIX_PATTERN n= 1  pos= 6  pattern=1111111000000000

LED_MATRIX_PATTERN n= 1  pos= 7  pattern=1111111100000000

LED_MATRIX_PATTERN n= 1  pos= M  pattern=1111111110000000

LED_MATRIX_PATTERN n= 1  pos= 8  pattern=1111111110000000

LED_MATRIX_PATTERN n= 1  pos= 9  pattern=1111111111000000

LED_MATRIX_PATTERN n= 1  pos=10  pattern=1111111111100000

LED_MATRIX_PATTERN n= 1  pos=11  pattern=1111111111110000

LED_MATRIX_PATTERN n= 1  pos=12  pattern=1111111111111000

LED_MATRIX_PATTERN n= 1  pos=13  pattern=1111111111111100

LED_MATRIX_PATTERN n= 1  pos=14  pattern=1111111111111110

LED_MATRIX_PATTERN n= 1  pos=15  pattern=1111111111111111

 

#7segments Display

 

EVENT_LED_MATRIX id=9   fwd_id=LED_MATRIX:10  led_matrix_pattern=Digit1

EVENT_LED_MATRIX id=10  fwd_id=LED_MATRIX:11  led_matrix_pattern=Digit2

EVENT_LED_MATRIX id=11                        led_matrix_pattern=Digit3

 

buttons rows

 

EVENT_BUTTON id=1001 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 01:01 lcd_pos=1:4:2 label=“%2d”

EVENT_BUTTON id=1002 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 02:02 lcd_pos=1:4:2 label=“%2d”

EVENT_BUTTON id=1003 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 03:03 lcd_pos=1:4:2 label=“%2d”

 

EVENT_BUTTON id=1009 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 09:09 lcd_pos=1:4:2 label=“%2d”

EVENT_BUTTON id=1010 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 10:10 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1011 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 11:11 lcd_pos=1:4:2 label=“%d”

 

EVENT_BUTTON id=1017 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 17:17 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1018 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 18:18 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1019 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 19:19 lcd_pos=1:4:2 label=“%d”

 

EVENT_BUTTON id=1025 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 25:25 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1026 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 26:26 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1027 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 27:27 lcd_pos=1:4:2 label=“%d”

 

EVENT_BUTTON id=1033 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 33:33 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1034 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 34:34 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1035 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 35:35 lcd_pos=1:4:2 label=“%d”

 

EVENT_BUTTON id=1041 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 41:41 lcd_pos=1:4:2 label=“%2d”

EVENT_BUTTON id=1042 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 42:42 lcd_pos=1:4:2 label=“%2d”

EVENT_BUTTON id=1043 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 43:43 lcd_pos=1:4:2 label=“%2d”

 

EVENT_BUTTON id=1049 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 49:49 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1050 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 50:50 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1051 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 51:51 lcd_pos=1:4:2 label=“%d”

 

EVENT_BUTTON id=1057 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 57:57 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1058 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 58:58 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1059 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 59:59 lcd_pos=1:4:2 label=“%d”

 

#next 4 rows

 

EVENT_BUTTON id=1004 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 04:04 lcd_pos=1:4:2 label=“%2d”

EVENT_BUTTON id=1012 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 12:12 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1020 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 20:20 lcd_pos=1:4:2 label=“%d”

EVENT_BUTTON id=1028 fwd_id=LED_MATRIX:9 type=ProgramChange button_mode=OnOnly range= 28:28 lcd_pos=1:4:2 label=“%d”

 

 

output LEDS

 

EVENT_BUTTON id=1001 fwd_id=LED:1194 range= 01:01 radio_group=1

EVENT_BUTTON id=1002 fwd_id=LED:1195 range= 02:02 radio_group=1

EVENT_BUTTON id=1003 fwd_id=LED:1196 range= 03:03 radio_group=1

EVENT_BUTTON id=1009 fwd_id=LED:1197 range= 09:09 radio_group=1

EVENT_BUTTON id=1010 fwd_id=LED:1198 range= 10:10 radio_group=1

EVENT_BUTTON id=1011 fwd_id=LED:1199 range= 11:11 radio_group=1

EVENT_BUTTON id=1017 fwd_id=LED:1200 range= 17:17 radio_group=1

EVENT_BUTTON id=1018 fwd_id=LED:1193 range= 18:18 radio_group=1

 

EVENT_BUTTON id=1004 fwd_id=LED:1210 range= 04:04 radio_group=1

EVENT_BUTTON id=1012 fwd_id=LED:1211 range= 12:12 radio_group=1

EVENT_BUTTON id=1020 fwd_id=LED:1212 range= 20:20 radio_group=1

EVENT_BUTTON id=1028 fwd_id=LED:1213 range= 28:28 radio_group=1

Ok,

I have retry version 1.33pre1. The problem is still there. So now I will check my board because the behringer was cabled very different and could be there is a short that I’ve not found.

 

Thank you so much for help!

 

Mattia

Solved!

three days I’m working on and the problem was serial resistor on DOUT matrix.

 

I’m sorry.

Mattia

:thumbsup: