Skip to content

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

License

Notifications You must be signed in to change notification settings

anasvag575/SHT21_DRIVER_STM32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published