I was trying to get ota to work becuase I couldn’t get the sensor recognized by my pc. I finally got to the webpage on default boot and got it connected to WiFi. I was finally able after entering safe boot commands in yaml to update device to latest version of esphome. I don’t know what I did but after that device won’t boot up can’t connect WiFi and I and connect to it. And for the first time the light doesn’t come on when I plug in a usb. Any ideas ? Also how did u guys get this thing to be recognized by windows never ever worked for me and i downloaded and installed every usart to usb driver there is
I think I messed up my pins in file and now the thing can’t read from flash should I just buy another one ? Also what are u guys doing to get this to show up on windows ?
Hi there,
So I don’t have one of these, However I have used the older unit, but this thread here may shed some light.
I would recommend starting with the Terminal program first. Plug it in a Known working comm port. It should spit data as soon as it’s powered ON.
The trick is to get the correct baud rate set.
At the risk of be redundant have you fully adsorbed the WiKi here:
special attention to the NOTES: Sections…
If the Xiao appears bricked, perhaps just restore it’s firmware and leave the Radar alone at first.
HTH
GL PJ
Did you update the firmware to add the other features?
Hello, I’d like to confirm whether your USB is connected to the radar or the XIAO. If you need to update the YAML file, please connect the data cable to the XIAO. The radar’s USB port does not allow programming and won’t provide any serial port information.
Well I tried updating the device couldn’t ever get to to be recognized by my pc. All I could get done was get to the device webpage get it connected to WiFi and esphome from there I updated to latest version. I was playing wit the yaml yes and I think I screwed up the file wit the gpio part now it’s not booting up since I can’t get it recognized on pc im cooked. Not my fault smart ass a.i. wrote my yaml and screwed it up lol. Even apologized to me lmao. Still bricked my device
To the xiao i believe i have the kit wit the sensor and xiao already connected. I could never get the pc to recognize the xiao for programming only ota thru esphome
I did update to the latest esphome and it was working I then tried custom editing my yaml and that’s where I went wrong anything special about these things I have another one arriving today. Any trick when updating the firmware or getting it to talk to your pc ?
This the example yaml config I was using # Minimal update: Just add Safe Mode to existing working config
Based on your current working firmware (Dec 24 2024)
substitutions:
name: “seeedstudio-mr60bha2-kit”
friendly_name: “Seeed Studio MR60BHA2 Kit”
esphome:
name: “${name}”
friendly_name: “${friendly_name}”
name_add_mac_suffix: true
project:
name: “seeedstudio.mr60bha2_kit”
version: “2.1” # Just bump version slightly
esp32:
board: esp32-c6-devkitc-1
variant: esp32c6
flash_size: 4MB
framework:
type: esp-idf
Keep ALL your existing external components exactly the same
external_components:
- source:
type: git
url: GitHub - limengdu/MR60BHA2_ESPHome_external_components
ref: main
components: [ seeed_mr60bha2 ]
refresh: 0s
Keep existing logger config
logger:
hardware_uart: USB_SERIAL_JTAG
level: DEBUG
Keep existing API
api:
Keep existing OTA
ota:
- platform: esphome
ADD JUST THIS: Safe Mode Buttons (minimal addition)
button:
-
platform: safe_mode
name: “Safe Mode”
id: safe_mode_button -
platform: restart
name: “Restart”
id: restart_button
switch:
- platform: safe_mode
name: “Safe Mode Switch”
id: safe_mode_switch
Keep ALL existing components exactly the same
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: “seeedstudio-mr60bha2”
captive_portal:
web_server:
Keep existing I2C
i2c:
sda: GPIO22
scl: GPIO23
scan: true
frequency: 50kHz
Keep existing UART
uart:
tx_pin: GPIO16
rx_pin: GPIO17
baud_rate: 115200
parity: NONE
stop_bits: 1
Keep existing MR60BHA2 config
seeed_mr60bha2:
id: mmwave_sensor
Keep existing sensors
binary_sensor:
- platform: seeed_mr60bha2
mr60bha2_id: mmwave_sensor
has_target:
name: “Person Information”
device_class: occupancy
sensor:
-
platform: seeed_mr60bha2
mr60bha2_id: mmwave_sensor
heart_rate:
name: “Real-time heart rate”
unit_of_measurement: “bpm”
breath_rate:
name: “Real-time respiratory rate”
distance:
name: “Distance to detection object”
unit_of_measurement: “cm”
num_targets:
name: “Target Number” -
platform: bh1750
name: “Seeed MR60BHA2 Illuminance”
address: 0x23
update_interval: 1s
Keep existing light
light:
- platform: esp32_rmt_led_strip
name: “Seeed MR60BHA2 RGB Light”
pin: GPIO1
num_leds: 1
rgb_order: GRB
chipset: ws2812