Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Electronic wiring

Jean-Baptiste Le Coz edited this page Jul 17, 2023 · 8 revisions

Introduction

wemosD1

  • All the drawing/information are for the Wemos D1 mini and clone, if you use an other ESP8266 board read carefully its spec.

  • The following wiring is 100% working for me, but take note that LED strip need 5V logic and ESP8266 provide 3.3V logic. So you may need a level schifter to convert the 3.3v logic to 5v logic.

Supplies

hardware

  • USB Battery bank : I use sony CP-V3A for 119 LEDS. Take care of the output amps.

  • ESP8266 Board : I use Wemos D1 mini clone, but it should work on other ESP8266 board.

  • LED Strip : I use APA102 (Dotstars) but it also work with WS2812 (Neopixels).

  • Capacitor (optional) : I use a capacitor 16V 100uF from arduino starter kit, but other "big" capacitor should be good.

  • Push Button (optional) : I use two push button from arduino starter kit, but any push button should be good.

Wiring

WS2812(Neopixels)

help6

  • LED Strip : You must use GPIO3 PIN as specify here(label RX on Wemos D1 mini).

  • Push Button : You must use GPIO0 and GPIO2 internal Pull-Up PIN (label D3 and D4 on Wemos D1 mini).

  • Capacitor : Its goal is to filter the power. Take care of the polarity to avoid drama.

APA102 (Dotstars)

help5

  • LED Strip : You must use the hardware SPI pin from your board (DATA = MOSI and CLOCK = SCLK). For the Wemos D1 mini MOSI is D7 and SCLK is D5.

  • Push Button : You must use GPIO0 and GPIO2 internal Pull-Up PIN (label D3 and D4 on Wemos D1 mini).

  • Capacitor : Its goal is to filter the power. Take care of the polarity to avoid drama.

USB plug

help4

  • Take care of the polarity to avoid drama.

  • Each LED need around 50mA full brightness, so 3A max for 60 LEDs and 7.2A max for 144 LEDS !

Examples for APA102 and Wemos D1 mini

  • ESP8266 board :

help7

help8

  • Button board :

help9