Stalled Iris 16 - RGB Vandal Button

Discussion in 'Custom Cases & Projects' started by iFreilicht, Oct 8, 2016.

  1. CC Ricers

    CC Ricers SFF Guru
    Silver Supporter

    #21 CC Ricers, Oct 11, 2016
    Last edited: Oct 11, 2016
    Effectively it sounds like a chaser pattern but done as quickly as possible for persistent vision.

    This appears to depend on how limited you are on bandwidth, and your bus protocol. 50hz x 24 bits x 2 LEDs (as you said you can drive 2 at a time) equals 2400 bits per second. I wonder if you can easily double the data rate to 4800 bits per second, so you don't sacrifice bit depth for a higher refresh rate.
  2. PNP

    PNP Airflow Optimizer

    #22 PNP, Oct 11, 2016
    Last edited: Oct 11, 2016
    There is also a reason CRTs that operated at mains frequency were considered low quality/cheap. But since the on-board controller will be re-programmable, it's a non-issue.

    It depends on how good you are at squeezing out performance I guess.

    The RYOS MK PRO had an unspecified 32-bit ARM processor (I guess something from the Cortex-M series) dedicated just to lighting control, the original K70 RGB (the one that came with the Corsair tramp stamp) used a Panasonic controller but experienced flickering in full color depth mode. And yet the Ducky Shine 5 can do everything the former two can do with just one ARM M3 for both input and lighting.
    3lfk1ng likes this.
  3. iFreilicht

    iFreilicht FlexATX Authority
    Thread Starter

    We will see how far I can push it. The problem is that I need a few cycles for reading out the HDD LED and USB interrupts and responding to them as well, but when using BAM instead of PWM, I could easily use the time it takes for the last few bits to pass to do that job, and as the controller has built-in USB, I don't need too much time for handling communication there either.

    Damn, Ducky really optimised the hell out of that, huh? I mean, that board is full-sized with about 110 keys, so they have to drive about 330 LEDs and scan a key-matrix with 5 rows and about 20 columns a few times per second. It seems they are using MX Red RGB switches, so they don't need through-hole LEDs with drivers for each one but can use intelligent SMD LEDs like the WS2812. Still impressive.
  4. iFreilicht

    iFreilicht FlexATX Authority
    Thread Starter

    So I checked my model and right now it looks like the switch will have to be at least 15mm long, measured from the outside of the panel it is installed in. So with a 2mm thick panel, it will stick out 13mm. On the S4 Mini it would only stick out by 9mm (5mm wrap-around bezel, 1mm frame), so the biggest microUSB plugs will just about fit. Seems like a perfect length to me, maximum supported thickness for panels will then be about 7mm. It could be that I have to make it 1mm longer, but I can't say for sure right now.
  5. XeaLouS

    XeaLouS Cable-Tie Ninja

    Assuming that there is a point to the 1000hz polling rate i'd guess that it scans the key-matrix much more than "a few times" per second :p
  6. iFreilicht

    iFreilicht FlexATX Authority
    Thread Starter

    Well the point is that they can claim the maximum delay to be 1ms. Which of course isn't the entire truth, but it's pretty close. Yeah "a few" might've been a slight understatement. ;)
  7. MarcParis

    MarcParis Shrink Way Wielder

    Definitely a very nice idea. You can directly forecast low profile and normal depth button..:)
  8. iFreilicht

    iFreilicht FlexATX Authority
    Thread Starter


    What do you mean by that?
  9. MarcParis

    MarcParis Shrink Way Wielder

    I mean in nfc s4 mini, normal depth/length power button could be a chalenge to put.
    Without front bezel of 5mm thick, gpu cooling is far above, however power button has to be even shorter to fit...I've just broken my button, trying to force it in position.
  10. iFreilicht

    iFreilicht FlexATX Authority
    Thread Starter

    Your button has it's connectors on the end, though, right? With my button, the connectors are on the side, so if the button fits, you'll get the cabling to fit as well.

    I'm actually worried about making the button too short. The nut that holds it in place takes a bit of space as well, so with a wrap-around panel of 5mm, inner panel of 1mm and the nut of about 3-4mm, there's only something like 7mm left for the USB cable, and the smaller micro-usb cables have a 6.5mm tall connector. Normally they can be up to 8.5mm. Not a lot of space to play with there.
  11. MarcParis

    MarcParis Shrink Way Wielder

    Once I received low profile version, I'll make some picture for sure.
  12. iFreilicht

    iFreilicht FlexATX Authority
    Thread Starter

    Great, I'm interested to see them! Would you mind sharing where you got the low-profile version from?

    Small Update:

    Today I've managed to improve the concept of the LED control significantly!

    To recall, the concept previously was to always control two LEDs at a time with BAM and do that for all 18 sets of LEDs 50 times a second, or more. This was limited by the maximum power dissipation of each RGB LED. So per package, I could only turn on one LED at a time.

    I've reworked the design to link LEDs together in a fabric-like pattern, so now I can run 5-6 LEDs at a time with each one sitting in a separate package, depending on how many cathodes are connected to the pin that is acting as GND that step. So now I have 7 sets of LEDs instead of 18, which means the maximum brightness and potential refresh rate have been more than doubled!
    It does look like this new layout will require four layers instead of two, though, so now I'll have to choose a new CAD program for layouting the PCB.

    If anyone wants to recommend a good piece of software for that, go right ahead!
    Phuncz likes this.
  13. Phuncz

    Phuncz Lord of the Boards
    Moderator Gold Supporter SFF Purist

    This sounds like a Eureka moment, excellent !
  14. hardcore_gamer

    hardcore_gamer electronbender

    I use Cadence Allegro and Altium Designer. Both are good options for professional grade PCB design.
  15. iFreilicht

    iFreilicht FlexATX Authority
    Thread Starter

    Thanks for the suggestion! You have to call their sales department to buy either of those, sooo... am I right to assume that they will cost something like a few thousand bucks a year? Seriously considering going with Circuit Studio. Less than a thousand, is a perpetual license and seems to have everything I need, including STEP export. It looks like eagles commercial permium license is a little cheaper, but it limits me in board size and layers, and looking at the workflows for panelisation and Pick&Place text file output, it seems like Circuit Studio is much more fleshed out.

    EDIT: Apparently, Panelisation is only in Altium designer, not Circuit Studio. Goddamnit.
  16. hardcore_gamer

    hardcore_gamer electronbender

    Sorry, I didn't think about standalone license costs of the tools I suggested. We get Allegro license for free because we use Cadence's expensive tools for silicon design. Also, there's a cost effective private license server option for Altium for relatively large number of users.

    I'll talk to our full time layout engineer for cheaper alternatives that meet your requirements and post to this thread tomorrow.
    iFreilicht and Phuncz like this.
  17. MarcParis

    MarcParis Shrink Way Wielder

    Serious stuff seems to
  18. jØrd

    jØrd SCSI for life
    Moderator Gold Supporter Supporter of Efficiency LOSIAS Digital Seppuku

  19. iFreilicht

    iFreilicht FlexATX Authority
    Thread Starter

    Yeah it seems like this is the most sensible option right now. No limitations of any kind, free to use, and lots of tutorials and community support. It's also heavily used for custom keyboards.
  20. ricochet

    ricochet SFF AFFLICTED

    Wow, neat idea!