MKR IoT Carrier does not connect to sensors

Hi!

I require your help regarding a problem I’m encountering.

The MKR IoT Carrier that came with my Arduino IoT explore kit is having trouble connecting to sensors. I have completed Activity 1 of the kit, but whenever I disconnect and reconnect my board via USB, the serial output says:

19:56:33.680 -> Error detected!
19:56:33.680 -> Pressure sensor is not connected!
19:56:33.680 -> Environmental sensor is not connected!
19:56:33.680 -> Air quality sensor is not connected!

It usually works on a fresh upload but occasionally cannot connect to the pressure sensor.

Hardware concerned:

MKR1010 WiFi Board & MKR IoT Carrier

Software concerned:

Arduino IDE 2.0.3
Windows 11
My code: https://pastebin.com/wwMPQPJb

Troubleshooting steps already taken:

I have tried calling .begin() on the sensor classes of the carrier in the setup function to avail. I have tried including a longer delay between the serial connection and calling carrier.begin().

Additional information:

For some reason, the LED_BUILTIN does not blink using the Arduino Blink sketch when my IoT carrier is connected, but blinks fine when the board is solo. I am not sure if this is related to the issue with sensors or not, but I’d also like to understand why that’s happening.

Thank you so much in advance for your help!

1 Like

Hi @linguini1 and welcome to the forum :slight_smile:

If you still haven’t solved this problem, I would recommend posting about in on Arduino forum https://forum.arduino.cc/ and they should be able to help quickly.

Thank you.