During my experiments with Azure Sphere I wrote, ported or created wrappers for a few various I2C sensor drivers. If you plan to use some of those sensors in your project, feel free to use libraries included below.
Drivers are organized into Visual Studio libraries which can be simply added into your project without polluting your main project directory with more files. Every driver also includes an example of its use in a real Azure Sphere application.
All drivers were updated to OS 19.09 Target API 3. They are also usable with OS 19.07, you just have to change Target API to "2+Beta1905" in project properties.
Since I was learning about coding for Azure Sphere at the same time, please excuse varying quality of some of those drivers. Pull requests are welcome.
You can also use my I2C scanning tool when connecting those sensors to Azure Sphere Starter Kit.
| Sensor | Library |
|---|---|
| CCS811 (Air Quality 3 Click Board) | https://github.com/jgroman/azsphere_lib_ccs811 |
| HDC1000 (HDC1000 Click Board) | https://github.com/jgroman/azsphere_lib_hdc1000 |
| APDS9960 | https://github.com/jgroman/azsphere_lib_apds9960 |
| MLX90614 | https://github.com/jgroman/azsphere_lib_mlx90614 |
| LPS22HH (Onboard) | https://github.com/jgroman/azsphere_lib_lps22hh |

Top Comments