My first day with an Arduino MKR GSM 1400

I have a project in mind that needs internet connectivity but I won’t have access to WiFi so when I saw the Arduino MKR GSM 1400 with it’s GSM capability I thought I could use it to send my data over 3G.

Before I get to trying anything like that this is my experience using it for the first time.

Where do I put the SIM Card

I already had a SIM Card from GiffGaff to use I just needed somewhere to put it.

Spoiler alert: it’s on the bottom.

The bottom of the Arduino MKR 1400 with the SIM card slot on the right

The bottom of the Arduino MKR 1400 with the SIM card slot on the right

I was looking at the board still stuck in the soft foam and couldn’t for the life of me find the SIM card slot until I turned it over.

First Sketch

As you’d expect there is all the information you need to know about getting started on the Arduino website.

I followed the instructions and had the classic blink sketch up and running in seconds.

Second Sketch

I found a simple sketch that uses the GSM library to send a message. But that gave me the following warning

WARNING: library {0} claims to run on {1} architecture(s) and may be incompatible with your current board which runs on {2} architecture(s).

This was caused by including GSM.h rather than MKRGSM.h

From there I went to the MKRGSM Library page which has some useful examples including one to send an SMS message.

The sketch uploaded sucesfully but it got stuck on connecting.

I swapped the new SIM card for the one I use in my phone and that one worked. So I tried the new SIM card in a phone and it worked fine. I put the new SIM back into the Arduino and tried the sketch again, and still no joy using the new SIM card.

The top SIM does not work in the MKR 1400 but the bottom one does

The top SIM does not work in the MKR 1400 but the bottom one does

Going Forward

Overall the board was quick and easy to get going with. The hardest part is going to be figuring out why the SIM card isn’t working in it. Hopefully I can sort that and then get on with utilising the board in some projects.

 

This entry was posted in Arduino and tagged . Bookmark the permalink.

4 Responses to My first day with an Arduino MKR GSM 1400

  1. Istvan Grepaly says:

    Hi,

    I am struggling to get MKRGSM working. Did you managed to figure out why one SIM is working and the other not?

    Did you have to attache any lipo battery or power form USB was enough to send SMS.

    Many thanks in advance,

    Istvan

  2. ian says:

    Hi Istvan,

    I haven’t figured out the SIM problem yet. I need to get more familiar with the functions available to the board so I can pinpoint where the problem is occuring. E.g. can it detect the SIM at all or is the problem when connecting to the network.

    So far I have just been using power via a USB cable.

    Thanks

    Ian

  3. Jo says:

    Ian did you figure it out? I am also struggling with getting the sim card to work.
    The program hangs on gsmAccess.begin(PINNUMBER)
    Thanks Jo

  4. ian says:

    Hi Jo,

    I haven’t had any proper time to look into it further.

    I did speak with a friend who gave a couple of suggestions which I’m yet to try

    1. Try putting the SIM in a phone and making a call to ensure it is completely active
    2. Is it because the SIM I have can be made into a Nano SIM and this is somehow stopping the connection from working

    What I really need to find a way of debugging is wether the SIM can be detected at all or is it being blocked at the network level.

    Thanks

    Ian

Leave a Reply

Your email address will not be published. Required fields are marked *