Help with Plasma 2040 LEGO project

Hello everyone

I am looking for someone to help coding a Plasma 2040 for a LEGO project a friend and I are working on.

My friend has built a LEGO sci-fi reactor that looks like this: 20241012_163508 (1).mp4 - Google Drive

We’re trying to use a Plasma 2040 and some LED strips to take it to the next level. I managed to get the strip to do this: https://photos.app.goo.gl/J158weLh56q4SN366

But I really need the help of someone who knows how the code works to get the lights to do what we want. If anyone can help it would be much appreciated!

thanks

/ben

Hi Ben,

That sounds like a cool project!

I cannot give you specific project help due to limited time, but depending on the effect you are after and the number of LEDs you are driving, our Pico FX library may have what you need. GitHub - pimoroni/picofx: Tiny RGB and mono lighting effects sequencer

This was originally written for our Tiny FX lighting controller, for use in LEGO models, dioramas etc. As I was writing the system though, I realised it could work with Plasma too. You can see a few examples here: picofx/examples/plasma/examples at main · pimoroni/picofx · GitHub

It’s more intensive than writing code directly for LED strips, hence the note about the number of LEDs.

Can you give more details about the effect you are wanting to create? Someone then may be able to point you in the right direction to achieve it.

Cheers

Thanks for your reply.

The effect we’re trying to achieve is very simple. We’ll put a strip of LEDs inside the “reactor” and we want a pulse of light to “spin” around the circle. So there’s, say, 100 LEDs in the strip and we want to light up 10 of them and have that 10 seem to spin around.

The effect I got so far I did by tinkering with the included rainbow project, but I literally know nothing about python so was hoping someone could help.

Thanks

/ben