I’ve been trying for days now to get the ld2410 presence sensor to work with an esp32 board i purchased, an esp32-wroom-32. The result so far is that HA can connect to it through Esphome, but all values are “Unknown”.
I know about RX - TX & TX - RX, but my main problem is that i don’t really know what pin number belongs to which pin on the board. It TX and RX need to be a GPIO port, and the ground and 3V2 ones are obvious. But the schematic that i found for this board is unreadable to me.
On this schematic the GPIO25 maps to pin 14 for example, but…
on this schematic (from the same page as the first image) GPIO25 maps to pin 10. But i learned i can’t use pin 10, since that’s used by the flash interface.
Here’s an image of the actual ESP32.
So apart from my guess that this ESP32 board is probably best defined as:
esp32:
board: esp32doit-devkit-v1
And that neither the:
esp32:
framework: esp-idf
nor the:
esp32:
framework: arduino
seem to fix the ‘unknow’ issue, i’m at a loss.
Who can tell me which physical pin (most start with a D) i need to connect the TX and RX?
And who can confirm that one of the above board & framework values should work?
Here as some details about the board from the aliexpress product page:
Ontwikkelingsbordmodel: ESP32-DevKitC-32
Module Model: ESP32-WROOM-32
Belangrijkste controle chip: ESP32-DOWDQ6-V3 dual-core 32bit mcu geïntegreerde wifi, bluetooth,
Geïntegreerde 520-kbsram, 448-kbrom16-kbsraminrtc
Externe opslag: 4mb
USB-driver chip: ch340c, met goede compatibiliteit van het systeem, hogere downloadsnelheid en meer stabiliteit. Ondersteuning vin externe brede spanning ingang 5-12v voeding (batterij versie maximaal 5.5v ingang) ondersteuning usb voeding, externe 3.3v voeding, en vin voeding drie soorten voeding voedingsmodus ontwikkeling board grootte: 52*28mm/gewicht ongeveer 9.5g
Ondersteuning arduinoide mixly, mind +, python en andere programmeersoftware
Thanks for reading and hope someone has the solution!