opendata-stuttgart / sensors-software

sourcecode for reading sensor data
572 stars 310 forks source link

ADD More sensors BME680 and HM3301 #808

Open julienrat opened 3 years ago

julienrat commented 3 years ago

Hi ! Is it possible to add BME680 and HM3301 in available sensors ? And if you don't have the time, how to add new sensors ? Thx in advance !

https://github.com/Seeed-Studio/Seeed_PM2_5_sensor_HM3301

https://github.com/adafruit/Adafruit_BME680

dirkmueller commented 3 years ago

see #411 for BME680. I started to look at it (I have a sensor myself), but the air quality sensing part is unfortunately closed source and I wasn't able to find reliable information on how to reimplement that in open source without violating some trademark somewhere. I think the sensor is far too expensive to make it just a drop in for a BME280, without gas it makes no sense.

HM3301 sounds interesting, any idea how reliable the data quality is ? It might be a similar design to the sensors we support already (which means it is susceptible to the same flaws potentially)

julienrat commented 3 years ago

Hi ! I have made a quick and dirty lib for HM3301 sensor !

[H3301_dust_i2c.zip](https://github.com/opendata-stuttgart/sensors-software/files/5378819/H3301_dust_i2c.zip)

pjgueno commented 3 years ago

The main code is quite modular, you can check how it works and add the HM3301 in it. Actually someone at the CNAM in Paris made a working version of the firmware with the HM300, which should be quite similar. DM me. I can maybe put you two in touch.

julienrat commented 3 years ago

Hi ! the major interest (beyond the fact that it works in I2C) of this sensor is that it can work in 3.3v, a perfect voltage for an esp!

More infos : https://wiki.seeedstudio.com/Grove-Laser_PM2.5_Sensor-HM3301/