If you know me, you might be aware that I’m quite keen on addressable LEDs, so, while I already had a light up backpack for cycling (a prototype for Peloton Liverpool’s Disco breastplates), I couldn’t resist buying a MCQN Ltd My Bike’s Got LED board after watching the flurry of activity here at DoES Liverpool as Adrian and Chris got the first batch ready - they were launching with Peloton Liverpool Joyride cyclists taking part in Katumba Drumming’s Halloween event.
It was a great night (more detail in Chris’s post here). I didn’t quite get my lights ready in time, but a few cable ties the next morning was all it took to finish the job:
How my bike might have looked at yesterday's excellent @KatumbaBloco #halloweenparade @PelotonLiv #joyride if I'd fitted my @MCQN_Ltd #mybikesgotled board in time.— Jackie Pease (@jackie_pease) October 30, 2022
Everyone else's looked fantastic though and mine is now ready for future trips.#weeknotes pic.twitter.com/6bPZrMqE2M
The boards use open source WLED software, which makes it easy to control a variety of addressable LEDs (WS2812 in this case) via wifi using a phone app or your computer. At it’s simplest you can just set the number of lights, choose an effect, apply colour and speed settings and you’re ready to go. In this case, I had 2 rows of LEDs, divided into 3 parts each, so it made sense to put a little bit more work in and define segments.
This is just a case of telling WLED the starting and ending position of each segment - some of the LEDs on my bike are hidden under black heatshrink so I haven’t included them in the segments. Depending on the layout you can reverse the order that a segment lights up in, or even set it as a mirror of the previous segment:
I couldn’t easily use the mirror option as my layout wasn’t symmetrical:
That might be something to consider next time, although the Reverse Direction option has worked well.
It’s important to save all your settings, including segments, in presets, otherwise you’ll lose them when you switch the board off, and it isn’t difficult to backup your settings to JSON files either. From your browser, just type in the following 2 commands:
where [WLED-IP] is the IP address of your board.
The good thing about WLED is that it’s so easy to get started, although there’s a lot more you can do if you want. I’m looking forward to some sound reactive stuff, as the group cycle rides organised by Peloton Liverpool nearly always have music; it would be good to be able to sync effects across the whole group too. I think Adrian and Chris have some of this planned for their v2 board.
Having the board makes things easy too - you could buy a dev board and source all the components yourself, but it’s good to be able to move straight on to the fun bit and know it’ll work.