Hi
I have a Xiao 24GHz mmWave connected to a Seeed ESP32C6 but cannot get any sensor data. I using ESPHome and started with this configuration here, which is for the Seeed MR60BHA2 (based on the ESP32C6). The problem is, no matter what I do, I am not able to see sensor data in ESPHome.
I have tried:
A different Seeed ESP32-C6, same problem
Changing the firmware version on the mmWave sensor (via the app, bluetooth)
Changing the baud rate on the mmWave sensor (via the app, bluetooth)
Resetting the mmWave sensor back to defaults (via the app, bluetooth)
Switching back to ESP32-C3, sensor works perfectly
Is there something here I am missing with UART on the ESP32C6 and/or ESPHome?
@PJ_Glasso I am now having trouble with the I2C pins. Can you explain how you worked out that on the C6 the pins were 2 and 21 for UART? So that I can work out what the correct I2C pins are?
Yes, Sure, those pins match the module(it’s serial port)…Not the xiao. The Xiao’s second com port is 16,17 using GPIO #'s
The code is using a softSerial port on the Xiao would be my bet.
HTH
GL PJ
I2C on Xiao ESP32C6 is GPIO22 (D4) SDA & GPIO23 (D5) SCL
AFAIK, I have seen this chart floating around though and it get’s confusing for folks, some stuff only supported by the ESP-IDF
Reality Check on the Xiao ESP32C6 Board:
Xiao Pin
Functionality
ADC
PWM
UART/I2C/SPI Capable?
D0–D9
GPIO0–9
Yes, with remapping
A0–A3
GPIO10–13
SDA/SCL
GPIO18/17
I2C default
RX/TX
GPIO20/21
UART default
So while the chip has 7 ADC channels, the Xiao board exposes only 4.
Much of it comes from the Technical Reference guide and The Espressif website, as well as Xiao schematics. Some of it is generic to ESP32 , but the C3 messed that up… it’s different… ;grin:
HTH
GL PJ
Often the TRG will offer more current info than the data-sheet that include errata notes and updates. YMMV