MKRIoTCarrier not Powering using Battery

Hi everyone,

I am trying to use the MKR Wan 1310 together with MKRIoTCarrier. First of all, the IoTCarrier will not run on Battery Power (Yes the cable is connected) Second, i can't seem to get the MKRWan Library to work even just the include (#include <Arduino_MRKIoTCarrier.h>) throws Error messages:

Bibliothek Arduino_MKRIoTCarrier wurde als vorkompiliert angegeben:
Benutze vorkompilierte Bibliothek in C:\Users\a00539363\OneDrive - ONEVIRTUALOFFICE\Documents\Arduino\libraries\Arduino_MKRIoTCarrier\src\cortex-m0plus
C:\Users\a00539363\OneDrive - ONEVIRTUALOFFICE\Documents\Arduino\libraries\Arduino_MKRIoTCarrier\src\Arduino_MKRIoTCarrier.cpp: In member function 'int MKRIoTCarrier::begin()':
C:\Users\a00539363\OneDrive - ONEVIRTUALOFFICE\Documents\Arduino\libraries\Arduino_MKRIoTCarrier\src\Arduino_MKRIoTCarrier.cpp:34:11: error: 'AREF_PIN' was not declared in this scope
   pinMode(AREF_PIN,INPUT_PULLUP);
           ^~~~~~~~
C:\Users\a00539363\OneDrive - ONEVIRTUALOFFICE\Documents\Arduino\libraries\Arduino_MKRIoTCarrier\src\Arduino_MKRIoTCarrier.cpp:34:11: note: suggested alternative: 'SCK_PIN'
   pinMode(AREF_PIN,INPUT_PULLUP);
           ^~~~~~~~
           SCK_PIN

exit status 1

Compilation error: exit status 1

I would be very thankful if someone could help me out here :smiley:. Thanks!

Depending on the version of the carrier you have, try different versions of the "Arduino_MKRIoTCarrier" library from version 1.0.2 upwards.

Hello,

Thanks for your answer. I have since fixed the issue myself. For anyone stumbling about this post: The issue was, that the Definitions in the library are only written for The MKR Wi-Fi (at least that's what I understood) Anyway just do whats listed here: MKR IOT Carrier + MKRWAN 1310 and you are good to go.

But there is still the issue, that the carrier will not run on battery power. As I have said, i plugged the cable in but it remains off. over cable it works fine.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.