Dear all,
Apparently I ran into an 3.3V power issue when powering the Nano via USB and use the Serial.printLn() function for debug output.
I developed the Sketch for a Arduino UNO wifi rev 2, it works well on that device but I needed more resources and switched to the Nano 33 IOT what works quite well beside this issue here.
I connected a sensor via I2C but see that the 3.3 V power supply shows a lot of noise... but only if I have the „serial monitor“ window of the IDE open. Without that, the 3.3V power appears to be much mor stable...
So the setup is:
-
Arduino Nano 33 IOT +seeed nano base shield with grove connector for I2C + Seeed RGB Sensor with I2C interface and (Short) cable
-
Sketch is quite large, used WIFI and a sensor connected via I2C.
-
WIFI is constantly connected.
-
Sensor is read every second.
-
Some processing of data is going on.
-
No specific power saving mechanisms implemented.
-
connected and powered via USB (USB Hub with separate power supply, tested also directly with PC)
-
IDE is 1.8.13
Test... Protocol...:
-
no Changes done to use the Sketch crated for an UNO WiFi rev2 on a Nano 33 IOT
-
Sketch is compiled and loaded to the Nano
-
„serial monitor“ window of IDE is closed
-
reset Nano
-
=> 3.3V Power seems to be OK
-
=> Nano works as expected (SKetch running, WIFI connection established, no Idea if the sensor read works)
-
open „serial monitor“ window in IDE
-
=> 3.3V Power becomes extremely noisy
-
=> WiFi and Sketch still running
-
=> „serial monitor“ window in IDE showing serial debug output and shows that the sensor read does not work, probably due to 3.3V VCC noise measured on the Sensor.
-
close „serial monitor“ window in IDE
-
=> 3.3V Power is still extremely noisy
-
reset Nano
-
=> 3.3V Power seems to be OK
-
=> Nano works as expected (SKetch running, WIFI connection established, no Idea if the sensor read works)
Question:
Anny Suggestions what might be the cause of this and/or how to fix it?