LEDs
SK6812 addressable LEDs (RGB / RGBW)
SK6812 addressable LEDs (RGB / RGBW) (LEDs) from the electronics library of @openav/hw: its pins, the voltages it takes and gives, its current, each number from its datasheet. Hw.check() reads the same entry when it checks a wiring.
Also called: SK6812 燈條/燈珠 · light
- electronics library
- not checked on a unit yet
- Kind
- LEDs
- Licence
- MIT
- Verified
- not checked on a unit yet
Facts
What SK6812 addressable LEDs (RGB / RGBW) is
Every number is read from the datasheets and product pages listed under Sources. A value nobody could confirm says so (待查) and is listed under “To be confirmed”, not guessed.
- Supply
- 3.5–5.5 V (nominal 5 V)
- Logic level
- to be confirmed (待查) V (high at least to be confirmed (待查) V)
- 5 V tolerant
- yes
- Current per LED
- typical to be confirmed (待查) mA, max to be confirmed (待查) mA per LED
- LEDs
- 1
- Size
- 5 × 5.5 × 1.6 mm
- Connector
- 燈條三線(5V、GND、DIN)
Pins
Every pin of SK6812 addressable LEDs (RGB / RGBW)
| Pin | Kind | Label | Volts | Current | Also called | Note |
|---|---|---|---|---|---|---|
VDD | power in | VDD | 5V, VCC, + | |||
GND | ground | GND | VSS, - | |||
DIN | data in | DIN | DI, IN | |||
DOUT | data out | DOUT | DO, OUT |
Notes
The library writes its notes in Chinese; they are shown as written.
- VDD 5 V 時輸入高電位要 3.4 V(規格書);其他電壓這裡等比例推算。
- RGBW 每顆 32 bit(RGB 是 24 bit),程式要選對型號。
- 資料線靠近第一顆燈那端串一顆 300–500 Ω 電阻,電源正負之間並一顆 500–1000 µF(6.3 V 以上)電容(Adafruit NeoPixel Überguide)。
- 用 LiPo 直接以 3.7 V 供電時,3.3 V 的資料訊號可以用;用 5 V 供電、3.3 V 板子推時,要加電平轉換(74AHCT125 或 74HCT245)(Adafruit NeoPixel Überguide)。
Use it
SK6812 addressable LEDs (RGB / RGBW) in your code
Paste it into a <script type="module"> on any page: it loads @openav/devices from this site and prints the library entry Hw.check() reads.
import { device } from 'https://openaudiovisual.com/packages/devices/index.js';
const part = await device('sk6812'); // SK6812 addressable LEDs (RGB / RGBW)
console.log(JSON.stringify(part.part.supply), Object.keys(part.part.pins).join(' '));
// → {"min":3.5,"max":5.5,"nominal":5} VDD GND DIN DOUTWhat reaches it
@openav/hw·HwHw.check({ board, parts: { x: { part: 'sk6812' } }, wires })Listed in a spec's parts, it is checked with the rest of the wiring: voltages, pins, current.
Files
Take it with you
The part as JSON: the library entry (pins, supply, logic levels, current, notes) and its record, as Hw.check() and device() read them.
Status
How sure this page is
Not checked on a unit yet: every value is as its source says. Only a person with the unit can change that.
To be confirmed
- 每顆燈的電流(兩份規格書都沒寫)。
- RGB 版的供電範圍。
Sources
GitHub
Wrong data?
Every value on this page comes from one file in the repository. Open an issue that says which value and where you read the right one, or change the file in a pull request.