-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: no readings from air quality sensor 🐛 #327
base: master
Are you sure you want to change the base?
Conversation
Hello, Indeed lost whole day fighting with it, still no success, any clues someone? |
Hi, Are you able to read at least the temperature and humidity ? If that's the case then you should be able to read all the other values by using my code If you're not able to get temp and humidity then you probably have the wrong drivers, I believe there are drivers for sht 20 and 30 but the documentation is pretty obscure |
Hi,No, exactly I have issues with temperature and humidity this ENV.h is mysterious I just skiped that for now and maybe plan to use other library.Again thanks for your work! |
btw this should be merged to master |
I think that drivers for sht are in the ENV.h? or there's only definition of sht model. I will try to make it working and share :) |
This is the include I used : #include "DFRobot_SHT20.h" DFRobot_SHT20 sht20; I can share the content of DFRobot_SHT20.h if needed I don't have access to the M5Stack modules anymore since it was a school projet, but I made it work using SHT20 include instead of SHT30 |
I forked my working school project and made few adjustments so that you should be able to display the M5Stack readings : https://github.com/Theo-Miquet/M5_Stack_LoRa_Communication/tree/sensor_with_display Unfortunately, as I mentionned earlier, I have no way to test this since I do not have access to the M5 modules anymore, I hope it works on your end ! |
Great this is everything I needed to know, already I made a good use of this code as im especially interested in testing laboratory enviroments and with this I can detect particles as small as 0.3um which is roughly size of bacteria and any biological contamination. |
PM25 module could not read from the air quality module, I fixed it to make it work again.