Use of a level shifter solves the issue of a leading GRN LED being seen with an RGB strip. The leading edge of the data sent for the RED component is crunched below the 70% threshold, preventing it turning on, thereby revealing GRN instead.
Use a separate supply to power Neopixels. Use a level shifter at the data signal output pin.
Each individual Neopixel at full brightness will require around 20mA for each color element. The 24bit RGB will require 60mA and the 32bit RGBW will require 80mA. Driving more than one or possibly two of these individual Neopixels directly from an Espruino device may likely damage the onboard regulator.
Driving just 12 RGBW or 16 RGB will require 960mA and will need an external 5V 1 amp supply.
As P = I E the supply will be dissipating 5 Watts. Yes, things will get warm.
12V Automotive single color LED strips
The following links are provided for reference only, as considered too basic a discussion for this individually addressable LED strip REFERENCE page, as software and a microcontroller aren't necessarily required to drive the single color LED strips.
It is strongly recommended to vet the website supplier before making a purchase. Insist on and review the datasheet prior to the order. Many overseas discount shopping cart sites are created by mom-and-pop outfits that may have no knowledge on what they actually are selling. Review the title and description in detail and compare with the datasheet. Fail to do so, and you may receive a variant as indicated in the first link 'Original thread discussion' above. I just checked (2020.03.01) the outbound link within that discussion, and the site pointed to, still advertises the incorrect type and here we are one year later! caveat emptor
Note:
datasheet pdf files provided via AdaFruit CDN servers
[1] RGBW NeoPixel also available in Cool White, Neutral White and Warm White
[2] See Original Thread Discussion link above for GRBW SK6812 variant sold/advertised as WS2812 RGBW
[3] SK9822 to replace APA102
[4] WS2813 Worldsemi mfg (datasheet requires download) fixed link 2020.10.10 -- more below
[5] WS2813 Normandled mfg variant RGB p.6 note mis-leading poor documentation? GRB vs RGB
[6] SK6812WWA, SK6812RGBW-XX datasheets by Shenzhen LED color Opto Electronic Co., Ltd - see below
[4 cont] 2020.10.10 Found a seller indicating WS2813 is a 12V driven part - To date unable to locate sufficient detail to verify - datasheet implies 5V driven with ability to control intensity using external 12V circuitry - still researching
Part Identifier Format for Shenzhen LED color Opto Electronic Co., Ltd
SK6812WWA - GRB 24bit - where WWA represents White or Amber
SK6812BW Blue White
SK6812WS Warm Sunlight
SK6812A Amber
SK6812W - SK6812-XX - GRB 24bit - where XX represents White in one of three formats
SK6812-BW Blue White
SK6812-NW Natural White
SK6812-WS Warm Sunlight
SK6812RGBW-XX - RGBW 32bit - where XX represents White in one of three formats
SK6812RGBW-BW Blue White
SK6812RGBW-NW Natural White
SK6812RGBW-WS Warm Sunlight
Updates:
Mon 2019.02.11 original post creation date
Mon 2019.08.12 added SK6805
Tue 2019.08.13 added BSS138 I2C logic level shifter link
Sun 2020.03.01 added Power Supply Notes, SK6812W, SK6812RGBW
Mon 2020.03.16 added SK6812 24bit GRB variant
Sat 2020.10.10 added link for 3528 image side by side comparison created direct link table
Sun 2020.10.11 added WS2815 12V GRB link to PNP Emitter Follower
Tue 2021.03.02 added leading GRN LED level shifter solution
Please preserve this reference and refrain from posting to this thread.
DM @Robin for suggested enhancements. I'll be sure to add attribution with the edit.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Mon 2019.02.11
Original thread discussion: Feb 2019
Package size: 3528 5050
Size comparison image
"NeoPixel is Adafruit's brand of individually-addressable red-green-blue LED"
Voltage level shifter to match 3V3 Espruino output to 5V Neopixel data input:
Use of a level shifter solves the issue of a leading GRN LED being seen with an RGB strip. The leading edge of the data sent for the RED component is crunched below the 70% threshold, preventing it turning on, thereby revealing GRN instead.
Power Supply Considerations
Use a separate supply to power Neopixels. Use a level shifter at the data signal output pin.
Each individual Neopixel at full brightness will require around 20mA for each color element. The 24bit RGB will require 60mA and the 32bit RGBW will require 80mA. Driving more than one or possibly two of these individual Neopixels directly from an Espruino device may likely damage the onboard regulator.
Driving just 12 RGBW or 16 RGB will require 960mA and will need an external 5V 1 amp supply.
As P = I E the supply will be dissipating 5 Watts. Yes, things will get warm.
12V Automotive single color LED strips
The following links are provided for reference only, as considered too basic a discussion for this individually addressable LED strip REFERENCE page, as software and a microcontroller aren't necessarily required to drive the single color LED strips.
Tutorial creating and using PWM
Purchasing Considerations
It is strongly recommended to vet the website supplier before making a purchase. Insist on and review the datasheet prior to the order. Many overseas discount shopping cart sites are created by mom-and-pop outfits that may have no knowledge on what they actually are selling. Review the title and description in detail and compare with the datasheet. Fail to do so, and you may receive a variant as indicated in the first link 'Original thread discussion' above. I just checked (2020.03.01) the outbound link within that discussion, and the site pointed to, still advertises the incorrect type and here we are one year later! caveat emptor
See image for warm white shading comparison
Direct links as microcosm.app - bit.ly links 2020.10.10 appear randomly broken: WS2813[4] inaccessible
Please preserve this reference and refrain from posting to this thread.
DM @Robin for suggested enhancements. I'll be sure to add attribution with the edit.
Copyright 2019 ©