Skip to the content
2 layers36 × 31 mmESPDimmer, the printed circuit board in 3D

Wifi enabled LED strip dimmer that is controlled using MQTT messages.

Size
36 × 31 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
21
Pads
47
Tracks, vias
66, 4
Pours
4
Routed
Yes
KiCad
KiCad 4
Created
30 Dec 2016
Updated
22 Nov 2020

Overview

ESPDimmer is an open-source printed circuit board by stelioskat, from the stelioskat/esp8266-led-dimmer repository on GitHub, published under the MIT licence. It is a 2-layer board of 36 × 31 mm with 11 parts on 21 nets, routed with 66 tracks and 4 vias.

It is built around the ESP-12E and IRLB8721PBF. Its parts include 4 connectors, 3 capacitors, 2 ICs, 1 resistor and 1 transistor. It belongs with the radio and wireless and home automation and IoT boards and the ESP32 and ESP8266 boards of this library.

Main components

2

README

README.md

ESP8266 LED Dimmer (MQTT controlled)

  1. Layout
  2. Parts
  3. Schematic
  4. Firmware
  5. MQTT

This is a very simple wifi enabled (ESP8266 12e) LED dimmer for single colored LED strips.

Its purpose was originally to be controlled by Node-RED (http://nodered.org) and node-red-contrib-homekit (https://flows.nodered.org/node/node-red-contrib-homekit) using MQTT events. Thus, one could control this with Apple Homekit.

Of course by using MQTT you can control it with whatever you like and not necessarily with Apple Homekit.

Layout

The layout is made with KiCad but I have also included an screenshot of the schematic, in case you want to make your own PCB with another software. You could simply produce this PCB for example by uploading the ESPDimmer.kicad_pcb file directly in AISLER .

Parts

Nr. Part Package   Qty.
1Capacitor 100nF04022
2Capacitor 1uFPackage 04021
3Resistor 10kPackage 08051
4Voltage regulator TLV1117SOT-2231
5AK300-2 Terminal for LED strip-1
6ESP8266-12E1
7Standard barrel jack for power supply1
830V Single N-Channel Power MOSFETTO-2201

Schematic

Schematic

Firmware

The firmware can be compiled in Arduino IDE using the available ESP8266 package. In order to flash the firmware you will need a USB-to-Serial adapter such as the FTDI232 that I am using (https://github.com/jandelgado/arduino/wiki/FTDI232-USB-to-Serial-converter). Keep in mind that you will have to update the Wifi credentials and also the MQTT broker hostname and port to fit your own.

Of course, you could write your own firmware or you use another one since this is basically a breakout board.

MQTT

The default firmware subscribes to the topic "/light/1" and expects the following JSON messages to control the LED strip and its brightness.

  • Turn on command:
text
{"On":1}
  • Turn off command:
text
{"On":0}
  • Set brightness level:
text
{"Brightness":<A VALUE BETWEEN 0 AND 100>}

Parts

11
QtyValueFootprintReferences
2100nCapacitors_SMD:C_0402C1, C2
110kResistors_SMD:R_0805R1
11uCapacitors_SMD:C_0402C3
1CONN_01X03Connect:BARREL_JACKP1
1ESP-12EESP8266:ESP-12EU2
1IRLB8721TO_SOT_Packages_THT:TO-220_Neutral123_VerticalQ1
1LEDConnect:AK300-2P3
1ProgModSocket_Strips:Socket_Strip_Straight_1x02P4
1SerialSocket_Strips:Socket_Strip_Straight_1x03P2
1TLV1117TO_SOT_Packages_SMD:SOT-223U1

Similar boards

  • 2 layers50.8 × 28.6 mmBeaglebone obd, the printed circuit board in 3D

    Beaglebone obd

    KoffeinFlummi/rustbucket

    Access your car's diagnostics with a BeagleBone Blue and Rust.

    20 parts60GPL-3.0
  • 2 layers99.1 × 99.1 mm3D Scanner, the printed circuit board in 3D

    3D Scanner

    nazzrim/Open3DScanner

    Open3DScanner 3D Scanner design

    33 parts60
  • 2 layers70.3 × 30.2 mmControl pcb, the printed circuit board in 3D

    Control pcb

    kbob/filabilly-humidor

    Dehumidifier cabinet for printer filament

    16 parts9
  • 4 layers104.2 × 77.7 mmDc26, the printed circuit board in 3D

    Dc26

    dodgymike/dc26-monero-badge-pcb

    Defcon 26 Monero badge PCB

    714 parts6
  • 4 layers69.9 × 44.5 mmDoughLee2, the printed circuit board in 3D

    DoughLee2

    chl33/Dough133

    A temperature-controlled container for proofing and fermenting soughdough

    62 parts3MIT
  • 2 layers61 × 78.7 mmESP RGB LED, the printed circuit board in 3D

    ESP RGB LED

    Sean-AP/ESP-RGB-LED

    MicroPython module for controlling an RGB LED strip

    10 parts2
  • 2 layers33.8 × 49.5 mmEspAtomizerpcbv3rev1, the printed circuit board in 3D

    EspAtomizerpcbv3rev1

    Adamibus/ESPAtomizer-iOS

    This is a minimal KiCad 6/7 project skeleton. Open ESPAtomizer.kicadpro in KiCad.

    21 parts1
  • 2 layers116.1 × 85.3 mmCar control, the printed circuit board in 3D

    Car control

    andieh/carpc

    digitalization of an old VW T3 Bulli

    57 parts1

Questions

How big is the ESPDimmer PCB?

It measures 36 × 31 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ESPDimmer use?

11 parts, built around the ESP-12E and IRLB8721PBF. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the ESPDimmer KiCad files?

From the stelioskat/esp8266-led-dimmer repository on GitHub, at the commit this page was made from: the board is layout/ESPDimmer.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESPDimmer design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).