# CH58x-BTHome **Repository Path**: chc_3/CH58x-BTHome ## Basic Information - **Project Name**: CH58x-BTHome - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-07 - **Last Updated**: 2025-06-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CH58X-BTHome BLE Temperature Sensor using the [BTHome](https://github.com/Bluetooth-Devices/bthome-ble/) protocol on the [CH58X](https://github.com/openwch/ch583/) ic series. ## Basic configuration 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 ``` ## Building The toolpath can be set in `CMakeLists.txt`. The toolset can be downloaded from the [Mounriver website](http://www.mounriver.com/), though the [xpack](https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack) distribution most likely works as well (untested). ``` mkdir build cd build cmake .. make ``` ## Board The schematic and gerber files for the PCB are located in the `Board` folder. ![Image](Board/pcb.png)