Open melzai opened 6 years ago
hi melazi
no with the ESP32 I had never a problem.
I've found a small SDS011-library https://github.com/ricki-z/SDS011
so you could test the SDS011 alone (I've never used that lib).
If you have a separate serial/USB adapter you could also read the vales from/to the SDS011 with an other terminal program (do not connect Vcc from the adapter, only GND, Rx, TX)
good luck
urs
Gesendet: Freitag, 09. November 2018 um 21:35 Uhr Von: melzai notifications@github.com An: urs8000/Feinstaub_LoRa_SDS011_DHT22 Feinstaub_LoRa_SDS011_DHT22@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Betreff: [urs8000/Feinstaub_LoRa_SDS011_DHT22] ESP32 + SDS011: only zeros (#1)
Hej Urs, thanks for your code. I am testing a very similar setup at the moment with an ESP32, SDS011 and the DHT22. While DHT22 works fine with the DHT library for the ESP32 and we were successful to couple it with Blynk, I was not able to get readings from the SDS011. The Debug output instead returns zeros when summing up the readings over time. My SDS is connected to the ESP32 to 5V VIN, GRND, T to R and R to T. It does not seem to shut down but loops through the proper code. Have you ever experienced such a phenomenon? The sensor works fine with an Arduino by the way but the wireless shield for the Arduino is too unstable to send out data - so no easy way out here.
Thanks for your help. melzai
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hej Urs, thanks for your code. I am testing a very similar setup at the moment with an ESP32, SDS011 and the DHT22. While DHT22 works fine with the DHT library for the ESP32 and we were successful to couple it with Blynk, I was not able to get readings from the SDS011. The Debug output instead returns zeros when summing up the readings over time. My SDS is connected to the ESP32 to 5V VIN, GRND, T to R and R to T. It does not seem to shut down but loops through the proper code. Have you ever experienced such a phenomenon? The sensor works fine with an Arduino by the way but the wireless shield for the Arduino is too unstable to send out data - so no easy way out here.
Thanks for your help. melzai