BLE Temperature Sensor using the BTHome protocol on the CH58X ic series.
The default intervals and encryption key can be changed in src/sensor.cpp
The default hardware configuration is:
GPIO B15 -- R2 [10k] -- GPIO A9 -- NTC [50k, B=3950] -- VCC
The toolpath can be set in CMakeLists.txt
. The toolset can be downloaded from the Mounriver website, though the xpack distribution most likely works as well (untested).
mkdir build
cd build
cmake ..
make
The schematic and gerber files for the PCB are located in the Board
folder.