Getting Started with the Arduino MKR GSM 1400

The Arduino MKR GSM 1400 is a learning and development board which contains the ATMEL SAMD21 micro controller, designed to integrate the core's low power-consumption and high performance with the Arduino's ease-of-use. The MKR GSM 1400 brings the Arduino Zero functionalities in the smaller form factor established by the Arduino MKR1000 adding the GSM (2G and 3G) connectivity to the Arduino platform.

The Arduino MKR GSM 1400 is programmed using the Arduino Software (IDE), our Integrated Development Environment common to all our boards and running both online and offline. For more information on how to get started with the Arduino Software visit the Getting Started page.

Please remove the black conductive foam from the MKR board pins before usage. If you don't remove it, the board may behave erratcally.

Use your Arduino MKR GSM 1400 with the Arduino IoT Cloud

This board is compatible with the Arduino IoT Cloud, where you can create IoT applications in a few simple steps. The cloud includes powerful features, such as building dashboards to monitor and control sensor networks, while making sure your data is secure.

Getting started is quick and easy, and requires just three simple steps:

  1. Create an Arduino Create account here.
  2. Download and install the Arduino Create plugin here.
  3. Go to Arduino IoT Cloud and start your journey through IoT!

Use your Arduino MKR GSM 1400 on the Arduino Web IDE

All Arduino boards, including this one, work out-of-the-box on the Arduino Web Editor, you only need to install Arduino Create Agent to get started.

The Arduino Web Editor is hosted online, therefore it will always be up-to-date with the latest features and support for all boards. Follow this simple guide to start coding on the browser and upload your sketches onto your board.

Use your Arduino MKR GSM 1400 on the Arduino Desktop IDE

If you want to program your MKR GSM 1400 while offline you need to install the Arduino Desktop IDE and add the Atmel SAMD Core to it. This simple procedure is done selecting Tools menu, then Boards and last Boards Manager, as documented in the Arduino Boards Manager page.

MKR Zero BrdMgrAdd

Here you can search Zero or MKR GSM to find the core. Click on its box and click on the install button. On the bottom bar of the window you can follow the download and install procedure, including the installation of the proper driver, needed by the operating system to use the board. For more information about cores, see the guide on installing additional Arduino cores.

Now that the SAMD Core is installed, you can connect the board to the computer using a standard USB cable. The very first time your computer may go through the new hardware installation process.

Select your board type and port

From Tools select the Board Arduino MKR GSM 1400

mkrgsm board

and then the Port that is labeled with the same name.

mkrgsm port

Open your first sketch

Go to File on the Arduino Software (IDE) and open the Examples tree; select 01. Basic and then Blink

This sketch just flashes the built in LED connected to Digital pin LED_BUILTIN at one second pace for on and off, but it is very useful to practice the loading of a sketch into the Arduino Software (IDE) and the Upload to the connected board.

Upload the program

Press the second round icon from left on the top bar of the Arduino Software (IDE) or press Ctrl+U or select the menu Sketch and then Upload.

UNO Upload

The sketch will be compiled and then uploaded. After a few seconds the bottom bar should show Done Uploading.

You have successfully set up your MKR GSM 1400 board and uploaded your first sketch. You are ready to move on with our tutorials and projects: choose your next destination below.

Tutorials

Now that you have set up and programmed your MKR GSM 1400 board, you may find inspiration in our Project Hub tutorial platform.

or have a look to the tutorial pages that explain how to use the various features of your board.

Here a list of tutorials that will help you in making very cool things!

GSM Web Client Send SMS Adding more Serial interfaces to SAMD microcontrollers

More examples on the following library pages:

  • MKR GSM - Use the GSM functionalities of your board

  • AudioFrequencyMeter - Sample an audio signal and get its frequency back

  • AudioZero - Play audio files from a SD card.

  • RTC - Real Time Clock to schedule events.

  • I2S - To connect digital audio devices together

Please Read...

In this section we have collected some information that is worth reading to use your MKR WAN 1300 board properly. Some behaviors differ from the Uno board and if you come from a former experience with that board, it is worth spending a few minutes reading through these notes. If this is your first board, we suggest you have a look at them anyway.

Operating Voltage

The microcontroller on the MKR GSM 1400 runs at 3.3V. Applying more than 3.3V on any pin will damage the board.

Serial ports on the MKR GSM 1400

The MKR GSM 1400 has a number of facilities for communicating with a computer or other microcontrollers. The USB connector exposes as a virtual serial port that can be controlled by writing and reading to the Serial object. Pins 13/14, instead, expose a Hardware serial port mapped to Serial1 object. Opening and closing the USB Serial port at a baud rate other than 1200bps will not reset the board. To use the serial monitor, and see what your sketch does from the beginning, you'll need to add few lines of code inside the setup(). This will ensure the board will wait for the serial port to open before executing the sketch: while (!Serial) ; Pressing the Reset button on the MKR GSM 1400 causes the microcontroller to reset as well as resetting the USB communication.

This interruption means that if the serial monitor is open, it's necessary to close and reopen it to restart the communication.

Drivers

On Windows, drivers are needed to allow the board communication. These drivers will be installed automatically when adding the core. On MacOS and Linux no driver is needed.

For more details on the Arduino MKR GSM 1400 , see the product page.

The text of the Arduino getting started guide is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the guide are released into the public domain.