Closed Pedrocuberos closed 2 years ago
What board do you have the SCD30 connected to?
I am using the Arduino Uno Nano 33 IoT - The wifi module is the Nina W102
I apologize, I closed the issue by mistake... I'm new to this.
Unfortunately I don't have one of those on hand to test at the moment.
To be clear, you can run the example 1 without issue? But board resets when you turn on WiFi? Sounds like a power issue.
The SCD30 itself will draw ~75mA during measurement:
This is not a library issue. I suspect the Arduino BLE board is browning out when the NINA turns on to transmit. I recommend making sure your power supply can tolerate the surges in current, then measuring the board's VCC over time to verify the 3.3V supply is not dropping. Sorry, I can't be more help.
Thanks for the support. I am not clear why this is a power issue if I see other people have successfully connected this to the Blynk app and server using the same wiring configuration and powering this from a USB port
I am trying to get readings from the board and when doing it on IDE, I can perfectly read and print the values. However, when trying to do the same on the Arduino IoT Cloud the board starts connecting and disconnecting from the USB port. At the same time, the board loses connectivity to WiFi so I have to restore the board before trying to load code again.
And this is the piece of code that creates the issue
Could you please help me? I am losing my mind here.