anasvag575 / SHT21_DRIVER_STM32

Driver implemented in C for SHT21 using ST's STM32F401RE Nucleo board.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SHT21_driver_stm32

Simple driver implemented in C for SHT21 using ST's STM32F401RE Nucleo board.

SHT21 is a temperature and humidity sensor. The I2C bus is used to communicate with it.

The pin configuration is as follows:

  • VCC - Supply
  • GND - Ground
  • SCL - I2C Clock
  • SDA - I2C Data

Folders:

  • /Driver_code folder for the driver implementation source code and more details.
  • /SHT21_example folder there is an example that can be ported directly to STM32IDE.
  • /Doc has the main manuals used for the SHT21 and images for the Readme.

For now the current operations are supported:

  • Read/Write operations on the I2C bus (generalised)
  • Reading values from the temperature/humidity sensor
  • Verify correct data reception (CRC check)

About

Driver implemented in C for SHT21 using ST's STM32F401RE Nucleo board.

License:GNU General Public License v3.0


Languages

Language:C 98.5%Language:C++ 1.3%Language:Assembly 0.2%