RGB hue sweep

there is a little error message, which the terminal outputs as soon as I start the midibox:

ok, I’ve to shorten the label name in the next release

 And btw: Is there a chance so control the LEDs with the internal MIDI clock so it can act like an visual metronome? :slight_smile:

MIDI clock event handling is still on the TODO list - so, yes, could be possible sooner or later.

 //edit: just discovered another “bug”. When I set the rainbow on and run after that RGBLedClearAll not always all LEDs will go off. Sometimes (random) a few of them are still on in different colors (no rainbow effect). I’d need to use the command twice in this case to shut off all LEDs. :slight_smile:

the rainbow effect is handled in the background task. It’s possible that it will be disabled from a higher prio task while new LED values are written, this results into the effect that you see. However, In the next release, LEDs should be cleared correctly.

The rainbow effect should still go on when you change between those two NGC files. But you an see that the speed differs. Is this meant to be like this?

yes, it’s plausible: timings are not ensured when functions (like the rainbow effect) are called from the background task. The AINSER module will cause some additional CPU load and this will slow down the rainbow effect.
Not critical from my point of view (assuming that we are talking about a testing feature)

Best Regards, Thorsten. 

Thanks for making some things clear ;-) 

It looks awesome… :slight_smile:

Yes, they do! 

Very good work! Finally you are able to display the keyboard split zones with different colors, right?

Best Regards, Thorsten.

Well… it would be possible. But you would need to send A LOT of MIDI messages on patch change. I had no idea yet how to get around this…

And finally: The distance between each LED is not the same as the keys… so not every key has it’s LED. I have 71 LEDs on the lower board and not 88 :slight_smile: Anyway… it’s already such a nice feature… I LOVE IT!! :slight_smile:

 

 

Works well! (at least the LED part). Encoders are up next.

1 Like

Illuminated encoders in full RGB:

 

Now I need those “Waldorf” clear knobs!

2 Likes

@latigid on, @TK : Dudes,such a nice work!! :o just what i wanted to do about the sparkfun buttons.

If i understood good TK told that 64 RGB LED could be driven, and even more?

I am just planning in making a 4x16 RGB BLM for sequencer V4 with sparkfun butons. Other buttons would be “monochrome”. ^^

Do you think this kind of led would fit ? http://www.ebay.fr/itm/252197462630?var=551032876050

thanks for your advice,

good evening,

JK

According to adafruit, there are at least two LEDs with different names that use the same controller (or an equivalent). I think they should work; you should choose the 5mm LED as 8mm is too large. 

At some point I will sell the PCBs to suit (don’t buy Sparkfun PCBs unless you want to use common RGB LEDs), price should be about 8 EUR.

 

If you read through TK.'s code example on svnmios32, he states that driving the LEDs takes up quite a bit of memory but not too much CPU overhead. There is a limit in the chain length in order to guarantee data transmission. I’m pretty sure that the controllers hold the colour value and new data is only required for updates. The advantage of shift registers is the parallel data transmission which allows for a simple serial stream to rapidly clock multiple lines. Disadvantages are the complicated PCB and software matrices, but it does work (BLM 16*16+X).

Bon weekend,

 

1 Like

Hi again,

Count on me for 4 PCB , that will allow me to make some tests with these 5mm LEDs. The limit was 48 bits in total adressing ?

I am a bit tired right now so i’ll check TK code tomorrow =)
 

merci pour tout et bon weekend aussi =)

JK

Is there any schematic on how to connect WS2812 LED (matrix?) to DOUT?

7 hours ago, Psykhaze said:

Is there any schematic on how to connect WS2812 LED (matrix?) to DOUT?

Serial chain from J4B, pin 6 (SC) I think.

The WS2812 chips can’t be connected to a MBHP_DOUT module due to the different serial protocol.

Best Regards, Thorsten.

So, how to connect these WS2812/ APA106  leds to CORE32? is it possible to drive a rgb matrix ?
best regards,
JK

The serial input of the WS2812 chip has to be connected to J4B.SC

Quote

is it possible to drive a rgb matrix ?

I’m not sure if I understand your question correctly.

Each WS2812 chip drives one RGB LED, by default you can connect up to 64 WS2812 chips, but it’s possible to increase the number (with the drawback of higher SRAM consumption). See also http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fmodules%2Fws2812%2Fws2812.c

The WS2812 based approach is not based on a LED matrix, it’s a serial chain of (cheap) RGB driver chips

Best Regards, Thorsten.

My words were confusing, i now understand better the principle of serial chain color driving through the code.
So to drive for example 64 LEDs you just need a chain linking them to CORE32 J4B.SC! Wonderful =)
That’s pretty nice for PCB routing ^^

I talked about matrixes because that’s the way i am going to dispose my LEDs physically.
And the current most efficient way to drive an amount of monochrome LEDs is matrix shift register design.
At the beginning thought there would have kind of differents buses to handle or similar things to shift register design.
And that is very good about default params i was planning to use 64 RGBs APA 106 LEDs =D

Thanks for your answer Thorsten =)
Best Regards,
Jérôme

 

Here’s a souped up version (intended for Programma):

  • All registers on board. 
  • 45 degree styles
  • Room for OLEDs
  • Individual touch sensors, wired to encoder bodies at the moment.

A bit hard to capture the LEDs, but I hope you get the general idea. The touch sensors are set to activate the LEDs and they can be “dimmed” using a MIOS CC value. It’s very preliminary for the moment, but eventually the idea is to use the touch sensors to turn on the acceleration function of encoders. That needs a bit of thought though.

 

2 Likes

Is there a knurl shaft version of those encoders? Looks great bit a odd with D shapes and no tops.

We can do better. This was my idea as a touch sensor for acceleration, but in the end I think the cup washers are a bit big:

 

Albs make a clear version of this which looks really nice when illuminated:

 

 

 

 

 


On 11/10/2015 at 10:51 PM, TK. said:

Today I did some experiments with RGB LEDs, e.g. to evaluate Andy’s idea to use a single RGB LED as replacement for LED rings around encoders: 

Outcome:

Conclusion: if LED rings should be replaced by RGB LEDs, we need 3 dedicated DOUT pins per LED, makes 48 pins for 16 RGB LEDs = 6 DOUT SRs
Line drivers are not required, since the DOUT SRs are strong enough to drive the LEDs.

Best Regards, Thorsten.

 

Seeing how it looks like we’re going back to a shift register-driven RGB BLM in 8*4 config, I’m curious if you connected any current source/sink in this setup (if you remember).

Does someone know if it’s possible to use the WS2812 as matrix? I’m afraid that there is no parameter called EVENT_RGBLED_MATRIX. So there might be a workaround that I don’t know? 

I’m looking for a replacement for the classic encoder led rings and those WS2812 seem to be a great alternative. 

Thanks!