• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
D1mini Sensor Case - LD2410C, BH1750 3D Printer File Image 1
D1mini Sensor Case - LD2410C, BH1750 3D Printer File Image 2
D1mini Sensor Case - LD2410C, BH1750 3D Printer File Image 3
D1mini Sensor Case - LD2410C, BH1750 3D Printer File Thumbnail 1
D1mini Sensor Case - LD2410C, BH1750 3D Printer File Thumbnail 2
D1mini Sensor Case - LD2410C, BH1750 3D Printer File Thumbnail 3

D1mini Sensor Case - LD2410C, BH1750

MR H avatarMR H

May 6, 2023

printables-icon
DescriptionCommentsTags

Description

I Modified the project to be able to store a LD2410C instead of the temp sensor.


Also i opened part of the top case for the light sensor, as the measurements were pretty low.

 

There is plenity of space for the cables, so you should be able to even make it shorter.

My cables are a bit too long but it works perfectly

 

The case it's for the ESP32 D1 Mini but if you remove the center square on the top, you can fit a Wemos ESP8266 in there.

 

This is the code on ESPHOME for the Wemos ESP8266 D1 Mini:


 

i2c:

  sda: GPIO4

  scl: GPIO5

  scan: false


 

uart:

  id: uarts

  tx_pin: GPIO15

  rx_pin: GPIO13

  baud_rate: 256000

  parity: NONE

  stop_bits: 1


 

ld2410:

  timeout: 30s

  max_move_distance : 6m

  max_still_distance: 0.75m

  g0_move_threshold: 50

  g0_still_threshold: 20

  g1_move_threshold: 50

  g1_still_threshold: 20

  g2_move_threshold: 40

  g2_still_threshold: 40

  g3_move_threshold: 40

  g3_still_threshold: 40

  g4_move_threshold: 40

  g4_still_threshold: 40

  g5_move_threshold: 40

  g5_still_threshold: 40

  g6_move_threshold: 30

  g6_still_threshold: 15

  g7_move_threshold: 30

  g7_still_threshold: 15

  g8_move_threshold: 30

  g8_still_threshold: 15


 

sensor:

  - platform: ld2410

    moving_distance:

      name : Moving Distance

    still_distance:

      name: Still Distance

    moving_energy:

      name: Move Energy

    still_energy:

      name: Still Energy

    detection_distance:

      name: Detection Distance

  - platform: bh1750

    name: "BH1750 Illuminance"

    address: 0x23

    update_interval: 20s


 

binary_sensor:

  - platform: ld2410

    has_target:

      name: Presence

    has_moving_target:

      name: Moving Target

    has_still_target:

      name: Still Target

License:

Creative Commons — Attribution — Noncommercial — Share Alike

Related Models

bakercube preview image

bakercube

iomaa profile image

iomaa

44,418

Book Page Holder V3 preview image

Book Page Holder V3

fifindr profile image

fifindr

3,472

Customizable Spotify Keychain / Tag preview image

Customizable Spotify Keychain / Tag

ewt profile image

ewt

2,956

Bottle Opener and Cap GUN! preview image

Bottle Opener and Cap GUN!

3Deddy profile image

3Deddy

43,962

Funnel Tray preview image

Funnel Tray

fifindr profile image

fifindr

3,512

Aldi Cart keychain preview image

Aldi Cart keychain

Nexus profile image

Nexus

1,070

Mini Tape Gun - Tape Dispenser preview image

Mini Tape Gun - Tape Dispenser

brycelowe profile image

brycelowe

23,745

Drill Paint Mixer preview image

Drill Paint Mixer

fifindr profile image

fifindr

2,398