This is a shield/breakout for Wemos D32 ESP32 Board that makes it easy to control addressable RGB LEDs, such as WS2811, WS2812 (Adafruit NeoPixels), SK6812, APA102 (Adafruit DotStars), and SK9822. The Wemos D32 is an excellent Wi-Fi and Bluetooth development board based on the ES32. This shield supports 8x parallel output.
I made this shield because I was hand-wiring this same layout on perma-proto boards, which was time-consuming and unprofessional looking.
The shield includes a 74HCT245 level shifter, which is the most well-regarded high speed level shifter I’ve found. This shifts the 3.3V logic level of the ESP32 to the 5V expected by addressable RGB LEDs. These projects often work fine without a level shifter, until they don’t.
Eight digital output pins (0, 2, 4, 12, 13, 15, 16, 17) are run through the level shifter.
The shield also includes places for data line resistors as recommended when driving LEDs. A large capacitor should be connected across the power and ground connections near the LEDs. A barrel connector can be added to connect a power supply, but the connector and PCB are only rated for 2.5A. That’s enough for about 50 LEDs at solid white, full brightness. For larger quantities, power should be connected directly to the LEDs, and/or brightness should be limited in software.
Specifications
Size: 2.01 x 1.01 x .063 inch (51.0 x 25.6 x 1.6 mm)
2 layer printed circuit board
FR4 substrate
Lead free
Purple SMOBC (solder mask over bare copper)
ENIG (Electroless Nickel Immersion Gold) finish
Manufactured in the USA
Current Rating: 2.5A
Parts that are not included, but are required to assemble:
Insert the SN74HCT245N Level Shifter chip into the holes in the top side of the board, where indicated. Be sure the notch is correctly aligned toward the 0.1uF capacitor, as indicated with the markings on the PCB.
Flip the board over and solder one pin on the chip, pressing down on the PCB to ensure the chip is seated firmly.
Make sure the chip is still seated properly before proceeding to solder the rest of the pins.
Insert the 0.1uF capacitor.
Insert 300 Ohm to 500 Ohm resistors in each set of holes for each output you plan to use. Bend one leg 180 degrees around, flat against the resistor body, and insert it vertically.
Trim all the leads with a pair of wire cutters. Flush diagonal cutters work best.
Flip the board over and solder each leg of each resistor.
Insert the power barrel jack.
I used a twist tie through the corner mounting holes to hold it in while I flipped the PCB over and soldered it in.
The pads are very large, and connected to large ground and power planes on the board, so they might take a while to heat up before the solder starts to flow around the leads.
If possible, use a vise to hold the PCB vertically, and a helping hands tool to hold the wires as they’re soldered.
Strip the ends of the wires you’ll use to connect the LEDs. I left the wires on the spools, which makes it easier to handle.
With a small amount of solder on the tip of the iron, heat the wire right on the bottom of the pad.
Melt a fair amount of solder on the wire and pad. The insulation on the wire may start to melt as the wire heats up. If so, push the wire through the hole, from the top towards the bottom, to ensure no wire is left exposed on top.