Skip to the content
2 layers42.5 × 38.5 mmD1shield, the printed circuit board in 3D

ESPHome compatible mod board for the Ikea Vindriktning

Size
42.5 × 38.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
3
Nets
16
Pads
28
Tracks, vias
79, 0
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
26 Feb 2023
Updated
25 Feb 2024

Overview

D1shield is an open-source printed circuit board by Real-Time-Kodi, from the Real-Time-Kodi/Vindicktning repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 42.5 × 38.5 mm with 3 parts on 16 nets, routed with 79 tracks and 0 vias.

It is built around the WEMOS D1 MINI. Its parts include 2 connectors and 1 IC. It belongs with the ESP8266 boards of this library.

Main components

1

README

README.md

Vindicktning

This board is designed to fit within the case of the Ikea Vindriktning and replicate its functionality while replacing the main MCU with an ESP8266 for home automation use. It also adds multiple i2c headers for adding other air quality sensors.

Harvesting Components

This step is relatively straightforward, I recommend using a soldering hotplate and a pinecil or similar small, temperature controlled iron. The first step is to harvest the parts you'll need from the Vindriktning board. Remove all of the components circled in red. The easiest way to do this is to scrape the LEDs off of the underside of the board and put it on the hotplate, removing each component with tweezers once the board is good and hot.
You'll need both of the connectors, the electrolytic cap, and the diode.

Parts List

  • Usb Type C Connector
  • 7x 0805 0.1uf Capacitors
  • 3x WS2812b LEDs
  • 1x 0805 10k Resistor(optional for buzzer)
  • 1x MMBT2222 SOT Transistor or equivalent(optional for buzzer)
  • 1x Standard buzzer(optional)
  • Fine wire(Optional for USB data hookup)
  • Wemos D1 Mini

I have a few kits available on my tindie page.

Board Assembly

Using your preferred method, solder each of the components on to their designated pads. All of the capacitors are 0.1uf except for the electrolytic capacitor. Mind the polarity on both the capacitor and the diode!

I recommend using the hotplate for all of the surface mount components and verifying that you get 5v at this point before proceeding to the next steps. Don't forget to solder the LEDs on the back.

The other board is easy to get wrong. Make sure the port and board are facing the correct direction or the completed assembly will not fit into the case! Look at the pictures to be sure of orientation. The ESP module on the Wemos D1 should fit into the board cutout and the USB port should be accessible. Solder the boards together with small bits of wire or header pins.

It is easiest to solder the through-hole components before mating the boards together, this is the point where you should install the optional buzzer and any i2c headers you wish to use. The headers should have been included with the Wemos D1 and can be cut down to size with angle cutters.

Mating the Boards

The board containing the Wemos D1 must be facing exactly as shown. Insert it into the slot and solder it on BOTH SIDES, making sure that it is exactly perpendicular to the main PCB. Test the fitment before Reassembly!

USB Data lines for External Programming(Optional)

There are two labeled test pads on the main PCB (D+ and D-) those two pads can be connected to the corresponding D+ and D- pins on the Wemos D1's USB to Serial chip to allow you to program the device without opening it up. There are several different USB -> Serial chips on the D1. Check the diagram below for specific pinout. Many modules will have the model numbers sanded off of the CH341. Note that this is not a valid implementation of USB and the type-c cable will only be able to program the device when inserted right-side up.

Reassembly

The Vindrictning top case needs to have these 2 standoffs removed. Flush cutters work best.

The new board can then be installed with the screws that came with the vindriktning. Keep an eye on the header pins that hold the Wemos D1 to its pcb, they need to be trimmed as flush as possible in order for the board to clear the fan screws.

Programming

See the included esphome example. It initializes all of the inbuilt perpherals and has a function for fading the LEDs between colors based on the c02, pm2.5, and VOC concentrations. Program it with whichever method you usually use to program ESPHome devices.
Please remember that the usb port will only connect the data pins with the type-c connector in the upward orientation.

Adding I2C Sensors

Additional sensors can be added using the I2C headers. There are three of them of them with the following pinout: SDA | SCL | GND | VCC
The I2C4 header on the top of the board has positive and negative swapped so that it can be used with this sensor: SDA | SCL | VCC | GND
The voltage is 3.3 by default but it can be set to 5v by cutting the voltage selector trace and adding a solder blob on the 5v side. The silkscreen is clearly labled.

Check ESPHome.io for supported sensors and configuration documentation.

Sensors I have used:

  • SCD40 (CO2)
  • BME280 (Temperature Humiditity Pressure)
  • BME680
  • BMP280 (Temperature Pressure)
  • CCS811 (eC02 Volatile Organic Compounds)

Parts

3
QtyValueFootprintReferences
2Conn_01x06_Maleedge:EdgeJ1, J2
1WeMos_D1_miniwemos-d1-mini:wemos-d1-mini-connectors-onlyU1

More from Real-Time-Kodi/Vindicktning

1
  • 2 layers46 × 75 mmVindick, the printed circuit board in 3D

    Vindick

    Real-Time-Kodi/Vindicktning

    ESPHome compatible mod board for the Ikea Vindriktning

    34 parts11GPL-3.0

Similar boards

  • 2 layers70.1 × 43.2 mmIaq device, the printed circuit board in 3D

    Iaq device

    nkitanov/iaq_board

    IAQ Board is a DIY (Do-It-Yourself) device for measuring internal air quality

    19 parts396
  • 2 layers32.1 × 40.8 mmPower Monitor Version 1, the printed circuit board in 3D

    Power Monitor Version 1

    alcar21/WemosEM

    Cheap power monitor (STC013) with Home Assistant Discover and Wemos D1 Mini / PRO (esp8266)

    8 parts122
  • 2 layers91 × 49 mmWled, the printed circuit board in 3D

    Wled

    wladwnt/wled

    Simple WLED Board (SW: https://github.com/Aircoookie/WLED)

    9 parts102
  • 2 layers97.5 × 59.3 mmControl Board, the printed circuit board in 3D

    Control Board

    kholia/Easy-Digital-Beacons-v1

    A simple and easy Arduino / Pi Pico / ESP8266-powered WSPR, FT8, and FT4 beacon system which uses NTP + DS3231 RTC for timing. Super extensible! Now comes with optional GPS support.

    17 parts89
  • 2 layers64.6 × 36.9 mmNavien latest, the printed circuit board in 3D

    Navien latest

    htumanyan/navien

    Navien water heater wire protocol for communication with NaviLink and other attached devices

    30 parts65
  • 2 layers49.5 × 30 mmAirpcb smd old, the printed circuit board in 3D

    Airpcb smd old

    issalig/toshiba_air_cond

    AB protocol decoder for toshiba air conditioners

    30 parts65
  • 2 layersTcsmonitor pcb, the printed circuit board in 3D

    Tcsmonitor pcb

    Syralist/tcs-monitor

    ein Bus-Monitor für TCS Klingelanlagen

    14 parts37MIT

Questions

How big is the D1shield PCB?

It measures 42.5 × 38.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the D1shield use?

3 parts, built around the WEMOS D1 MINI. 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 D1shield KiCad files?

From the Real-Time-Kodi/Vindicktning repository on GitHub, at the commit this page was made from: the board is d1shield/d1shield.kicad_pcb and its schematic vindick/vindick.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the D1shield design in my own project?

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