/HM3301-idf

HM330x. Dust Sensor for ESP32 ESP-IDF Framework

Primary LanguageC++MIT LicenseMIT

ESP-IDF component for HM3301

HM3301

Datasheet of the HM3301 you can find in HM3301 Wiki. Our own PCB controller based on ESP32S3 with 2MB PSRAM is available in our Tindie store

Based on Seeed Arduino library for HM330x

Heavily inspired in Tomoto version for Arduino

Licensed with MIT, please copy it, and make it better!

Requirements

ESP-IDF >= v.4.4 An additional component that is a wrapper of i2c, called i2cdev, that is just 2 files and you can grab from the wiki: https://github.com/martinberlin/HM3301-idf/wiki

This come as an idea with our project epaper-weather-station because if you use RTC and other sensors, then it's silly to add to each of them their own I2C library! Just share one common wrapper and use it for all of them.

PRs are welcome if you find an error and want to correct something.

Martin Fasani, Barcelona

Fasani Corporation

November, 2022