#ESPHome: LD2410 on ESP-12E

1 messages Β· Page 1 of 1 (latest)

eternal bone
#

@cosmic quartz Thank you very much for enlightment πŸ™‚ I understand it better now. I am confused because I followed the link you mentioned but after uploading the ESP config it doen't show up as new device with it's entities. I wonder if the numbering of my RX/TX pins is correct based on the pure ESP-12E I use (no Wemos, nor NodeMCU, nor similar). Here's my config (sensitive data and obviously identical stuff I copied from esphome.io are stripped):

  name: mmwave-sensor-01
  friendly_name: mmWave Sensor 01
esp8266:
  board: esp12e
# Enable logging
logger:
# Enable Home Assistant API
api:
  encryption:
    key: "xxxx"
ota:
  password: "xxxx"
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Mmwave-Sensor-01"
    password: "xxxx"
captive_portal:
uart:
  baud_rate: 256000
  data_bits: 8
  parity: none
  stop_bits: 1
  tx_pin: 2
  rx_pin: 4
web_server:
  port: 80

ld2410:
[...]```
I followed this link for the numbering: https://www.mikrocontroller-elektronik.de/esp12e-tutorial-einstieg-mit-dem-esp8266-modul/

#ESP12E bzw. #ESP8266-Tutorial mit Beispielprojekt fΓΌr WLAN-Temperatursensor in #Solarlampe und komfortabler ESP12E-Adapter #Bauanleitung fΓΌr diverse Projekte #Schaltung

cosmic quartz
#

have you tried adding it manually to the esphome integration using mmwave-sensor-01.local as the host or the ip address instead of host name.

#

tx should be gpio1 and connected to rx on the ld2410 and rx should be gpio3 and connected to tx on the ld2410

#

you wil also need to add baud_rate: 0 to logger:

eternal bone
#

Awesome! Adding it manually worked. All entities are "unkown" because I tried to use other pins for LD's UART to keep the ESP's UART free for my FTDI πŸ™„ Let me quickly resolder it...

#

@cosmic quartz you are the Greatest! It works like a charm. As conclusion I can say: use only the RX/TX pins from your ESP. Kudos and a beer (or soft drink) to you. Now it's testing time in hope they will run stable πŸ™‚

cosmic quartz
#

great stuff! and you're welcome. i have a few and they work very well. πŸ‘

eternal bone
#

Happy to hear. 3 Euros each on Ali is a steal. I made a cute case for printing. Later I'll add it to Thingiverse and post the link here.

cosmic quartz
#

oh i will look out for that πŸ˜„

eternal bone
#

Not sure if already visible: https://www.thingiverse.com/thing:6298295

cosmic quartz
#

yes its showing. i will give it a print... but first i need to fix my octoprint server as it's died and i've got a backlog of stuff to print πŸ˜„

#

and the 2410 will work fine even fully enclosed. i have one in a wooden box at the moment around 8mm thick with no apatures

eternal bone
#

Good to know about the penetration capabilitites. I might redesign my case based on your findings πŸ‘
BTW: My case is quite big with 70 mm diameter but for my big hands just okay.