Search models, users, collections, and posts

ESP-WROOM-32(ESP32) Case with HMMD mmWave Sensor

Remixed by

Print Profile(1)

All
A1
X1 Carbon
X1E
A1 mini
X1
P1S
X2D
P2S
A2L
H2C
H2D
H2S
P1P
H2D Pro

0.2mm layer, 3 walls, 18% infill
0.2mm layer, 3 walls, 18% infill
Designer
1.3 h
1 plate

Open in Bambu Studio
Boost
0
0
0
0
2
1
Released 

Description

I remixed ESP-WROOM-32(ESP32) Case for Dupont cable to use with waveshare mmWave sensor (https://www.waveshare.com/wiki/HMMD_mmWave_Sensor). 

 

I change top cover to be slice, add socket for sensor and add more space inside case. Nowa you can easy place your ESP32 on ceiling :)

 

Code what i used in ESPHome (you can use yout own pins):
 

uart:
 id: ld2420_uart
 tx_pin: GPIO18
 rx_pin: GPIO19
 baud_rate: 115200
 parity: NONE
 stop_bits: 1
 
ld2420:

text_sensor:
 - platform: ld2420
   fw_version:
     name: LD2420 Firmware

sensor:
 - platform: ld2420
   moving_distance:
     name : Moving Distance

binary_sensor:
 - platform: ld2420
   has_target:
     name: Presence
 - platform: gpio
   pin:
     number: GPIO17
     mode:
       input: true
   name: "HMMD Presence"
   device_class: occupancy
   filters:
     - delayed_on: 500ms
     - delayed_off: 15s      
         

select:
 - platform: ld2420
   operating_mode:
     name: Operating Mode

number:
 - platform: ld2420
   presence_timeout:
     name: Detection Presence Timeout
   min_gate_distance:
     name: Detection Gate Minimum
   max_gate_distance:
     name: Detection Gate Maximum
   gate_select:
     name: Select Gate to Set
   still_threshold:
     name: Set Still Threshold Value
   move_threshold:
     name: Set Move Threshold Value
   gate_move_sensitivity:
     name: Move Calibration Sensitivity Factor
   gate_still_sensitivity:
     name: Still Calibration Sensitivity Factor

button:
 - platform: ld2420
   apply_config:
     name: Apply Config
   factory_reset:
     name: Factory Reset
   restart_module:
     name: Restart Module
   revert_config:
     name: Undo Edits

Comment & Rating (0)

(0/1000)