12 thoughts on “Neopixels and the pic12f675 microcontroller”
I will NEVER EVER forgive Microchip for their DESPICABLE 4Mhz SLOW internal clock BULLSHIT!!!!!!!!!!!!!!!!!!!!! ….WHAT A BUNCH OF CRAP ….GARBAGE CPU!!!!!!!!!!!!!!!!!!!!!
You can drive Neopixels with just about any speed CPU if you use 2 output pins and then a pair of simple series cap/FET pulse shapers for each state and wire-OR the two to the single data line to create the fast timings. The CPU has only to worry about creating the pulse edge then and is not burdened with the exact pulse timing. This is how I got Neopixels running very quickly with a small PIC but not seen anyone else even consider it as an option.
Brilliant. I too was trying to figure this out with the same lack of programming experience in the last 5 years. Your observations of the wave lengths was just what i needed Julian. Thanks.
When 5 times slower means 1/5th the speed, how can 1 times slower still use the comparative when 1/1 means it's the same? This retarded incomputable colloquialism needs to die. And no, 5 times longer does not mean it is 5 times the value, it means the original value PLUS five times itself, so that would be 6 times. If you want to use the new count including the original, then, surprise!, the English language has something to cover that as well! So since 1 ms/200 ms is 5, not 6, it's either "4 times longer" or "5 times AS LONG". There you go! Really. This shit needs to stop so that listeners can infer the correctly implied values. If you cannot be arsed to make yourself clear, might as well not bother in the first place.
Oh, that's just ridiculous. I etched a board, it's a beautiful surface mount homemade masterpiece. Except I couldn't get the WS2812B to run properly on a 12F675. So I swapped it for a 12F1501 which is pretty much exactly alike, just has a 16Mhz internal clock and I still can't get it to work. I have had this project sitting around for years now, and I just now found this video where you've managed to do it on a 16Mhz clock! Cheers!
What type of oscilloscope did you use in this video? I'm thinking of purchasing one so I can see what's happening in circuits like these.Looks very useful.
+Julian Ilett, these very short timings to drive the neopixel got me wondering whether a DSO138 can be used to measure them. Have you tried this? Can a cheap oscilloscope be used to find out if the timing is off?
I will NEVER EVER forgive Microchip for their DESPICABLE 4Mhz SLOW internal clock BULLSHIT!!!!!!!!!!!!!!!!!!!!! ….WHAT A BUNCH OF CRAP ….GARBAGE CPU!!!!!!!!!!!!!!!!!!!!!
You can drive Neopixels with just about any speed CPU if you use 2 output pins and then a pair of simple series cap/FET pulse shapers for each state and wire-OR the two to the single data line to create the fast timings. The CPU has only to worry about creating the pulse edge then and is not burdened with the exact pulse timing. This is how I got Neopixels running very quickly with a small PIC but not seen anyone else even consider it as an option.
How did I get here? Too much internet today lol
Brilliant. I too was trying to figure this out with the same lack of programming experience in the last 5 years. Your observations of the wave lengths was just what i needed Julian. Thanks.
When 5 times slower means 1/5th the speed, how can 1 times slower still use the comparative when 1/1 means it's the same? This retarded incomputable colloquialism needs to die.
And no, 5 times longer does not mean it is 5 times the value, it means the original value PLUS five times itself, so that would be 6 times. If you want to use the new count including the original, then, surprise!, the English language has something to cover that as well! So since 1 ms/200 ms is 5, not 6, it's either "4 times longer" or "5 times AS LONG". There you go!
Really. This shit needs to stop so that listeners can infer the correctly implied values. If you cannot be arsed to make yourself clear, might as well not bother in the first place.
Oh, that's just ridiculous. I etched a board, it's a beautiful surface mount homemade masterpiece. Except I couldn't get the WS2812B to run properly on a 12F675. So I swapped it for a 12F1501 which is pretty much exactly alike, just has a 16Mhz internal clock and I still can't get it to work. I have had this project sitting around for years now, and I just now found this video where you've managed to do it on a 16Mhz clock! Cheers!
What type of oscilloscope did you use in this video? I'm thinking of purchasing one so I can see what's happening in circuits like these.Looks very useful.
+Julian Ilett, these very short timings to drive the neopixel got me wondering whether a DSO138 can be used to measure them.
Have you tried this? Can a cheap oscilloscope be used to find out if the timing is off?
Interesting stuff. Thanks!
I also don't sleep very well because the radiator is making loud clicking noises. Any tip what I can do against it?
Just thinking, why not daisy chain all of neopixels with the controller?
when are you going to start your pic tutorials please sounds interesting and where did you get your board from please