Dismiss Notice
Some Razer services have been impacted due to the unique circumstances COVID-19 has created. We apologize for any inconvenience and appreciate your understanding during this critical time.

Is it possible to sync RGB LED's to Chroma

Discussion in 'Razer Chroma' started by Freerunnerx10, Jan 14, 2017.

Thread Status:
Not open for further replies.
  1. Freerunnerx10

    Freerunnerx10 New Member

    I just purchased some RGB LED's to back light my desk and I was wondering if It would be possible to link them to Razer products somehow I like the idea that Overwatch changes colors depending on what hero you select and have red and blue lights flash an pulsate when playing LSPDFR turning sirens on.

    https://www.amazon.co.uk/gp/product/B01MCSR0YI/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

    If not with this is it possible to do it with other products seeing as Razer hasn't yet made something that does?
     
  2. Psyjin

    Psyjin Well-Known Member

    They actually are working on something like this. There's a video of them showing off the Philips Hue bulb and strip integration. DIY is always better because Philips Hue is super expensive...6FT of LEDs cost like $100...compare that to what you paid for almost 3x the amount. It's easy to do stuff like make LEDs respond to Twitter notifications, but things get complicated when you start getting into game integration.
     
  3. njbmartin

    njbmartin Developer of Awesome

    There's also been a few community experiments with Rasperry Pi and Arduino. The developer of the Audio Visualiser app has also included Arduino support.
     
  4. Freerunnerx10

    Freerunnerx10 New Member

    Do you have a link to Arduino? I presume it's some kind of mobo
     
  5. Psyjin

    Psyjin Well-Known Member

    Arduino is a microcontroller often used for coding logic in electronic prototypes. The language is pretty easy to pick up, and actually very fun to mess with.
     
  6. MattEKelly

    MattEKelly New Member

    Let's hope the partnerships work out well, I need to wire my outdoor shed to connect with Chroma for a sweet, programmable light show when listening to music around our summer and autumn bonfires!
     
  7. CalcProgrammer1

    CalcProgrammer1 Active Member

    I've implemented RGB strip support with an Arduino in my Keyboard Visualizer program. It synchronizes the RGB strip with Chroma devices to the pattern you select in the Keyboard Visualizer app (and of course, if you play music, flashes them to music). I've created a tutorial video explaining what kind of LED strip you need and how to wire it up/load the code/configure Keyboard Visualizer.



    I've had one behind my monitor for a while, recently added one to my other desk behind my laptop, and today I installed a split LED strip (top and bottom) inside my case. The best part about WS28xx LEDs is they're super cheap on eBay along with Arduino boards, also available as Christmas light style strings as well.

    Examples of effects generated by Keyboard Visualizer:

    Spectrum Fade:

    Rainbow Wave:

    Note that right now, we only have the ability to synchronize Chroma peripherals with third party applications that also synchronize third party LEDs. We cannot synchronize third party LEDs with existing Chroma applications without modifying them. Keyboard Visualizer is generating the effects and sending them to Chroma devices and LED strips, not the other way around.
     
    Zanella, Vaypron and TD2T like this.
  8. Have any videos of your house during Christmas?
     
  9. CalcProgrammer1

    CalcProgrammer1 Active Member

    I wanted to do a complete light show for Christmas synchronized to music. Originally I was going to modify some Christmasy effects into Keyboard Visualizer and use that, but I decided to try doing an actual choreographed light show instead using the Vixen 3 software. I used my same Arduino code to drive WS2811 LED lights (50 LED bulbs per string). Unfortunately, I only got halfway through sequencing one TSO song before it got mega cold and frozen outside and the cold screwed up the Arduinos for some reason (the lights would just lock up). Ultimately I just made a simple pattern and let that run continuously on loop.

    I ended up buying the ESP8266 wireless microcontrollers so that next year I can use those for Christmas rather than running USB cables everywhere. Didn't know they existed until I saw posts on a Christmas lighting forum.

    http://imgur.com/QNOPIWK

    I need to plan ahead to set up more lights next year (had some on order for the other roof but it was freezing by the time I got them). Maybe I can integrate Chroma into it somehow as well.

    The ones around the door are the WS2812B strips like I used on my PC setup. They're really bright compared to other Christmas lights due to the spacing.

    Edit: Now I got the idea in my head to add some sort of receiver to Keyboard Visualizer to act as a Vixen 3 (or other lighting software) client. Run KV on a PC or RasPi and have it export all connected devices, LED strips and peripherals alike, as channels to be driven by external light software. I know there's a project to do that already but I don't know if it integrates LED strips or can run on Linux. Forget what the protocol is called but I know there's a network protocol it can use.
     
    Last edited: Jan 16, 2017
  10. MattEKelly

    MattEKelly New Member

    Calc, that is EPIC!
     
  11. I got the E1.31 protocol implemented to the Razer SDK in my project. I actually wanted to steal some of your code for all of the other LED devices (Corsair, MSI, and yes!!! - LED strips). I actually have it started to cross into Linux (Did a full on Ubuntu 1604 setup on my BladePro using the SD with a 128MB). I used XML for the mapping and std for the datastructures. I am hoping for some firesales and such during the off season to purchase some gear to decorate my house next year. Meanwhile, I can practice my sequencing skills on my Razer Chroma devices with my little project. BTW, I got xLights running both Windows and Linux as well as audacity with the qmvamp stuff for finding the beats (both Linux and Win). I actually ported Terry Cain's drivers to Windows and did calls with WinUSB. Seems to have much more granular control over the individual LEDs. Like for instance, the longer keys such as SHIFT, CAPS, etc have more than one LED. Plus the Razer SDK doesn't let me control my touchpad or media key LEDs (bug AFAIK to be fixed in the future). Anyway, once I get all my stuff coded, I am hoping to improve the setup and use docs.
     
    CalcProgrammer1 likes this.
  12. CalcProgrammer1

    CalcProgrammer1 Active Member

    Nice. I was thinking of setting up some sort of mapping myself to allow you to custom map LED strips to different parts of the visualizer preview. I was going to use a CSV or something to do it. Feel free to pull device code from my project and use my LED strip protocol of you want.
     
  13. GaugePrower

    GaugePrower Member

    I'm hoping (fingers crossed) that this announcement made about opening up Chroma to third parties will add in support for NZXT's HUE+ strips, as this would be a quick and easy way to add Chroma Synced RGB strips inside your case and to your desk, and behind your displays. :heart_eyes:
     
  14. Inelastic

    Inelastic New Member

    Personally, I'm waiting for Adafruit to release Dotstar strips as RGBW, then I'll look into adding support for my Razer hardware. I basically made an alternative to the NZXT Hue+ using an Arduino and a program I wrote.

    http://imgur.com/QYcVnGS

    Since the Arduino is single threaded and all the lighting effects require loops and delays for those loops, I had to do some side-stepping with the loops to keep everything running at reasonable speeds, so each effect has its delay dependent on the other. With the Dotstar strips not being tied to a single frequency, they can easily be ran on a Rasberry Pi and I should be able to use multi-threading for the effects. I'm hoping once I can do that it'll be easy to sync up the breathe and spectrum cycles without the need for the windows program doing all the work. I'd rather have the Arduino/Rasberry Pi do all the heavy lifting.
     
Thread Status:
Not open for further replies.
Sign In with Razer ID >


Don't have a Razer ID yet?
Get Razer ID >