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

By Julian

Youtuber, shed dweller, solar charge controller aficionado

12 thoughts on “Christmas pixel decoration: pic12f683 and 16x ws2812b”
  1. Avataaar/Circle Created with python_avatars Jose Thomas says:

    I am not able to down load the source code

  2. Avataaar/Circle Created with python_avatars Jessie Dizon says:

    UFO👽

  3. Avataaar/Circle Created with python_avatars roberto hurtado says:

    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!

  4. Avataaar/Circle Created with python_avatars jlucasound says:

    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.

  5. Avataaar/Circle Created with python_avatars jlucasound says:

    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). 🙂

  6. Avataaar/Circle Created with python_avatars Werner Kurzbauer says:

    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.

  7. Avataaar/Circle Created with python_avatars Glynn Mason says:

    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

  8. Avataaar/Circle Created with python_avatars Hola! Mike Hale says:

    Did you stop YOUTUBE?

  9. Avataaar/Circle Created with python_avatars Bas Groothedde says:

    Very interesting video as per usual, I love the debugging hardware and code videos!

  10. Avataaar/Circle Created with python_avatars Jeremy X says:

    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.

  11. Avataaar/Circle Created with python_avatars A3DogNight says:

    Merry Christmas & a Happy New Years to you & yours Julian.

  12. Avataaar/Circle Created with python_avatars Ben Baselet says:

    Way too fast for my taste, a nice gradual shift would be much more christ-messy I'm sure.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.