This is a collection of drivers and utilities designed for the STM32 microcontroller series based on the STM32 HAL (Hardware Abstraction Layer) library. You are welcome to contribute to this list by adding awesome implementations through a pull request.
- BMP180 / BMP280: Digital temperature and pressure sensor
- MPU6050 : gyroscope and accelerometer sensor with a total of 6 axes
- MPU9250 / ICM-20948 : gyroscope, accelerometer, and magnetometer sensor with a total of 9 axes
- MLX90614 :non-contact infrared temperature sensor. Another implementation is also available here
- SHT2X / SHT3X : digital temperature and humidity sensors
- SHT4X : The newest digital temperature and humidity sensor. There is no exact implementation for STM32 HAL, but this implementation can be used as a backbone for implementation.
- LIS2MDL : 3-Axis magnetic field sensor. Platform independent driver is bundled.
- INA226 : Voltage, current and power measurement IC
- TMP75 : Board mount temperature sensor
- MCP9803 : Digital temperature sensor
- VL53L0X : ToF (Time of Flight) distance measurement sensor
- ADS1115 : 16-bit 4 channel i2c analog-to-digital converter ic
- ADS7828 : 12-bit, 8 channel SAR i2c analog-to-digital converter ic
- MCP4725 : 12bit i2c digital-to-analog converter ic
- PCA9685 : 12-bit pwm driver
- PCF8574 : 16-bit digital io expander
- SI5351A : I2C based frequency generator
- SSD1306 : An OLED display having i2c and spi interface. This library is also compatible with SH1106, SH1107, SSD1309
- ST7735 : A TFT LCD display driver
- SSD1351 : A Color OLED display
- ili9341 : A TFT LCD display with touchscreen feature
- I2CLCD : 16x2 character lcd display sample project which is driven with PCF8574 IO module
- EtherCAT slave : There is an example using LAN9252 hardware
- Modbus : There is freertos required implementation which supports RTU/TCP and, freemodbus port implementation that freertos is not mandatory. PyModbus would be great option to test modbus hardware.
- min : Serial communication protocol across microcontrollers which bundle python listener.
Please feel free to contribute to this repository by submitting a pull request with your awesome implementation. However, note that these libraries have not been verified and may require porting to your own hardware.