Hey all.

I am currently prototyping a keyboard with the Seeedstudio Xiao BLE (nrf52840). I configured the shield config correctly & got it working. However, my RGB won’t turn on (followed the ZMK documentation on RGB underglow)

Does anybody have a pointer to a project that got RGB working with Seeedstudio Xiao BLE & RGB?

  • @crankin
    link
    English
    31 year ago

    I have successfully driven a chain of RGBs from a Xiao controller, although not running ZMK. One thing you could do is write a little Arduino program to just drive the RGBs, and that will let you isolate whether it’s the hardware or ZMK.

    One easy thing to check on the hardware side: Are you running the power to the RGBs at 5v or 3.3V? The logic voltage of the Xiao is 3.3v, so you either need to power the RGBs from the 3.3v pin (out of spec but it will work fine, probably) or if you are powering the RGBs from 5v then you need to shift the voltage level of the data pin up from 3.3v to something closer to 5v. The RGBs compare the voltage on the data line to their power voltage to decide what’s a 1 vs 0 on the data line. 3.3v is low enough below 5v that the RGBs will interpret the digital signal as entirely 0s

    • @anaumannOP
      link
      English
      2
      edit-2
      1 year ago

      I am using this trick to convert the logic input to 5V, so that should work. Super hacky, but as far as I checked, every piece of this hack is entirely in spec for the components used.

      I’ll check with a simple Arduino program first I guess

      UPDATE: Arduino program works, so it is not a hardware issue (lucky me)