only one ledring for multiple encoder?!

i’m currently building my new midibox, and i will mount both 16  pots and 16 encoders.

but i have decided not to mount 16 ledring for each encoder (TOOOO much work…), and to use them without indication.

but i was thinking this:

is it possible to mount only one “ledring” (in the form of a meter… i.e. not a “ring” but several led in a straight line) and assign this only one ring to every encoder?

my idea is that, when i move an econder, this single ledring will monitor the state of the encoder that i’m moving… swithcing its state depending on the encoder used in that moment…

i will not monitor the status of every encoder, but only see a single  encoder value…

Hi Matteo,

it’s impressing that you are never giving up to save money and effort :wink:

A change should be simple, open mb64e_ledrings.inc and replace following lines:

incf	MB64E_LEDRINGS_CTR, W, BANKED
andlw	0x0f
movwf	MB64E_LEDRINGS_CTR, BANKED
[/code]


by:
[code]  
 ;; always display status of last modified encoder  
 movff MB64E\_LAST\_ENTRY, MB64E\_LEDRINGS\_CTR  

Best Regards, Thorsten.

ahaha!! :slight_smile:

thorsten, you are right!

i try always to achieve the maximum i can with the minimum expense…

also this is part of the funny to build the midibox! :slight_smile:

there is always the behringer BCR control to buy, if one wants the simple  things!!!

(this topic could also be name: “one ledring to rule  them all”… i’ll throw my MidiBox in the flames of  Mount Doom… :wink: )

Hi Matteo,

it’s impressing that you are never giving up to save money and effort :wink:

A change should be simple, open mb64e_ledrings.inc and replace following lines:

incf MB64E_LEDRINGS_CTR, W, BANKED
andlw 0x0f
movwf MB64E_LEDRINGS_CTR, BANKED

uhm.. i tried but it didnt worked. when i change encoder, the leds simply turn off… by:

;; always display status of last modified encoder
movff MB64E_LAST_ENTRY, MB64E_LEDRINGS_CTR

Best Regards, Thorsten.

How did you connect the cathodes of the LEDs, and to which shift registers (SRs) are the anodes connected?

Best Regards, Thorsten.

the connections are the one indicated in hte schematic.

only one ledring is presetn: the cathode to SR1, and the 11 leds to SR 3 and 4…

So, with a single LED ring it makes sense to connect the cathode line directly to ground, so that it is always powered

Best Regards, Thorsten.