https://github.com/lewisxhe/SensorLib
Commonly used I2C , SPI device multi-platform libraries
https://github.com/lewisxhe/SensorLib
bhi260 bhi260ap bma423 cm32181 cst9217 cst9220 drv2605 ft6x36 gt911 gt9895 ltr553 pcf85063 pcf8563 qmc6310 qmi8658 xl9555
Last synced: 4 months ago
JSON representation
Commonly used I2C , SPI device multi-platform libraries
- Host: GitHub
- URL: https://github.com/lewisxhe/SensorLib
- Owner: lewisxhe
- License: mit
- Created: 2022-10-25T07:18:39.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-09-22T05:40:00.000Z (4 months ago)
- Last Synced: 2025-09-22T07:25:03.980Z (4 months ago)
- Topics: bhi260, bhi260ap, bma423, cm32181, cst9217, cst9220, drv2605, ft6x36, gt911, gt9895, ltr553, pcf85063, pcf8563, qmc6310, qmi8658, xl9555
- Language: C
- Homepage:
- Size: 21 MB
- Stars: 158
- Watchers: 6
- Forks: 25
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rainmana - lewisxhe/SensorLib - Commonly used I2C , SPI device multi-platform libraries (C)
README

[](https://github.com/lewisxhe/SensorLib/actions/workflows/esp-idf.yml)
[](https://github.com/lewisxhe/SensorLib/actions/workflows/arduino_ci.yml)
[](https://github.com/lewisxhe/SensorLib/actions/workflows/platformio.yml)
[](https://www.ardu-badge.com/SensorLib)
[](https://registry.platformio.org/libraries/lewisxhe/SensorLib)
[](https://github.com/lewisxhe/SensorLib/blob/master/LICENSE)
[](https://github.com/lewisxhe/SensorsLib/issues)
[](https://github.com/lewisxhe/SensorsLib/graphs/contributors)
[](https://github.com/lewisxhe/SensorsLib/stargazers)
[](https://github.com/lewisxhe/SensorLib/releases)
Support list:
| Sensor | Description | I2C | SPI |
| --------------- | ------------------------ | --- | --- |
| PCF8563/HYM8563 | Real-time clock | ✔️ | ❌ |
| PCF85063 | Real-time clock | ✔️ | ❌ |
| QMI8658 | IMU | ✔️ | ✔️ |
| BHI260AP | IMU | ✔️ | ✔️ |
| QMC6310U/N | Magnetic Sensor | ✔️ | ❌ |
| QMC5883P | Magnetic Sensor | ✔️ | ❌ |
| BMM150 | Magnetic Sensor | ✔️ | ❌ |
| XL9555 | I/O expander | ✔️ | ❌ |
| BMA423 | Accelerometer | ✔️ | ❌ |
| DRV2605 | Haptic Driver | ✔️ | ❌ |
| CM32181 | Ambient Light Sensor | ✔️ | ❌ |
| LTR553 | Light & Proximity Sensor | ✔️ | ❌ |
| FT3267 | Capacitive touch | ✔️ | ❌ |
| FT5206 | Capacitive touch | ✔️ | ❌ |
| FT6206 | Capacitive touch | ✔️ | ❌ |
| FT6236 | Capacitive touch | ✔️ | ❌ |
| CST820 | Capacitive touch | ✔️ | ❌ |
| CST816S/T/D | Capacitive touch | ✔️ | ❌ |
| CST226SE | Capacitive touch | ✔️ | ❌ |
| CHSC5816 | Capacitive touch | ✔️ | ❌ |
| GT911 | Capacitive touch | ✔️ | ❌ |
| CST9217 | Capacitive touch | ✔️ | ❌ |
| CST9220 | Capacitive touch | ✔️ | ❌ |
| GT9895 | Capacitive touch | ✔️ | ❌ |
| AW9364 | Led Driver (GPIO) | ❌ | ❌ |