-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[BUG] ESPEasy work with SDS011 only in hardware serial mode. #5168
Comments
Did you double-check the RX/TX pins? Wouldn't be the first time those are configured backward... 🤔 NB: This would have been a question for the Support forum |
Also gpio 4 & 5 on ESP8266 are by default set to the I2C bus. |
yes, i checked it many times. |
i've got PCB for this project, but want to use espeasy instead of airRohr firmware. |
Has this sensor been used with other firmwares? Not 100% sure what it is what Tasmota changes, but it could be some sleep setting... Ton did mention you might also need to double check the RX and TX (or simply swap the defined pins when using Software Serial) as it is quite easy to make this mistake as you need to connect the RX of the ESP to the TX of the board and vice verse. Not sure if there is a 'beta' ESPEasy build available for ESP8266 which has this plugin included. If there is, you could also try that one as it is using a different version of the SW serial library. |
my HW esp8266 use sht30 via i2c on:
sda gpio0
scl gpio2
and SDS011 soldered to
sds tx-esp gpio5
sds rx-esp gpio4
if i choose this GPIOs in configuration sensor never began to run.
when i solder sensor to GPIO13 and use hardware serial remapped to this GPIO it works fine.
this way:
so i guess the problem in software serial.
tried ESPEasy_mega_20240822_ESP82xx_binaries.zip
and older ESPEasy_ESP82xx_mega-20221224.zip, ESPEasy_mega-20180126.zip
The text was updated successfully, but these errors were encountered: