This is for the hardware version V1.1 which uses STC15W408AS(C51) as its mcu.
1.Connect the USB to UART module
(E.g. CH340,FT232) to BDsensor, that may require you to solder the wires or a burning fixture (2.0MM spacing,4Pin)
the solder spot spacing on the BDsensor is 2.0mm
2, Flash the firmware into BDsensor with stc-isp-15xx
stc-isp-15xx.exe
. usb to uart module
into PC – > Choose COM port–>Choose MCU type:STC15W408AS --> Open code File (choose the firmware file for the V1.1) --> Choose frequency 30.000 MHz–>Download/Program–>Power on the BDsensor–>waiting program–>finished.for non windows as Wood Stock suggested: https://github.com/grigorig/stcgal.git then run stcgal -P stc15 -p /dev/tty.wchusbserial210 ./V1_1BDsensor20240213.hex