-
Notifications
You must be signed in to change notification settings - Fork 8
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
WDT reset and CCS811 initialization fails #5
Comments
Hey Eugen, I could not reproduce your behaviour. To my knowledge this is by 90% a power issue. Could you verify your power source? Another possibility could be a faulty ESP. Do you have a second board to test? Cheers, |
Hi Patrik, I have two identical NodeMCUs and both are getting the same WDT reset. Today I tried to power the MCU trough the VCC pin with a dedicated 5V 2A power adapter. But still the same WDT reset after a few minutes. My next try will be a professional power supply (where I can set voltage and amps separately) to power the MCU and the two sensors separately with 3.3V. This is my first project where I have more than one device on the I2C bus. This never happend with only one sensor. Could you also please tell me where to place the pull-ups. Thank You! |
Oh, hi from Hessen then :-) I don't know which DC-DC-Converter the NodeMCU uses and if it can provide power fast enough in voltage peaks. I had no success with different ones which delivered 3.3V directly. Currently I have good resulst with an AP2112k. For the pullups, jusst connect 4k7Ω or 10kΩ between VDD and SDL/SDA. Explained here: https://www.edn.com/design/analog/4371297/Design-calculations-for-robust-I2C-communications. The Rp resistors... Cheers! |
Hi there, I have been unsuccessful to get a CJMCU ccs811, that’s the one with the pink PCB, to work with any ESP8266. The reason seems to be that it uses I2C clock stretching which is not supported on these. I tried an ESP32 and it worked right away. |
Hi,
I have a very strange behavior on my NodeMCU.
Everything is connected the right way so I2C scanner is seeing both sensors.
My BMP280 is not a SparkFun one. It's a chinese one with address 0x76 (changed that in the code). It already worked for me some hours but then stopped.
Right now I'm stuck with this resets:
I added some lines of code because I wanted to calculate an Air Quality Value for Homebridge (String: GOOD, BAD, POOR, ...) but this was also before it stopped working.
I don't know where i made the mistake.
I have no pullups (I know it is recomended) but I haven't found out so far where to place them and how big the need to be (10k?). Sorry, I'm new to this and trying to find out by myself. Had no luck so far.
Here is the code:
Could someone please point me in the right direction?
Great work! Thank you for that!
Eugen
The text was updated successfully, but these errors were encountered: