Hello everyone !
I just got the sensor kit:
I would like to customize (code) the firmware (ESP32C3) and replace it with xiao-esp32c6.
I can’t find the source code for the existing firmware can anyone help ?
Thank you
Hello everyone !
I just got the sensor kit:
I would like to customize (code) the firmware (ESP32C3) and replace it with xiao-esp32c6.
I can’t find the source code for the existing firmware can anyone help ?
Thank you
Hi there,
Where did you look?
The WiKi has a secondary development section which has links and extras , however how will you get a device type for a Xiao C6 and you have a plan for the antenna? Do you plan to desolder the existing device?
sounds like an interesting project and is there some great benefit to doing it?
I don’t think it’s open source also, but YMMV
HTH
GL PJ
The WiKi has a secondary development section which has links and extras
I’m looking here: mmWave Human Detection Sensor Kit | Seeed Studio Wiki
The only firmware available is binary
TBH I saw a link “Download Source Code” and I assumed there was a source code, but it seems the only “source code” is a third party extension for esp-home, but it was enough to convince me to purchase, my bad (advertising third party source code) and providing only support through ESPHome is short sighted.
however how will you get a device type for a Xiao C6 and you have a plan for the antenna?
I plan to replace C3 with C6 ( https://www.seeedstudio.com/Seeed-Studio-XIAO-ESP32C6-p-5884.html ) there is an antenna connector and is a pinout match with C3.
Do you plan to desolder the existing device?
Yes, I plan to convert the device to a Thread/Matter device.
I don’t think it’s open source also
OK, I assumed open source (clever open source wording spread). It was my fault not asking first before buying nevertheless lesson learned!
Thanks
ill see what i can do… i know a guy
Seems like a lot of effort for little gain?, mostly for the thread matter angle perhaps.
I got my popcorn and will be lurking hard on any and all progress made climbing this mountain.
albeit if you get the firmware then that’s a large boost.
GL PJ
Seems like a lot of effort for little gain?
The POC/scenario does not allow WIFI connections e.g. setup a base/hub private access point or connect as WIFI station due to WIFI isolation.
So as it is “out of the box” is an expensive white box.
mostly for the thread matter angle perhaps
it can be Thread (C6) or BLE (C3/C6), maybe I’ll start with a BLE requires less software infrastructure.
The POC/scenario does not allow WIFI connections
There is also the possibility of using ESP-NOW between the sensor and a esp-now (kind of gateway) + base , but, can become muddy waters… although ESP-NOW does not require a WIFI base router it works via WIFI. In the meantime, I will literally deal with NO WIFI.
I’ll do mea culpa.
I will write here for the record in case it is useful to others.
I bought this kit for a POC and quickly read the information and got the idea that there was a specific and “open source” firmware that I would use as a basis to adapt my functionalities, namely communicating via another protocol other than WIFI.
I started this thread asking if there is the source code for the firmware that is used in the demonstrations.
After analyzing the existing firmware log, I came to the conclusion that there is no specific firmware, the firmware that is installed is a firmware generated by ESPHome, which provides OTA, Caption Portal functionalities, and implements the ESPHome communication protocol.
This KIT basically consists of the following modules:
If I had read more carefully, I would understand:
Nothing is lost, the solution is to use the available Arduino libraries to communicate the Human-Static-Presence-Module-Lite sensor and read the existing documentation and create a firmware that supports my needs.
Thanks for reading
Hi @ptp ,
Thanks for your interest in the mmWave Human Detection Sensor Kit and your detailed questions. I’d like to clarify a few points regarding the kit’s firmware and customization options.
Firstly, the kit is indeed open-source, including the integration with Home Assistant. The binary firmware provided is for convenience, allowing users to quickly flash the XIAO board. However, this binary is actually based on ESPHome and is the result of compiling the YAML configuration file found here: mmwave-kit-external-components/example/mr24hpc1.yaml at main · limengdu/mmwave-kit-external-components · GitHub
If you wish to customize the firmware, you can modify this YAML file according to your needs. As for the lower-level code, it is part of the ESPHome instance and can be found here: mmwave-kit-external-components/components/seeed_mr24hpc1 at main · limengdu/mmwave-kit-external-components · GitHub. However, if you intend to develop this part of the program, you may need to refer to the ESPHome development guide.
Regarding your plan to switch to the ESP32-C6, theoretically, you would only need to modify this part of the content: mmwave-kit-external-components/example/mr24hpc1.yaml at 87be1f9b00aa4205c62b1866ec38107b95173b73 · limengdu/mmwave-kit-external-components · GitHub. Change the board to the ESP32-C6 board. I apologize for not being up-to-date with ESPHome lately, so I’m unsure if they officially support the C6 yet. If not, you may need to wait for their support plan. The rest of the YAML program should remain unchanged.
If there’s anything else you need assistance with or if you have any further questions, please let me know, and I’ll do my best to help you.