-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
how to read i2c with esp32 NodeMCU scd30 co2 sensor #4525
Comments
Hi, |
Hi, thanks for response, I tried with the defaults ports scl/sda 22/21 with the same results. Thanks. |
Then please check connection. This sensor is nice, but is not easy to work with on breadboard.
|
Thanks for your support, I have managed to make it work in the GPIO12 and GPIO14 but I need to make it work between the next pins: A0, GPIO35, GPIO34, GPIO39, GPIO33, GPIO26, GPIO25 or GPIO32 because I have one az-touch and this are the pins availables for connect to the board. All combinations that I try doesn't work, why? it is posible make it work in this pins? Thanks for all. |
Now its working in the GPIO25 _EMAC_RXD0 and GPIO26_EMAC_RXD1. Thanks for your support |
pins >33 are input only. https://github.com/espressif/arduino-esp32#esp32dev-board-pinmap |
Thanks! |
What you are trying to do?
I'm trying to read a scd30 sensor with a esp32 nodeMCU
Describe your system( Hardware, computer, O/S, core version, environment).
Esp32 nodeMCU programmed with ArduinoIDE and sensirion scd30 co2 sensor
Describe what is failing.
When I run the sketch in the board it doesn't work, the board doesn't do anything and the serial monitor is empty but the scd30 power supply it's on, I can see the infrared ligth. I run the same skecth in arduino without problems.
Show the shortest possible code that will duplicate the error.
The error is general, the board doesn't work.
Hardware:
Board: ESP32 nodeMCU
IDE name: Arduino IDE
Flash Frequency: 80Mhz
PSRAM enabled: no
Upload Speed: 115200
Computer OS: Windows 10
Sketch:
connections
The text was updated successfully, but these errors were encountered: