Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
Tips:
For a full reference visit the Markdown syntax.
Posted by @Robin
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 ©