Recommend a Prusa printer, earn $30! See the updated Prusa Rewards Program.
ESPHome compact case for Wemos (D1/S2) Mini board and sensors: LD2140B, LD2410C or LD1115H with BH1750 and GY-BME280
11
59
0
1285
updated August 5, 2025

Description

PDF

A compact case for LD2140B, LD2410C or LD1115H human presence detection sensor with BH1750 light sensor and GY-BME280 Temperature/humidity/Air pressure sensor

A wemos D1 mini or S2 mini will be needed as the main board.

Features:

  • Adjustable side to side human presence sensor 
  • Tiltable mount (M4 size), M3 bolt and nut for the joint
  • Extremely compact ( just don't look inside after closing the case)
  • Friction fit

Notes: 

  • Careful when putting in the S2 mini, the boot button is quite easy to accidentally bump off
  • I use the vbus pin as the 5V power for the mmWave sensor or alternatively, solder a thin enamel copper wire on the resistor left side. 
  • Multi connections like i2c bus, 3.3V and ground can be connect together with a thin wire and then use the exist  header pin to wire it, just make sure to insulate the solder.
  • An offset will need to put in for the temperature and humidity since the sensor is inside with the board for aesthetic reason (-7 to -13 for temperature and 32 to 40 for humidity)
  • I found LD1115H to be more reliable, currently ESPHome doesn't have support for it, but other has done a great job making it work
  • Hot glue the light and temperature sensor and the pin header so it will not come off

20250608 update:

  • Added a case for LD2450 sensor
  • Added v2 version of the lid and hinge, the lid have groove for the underside of header pin and a prop to hold the sensors up, move the hole for the light sensor for better fitting. The hinge now have a hole to add filament to stop it moving once inserted.

20250806 update:

  • Added a version of board case with ventilation

Tags



Model origin

The author marked this model as their own original creation.

License