I find that having a way to check the battery and connection status is very useful with wireless devices. Traditionally, the way to do this is through the addition of a display. However I always thought displays were a bit overkill for that and once I started using Xiao BLE controllers I noticed that they have an RGB LED built onto the controller itself that can be programmed.

So I wrote a small tool to indicate the battery and BT profile status that uses that LED, and I thought I’d share more broadly in case it is useful to others. It’s pretty easy to add to your ZMK build as documented in the README as it is a ZMK module.

While it supports Seeeduino Xiao BLE out of the box, it’s also easy to add support for it if you have a custom keyboard that has three dumb LEDs for RGB colors.

  • @[email protected]
    link
    fedilink
    English
    11 month ago

    Just chiming in to say I found this recently and found it a really useful base. I don’t have an RGB LED on my NN clone, but I forked it to work with just a single LED (using blink patterns/speeds). It’s awkward, and a coloured LED would be way better, but better than nothing! Thanks for posting

    • @bravekarmaOP
      link
      11 month ago

      Nice! It was essentially my first Zephyr project and I tried to make it accessible code-wise, so I am happy you found it useful in that regard.

      I know at least a couple other people that adapted it to a single LED. I’d probably do it too if I needed it but I’d find it difficult to share it with others given that decoding the information is harder for others.