Hippogriff
Member
I have a PIC 16F1825 controlling a WS2812B LED ring. Circuit is USB-powered, so 5V coming in... I created the veroboard circuit with a 10uF decoupling capacitor and a common power and ground rail, then I've connected components to that.
Each time I start the circuit I get a extremely quick flash from the LED ring, before it goes into my program routine. The first thing the program does is reset the LED ring and set it to be all off (R = 0, G = 0, B = 0). So, I'm figuring that in-between power being supplied and the first few lines of code, there is this little flash of LEDs as, somehow, the LED is reacting to power being present in the circuit. It's not a very aggravating thing, I'm just wondering how I might be able to stop it happening.
The WS2812B LED ring is connected to +5V, ground and pin C3 of the PIC. Just the single pin is used to control what the LED ring is supposed to be doing... if you send nothing down C3, then the LED ring does nothing.
I might think this is bad behaviour and the LED ring shouldn't be doing anything at all until correctly told to do so... but I am also no expert in this matter, so I thought I would ask.
Each time I start the circuit I get a extremely quick flash from the LED ring, before it goes into my program routine. The first thing the program does is reset the LED ring and set it to be all off (R = 0, G = 0, B = 0). So, I'm figuring that in-between power being supplied and the first few lines of code, there is this little flash of LEDs as, somehow, the LED is reacting to power being present in the circuit. It's not a very aggravating thing, I'm just wondering how I might be able to stop it happening.
The WS2812B LED ring is connected to +5V, ground and pin C3 of the PIC. Just the single pin is used to control what the LED ring is supposed to be doing... if you send nothing down C3, then the LED ring does nothing.
I might think this is bad behaviour and the LED ring shouldn't be doing anything at all until correctly told to do so... but I am also no expert in this matter, so I thought I would ask.
Last edited: