Skip to content

A library for interfacing to Honeywell HPM air quality sensor from an STM32 microcontroller

License

Notifications You must be signed in to change notification settings

martincwilliams/stm32hpmlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stm32hpmlib

A library for interfacing to Honeywell HPM particle sensor from an STM32 microcontroller

This library has been written to interface specifically with the HPMA115S0-XXX particle sensor, but may work with other models.

The library supports the following commands and responses:

  • Read Particle Measuring Results
  • Start Particle Measurement
  • Stop Particle Measurement
  • Set Customer Adjustment Coefficient
  • Read Customer Adjustment Coefficient
  • Stop Auto Send
  • Enable Auto Send

The library does not (yet) support:

  • Auto send data

Note: the file stm3232hpmlib.c includes the STM32 HAL header file for the specific microcontroller model, and this should be updated as necessary.

Use

Call hpmSetUart() with a handle to the UART peripheral to use.

About

A library for interfacing to Honeywell HPM air quality sensor from an STM32 microcontroller

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages