Hi,
I’m trying to use a mmWave sensor with a D1 Mini and have done following so far:
esphome:
name: test_board_2
esp8266:
board: d1_mini
logger:
level: DEBUG
baud_rate: 0
wifi:
ssid: !secret ssid
password: !secret ssid_password
fast_connect: true
api:
ota:
captive_portal:
switch:
- platform: restart
name: Restart
id: restart_device
binary_sensor:
- platform: gpio
name: mmWave
pin:
number: GPIO16
mode: INPUT_PULLDOWN
uart:
id: UART_BUS
tx_pin: RX
rx_pin: TX
baud_rate: 115200
The board boots up and recognized under ESPHome but the mmWave sensor is “on” all the times and I do not see any UART output either, here is log for reference:
[22:05:27][C][wifi:368]: DNS2: 0.0.0.0
[22:05:27][C][logger:233]: Logger:
[22:05:27][C][logger:234]: Level: DEBUG
[22:05:27][C][logger:235]: Log Baud Rate: 0
[22:05:27][C][logger:236]: Hardware UART: UART0
[22:05:27][C][uart.arduino_esp8266:102]: UART Bus:
[22:05:28][C][uart.arduino_esp8266:103]: TX Pin: GPIO3
[22:05:28][C][uart.arduino_esp8266:104]: RX Pin: GPIO1
[22:05:28][C][uart.arduino_esp8266:106]: RX Buffer Size: 256
[22:05:28][C][uart.arduino_esp8266:108]: Baud Rate: 115200 baud
[22:05:28][C][uart.arduino_esp8266:109]: Data Bits: 8
[22:05:28][C][uart.arduino_esp8266:110]: Parity: NONE
[22:05:28][C][uart.arduino_esp8266:111]: Stop bits: 1
[22:05:28][C][uart.arduino_esp8266:115]: Using software serial
[22:05:28][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'mmWave'
[22:05:28][C][gpio.binary_sensor:016]: Pin: GPIO16
[22:05:28][C][restart:022]: Restart Switch 'Restart'
[22:05:28][C][restart:022]: Icon: 'mdi:restart'
[22:05:28][C][captive_portal:088]: Captive Portal:
[22:05:28][C][mdns:084]: mDNS:
[22:05:28][C][mdns:085]: Hostname: test_board_2
[22:05:28][C][ota:085]: Over-The-Air Updates:
[22:05:28][C][ota:086]: Address: test_board_2.local:8266
[22:05:28][C][api:138]: API Server:
[22:05:28][C][api:139]: Address: test_board_2.local:6053
[22:05:28][C][api:143]: Using noise encryption: NO
The wiring is as follows:
VCC - 5V from power supply - 5V on D1
All GND connected
VO - GPIO16 (D0) on D1
URX - TX (D1 Mini)
UTX - RX (DI Mini)
Any pointers will be appreciated!