Getting started with plasma 2350w

# WS2812 / NeoPixel™ LEDs
led_strip = plasma.WS2812(NUM_LEDS, 0, 0, plasma_stick.DAT, color_order=plasma.COLOR_ORDER_RGB)   
#### Same results with GRB

If I’ve done this correctly, no, still multi coloured dots.

            #### comment-out the Cheerlights colour
            #colour = tuple(int(json['field2'][i:i + 2], 16) for i in (1, 3, 5))   # 1, 3, 5

            # Force it to be red?
            colour = (255,0,0)
            print("testing colour is :", colour)
            
            
            for i in range(NUM_LEDS):
                led_strip.set_rgb(i, *colour) 

I don’t think you need the * ?
led_strip.set_rgb(i,colour)

I’m using HSV, as it gives me brightness control. If I get a chance I’ll do up my own test file doing it the standard way. I’m using a rotary encoder wheel to set my color and brightness. I’m using mine for my desktop lighting. I have to go find my custom USB data only cable so I don’t fry anything. My power supply will back feed into my PC if I don’t.

            for s in range(GRB_LEDS):
                led_strip.set_hsv(s, color,  1.0, brightness)   

Interesting - without the * it says:

TypeError: function missing 2 required positional arguments

Ok, I found my cable. Time to test some code and report back.

Try this, it worked for me.

import time
import plasma
import machine
import micropython

from plasma import plasma_stick

GRB_LEDS = 144

# WS2812 / NeoPixel™ LEDs
led_strip = plasma.WS2812(GRB_LEDS, 0, 0, plasma_stick.DAT, color_order=plasma.COLOR_ORDER_GRB)
led_strip.start()



for i in range(GRB_LEDS):
    led_strip.set_rgb(i, 255, 0, 0)    

That’s still giving me multi-colour dots and the last 15 remain off. I changed quantity to 60.

Ok, something is messed up, I have no idea what though?
Green wire to Data? White to - ?

White is is negative/ground.
Red = +
Green = Dat
CLK = unoccupied

Ok, that’s the correct hookup. So either your Plasma 2350 is defective or your LED strip has an issue?

I don’t have any other neopixels to test it with.
UNLESS! I do have a seven segment jewel if that’s worth a try?

I ran a multimeter continuity test from one end of the strip to the other.

  • & - beep OK
    DAT does not, but perhaps it cannot by design, although I would expect a beep.

Same with the 7 segement jewel - odd colours and some LEDs remain off.

Each LED has a data in and a data out. The data out goes to the data in of the nest LED in the chain.
I’d say your Plasma 2350 is defective?

Seeing the same behaviour on the 7-segment jewel, certainly suggests Plasma 2350 isn’t working.

There should be continuity from one end to the other as I thought. I’ll check it again, but perhaps they’re faulty too

Thanks for all you help with this. :)

No, it doesn’t work that way with the data pin. There is a controller chip in each LED that turns them on or off depending on the data sent to it. That’s why you have the led_strip = plasma.WS2812.... and NUM_LEDS in the code.

OK, so it’s way more likely to be the Plasma stick at fault than the strip of LEDs. Thank you.

I think so, yes. (filler)

@PimoPete, I’m using the MicroPico extension by Paul Ober.

1 Like

I made my animation software public on GitLab: ItsMeBender (Pieter) / Plasma 2350 W loop animation · GitLab

It’s a first setup, maybe it will inspire others.