The compact, stand-alone version of my Christmas decoration. A 16-pixel WS2812B LED ring is glued to a USB type-A plug onto which a programmed surface-mount PIC12F683 microcontroller is soldered. Some debugging was required when the device failed to work properly.
PIC12F683 source code:
https://hastebin.com/gihosowuni.vbs
PIC12F683 source code:
https://hastebin.com/gihosowuni.vbs
I am not able to down load the source code
UFO👽
ho men! i use the same pic with a crystal of 25mhz that give me 160ns to do 8 instruction per bit, with only that 8 instructions i do a RAM to LED with 60bytes (20 leds). i remember i wate like 3 days. god job!
Nobody is perfect. I like Alice1101983. Fast shipping and everything has worked so far. Sorry you got a dodgy unit, Julian.
But, like you said, it makes it interesting and we viewers got to see how to debug. NOW; make that ring work! 🙂 You know you can do it. Whether or not it is feasible, is the question.
This, I think, is the third Julian Ilett video with 555 thumbs up. I am giving my Thumbs Up here, in the comments. I refuse to change that. It is so cool. I hope it doesn't affect your rating, Julian. I am sure you understand. Love Your Vids, Sir!!
(555 is a common and awesome Timer Chip, for those of you that don't know). 🙂
Nice project!!
As the link to code does not work anymore may I ask you to
reestablish the link as I am quite interested how you
soved the timing using an 12F683.
I've tried your code but only get one flashing rgb led I am wondering if the led's I have are different as my 2812b's work with an Arduino if they are can you help
Did you stop YOUTUBE?
Very interesting video as per usual, I love the debugging hardware and code videos!
I don't think the whole ring is a dud. Try bypassing the first WS2812 in the line and see if it comes to life.
They do recommend a 330 ohm resistor on the data line in between the MCU and WS2812 so it doesn't try to draw to much current when only the ground and data pin are connected.
Merry Christmas & a Happy New Years to you & yours Julian.
Way too fast for my taste, a nice gradual shift would be much more christ-messy I'm sure.