1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

ws2812B 12F PIC driver

Discussion in 'Electronic Projects Design/Ideas/Reviews' started by Mosaic, Aug 2, 2017.

  1. Mosaic

    Mosaic Well-Known Member

    Joined:
    Jun 3, 2010
    Messages:
    2,569
    Likes:
    128
    Location:
    Caribbean
    Hi all:
    Since the ws2812B require 1 uSec/bit pulse rate, I hope to control it via a PIC 12F1822 @ 32Mhz or 8Mhz per ASM instruction.

    Has anyone done any work in this regard?
    thx
     
  2. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,213
    Likes:
    640
    Location:
    Derbyshire, UK
    If you google there's a number of examples (I was looking at playing with them, but haven't got round to it yet).

    However, the same examples explain how the timing isn't at critical as it sounds.
     
  3. Mosaic

    Mosaic Well-Known Member

    Joined:
    Jun 3, 2010
    Messages:
    2,569
    Likes:
    128
    Location:
    Caribbean
    I was thinking along the lines of a dedicated loop to time slice the hi/lo logic in the 1 uSec and to use the 50Usec gap between LED signals to fetch/calculate the next set of 24 bits.
     

Share This Page