8000 GitHub · Where software is built
[go: up one dir, main page]

Skip to content
Rare glitches on WS2812B pixels using neopixel library on micro:bit V2 #227
Open
@kevinjwalters

Description

@kevinjwalters

I caught an (impressive) glitch in a recent video of the 60 RGB pixels on a Kitronik ZIP Halo HD at 04:25. There are two video frames at 25fps of it.

I see these perhaps every 10-15 minutes, the code is updating the ring all the time at about 5 to 25 Hz with show() method. This might be happening perhaps 1 in 10000 updates. I don't think there's anything particularly exotic about the code. It uses the neopixel library and i2c comms to an external MCP9740N. This is on a V2.2.1 board running MicroPython v1.18 on 2023-10-30; micro:bit v2.1.2 with nRF52833.

My best rather uninformed guesses so far:

The documentation mentions:

From our tests, the Microbit NeoPixel module can drive up to around 256 NeoPixels. Anything above that and you may experience weird bugs and issues.

This board has 60 so is well under that limit. Why is there an issue above 256?

(@DaveAtKitronik @AlasdairAtKitronik @JackAtKitronik might be interested in this.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0