MicroMod All The Pins (ATP) Carrier Board

Pages
Contributors: bboyho, Elias The Sparkiest
Favorited Favorite 0

Arduino Example

Note: If this is your first time using Arduino IDE or board add-on, please review the following tutorials.

There are quite a lot of peripherals broken out on the MicroMod ATP Carrier Board. Depending on the design of the Processor Board, not all of the pins may be broken out. For simplicity, we will upload a blink sketch to get started.

Blink

Note: Make sure that for whatever processor board you choose, you have the correct board definitions installed. Go to our MicroMod Processor Boards landing page, find your processor board, and head on over to that tutorial for help installing your board definition.

Now that you have a Processor Board secure in the Carrier Board, let's upload a simple blink sketch to the board. Copy and paste the following code in the Arduino IDE. Head to Tools > Board to select the correct board definition (in this case, SparkFun MicroMod SAMD51. Select the correct COM port that the board enumerated to. Hit upload.

language:c
/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.

  This example code is in the public domain.
*/

// Pin 13 has an LED connected on most Arduino boards.
// give it a name
// uncomment the following lines if the macro is not defined for your architecture
//#define LED_BUILTIN 13 //Artemis, SAMD51
//#define LED_BUILTIN 5 //ESP32

// the setup routine runs once when you press reset:
void setup() {
  // initialize the digital pin using the built-in macro as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

After uploading, you should see the Processor Board's LED blink. If not, make sure that to define the pin and check your connections.

What's next? Try building a circuit using the design files and associated tutorial for your Processor Board more information. Keep in mind that while each Processor Board uses the same MicroMod interface pinout, each board may have different specifications, software support, and peripherals available for the architecture.

MicroMod Artemis Processor Board Hookup Guide

Get started with the Artemis MicroMod Processor Board in this tutorial!

MicroMod SAMD51 Processor Board Hookup Guide

This tutorial covers the basic functionality of the MicroMod SAMD51 and highlights the features of the ARM Cortex-M4F development board.

MicroMod ESP32 Processor Board Hookup Guide

A short hookup guide to get started with the SparkFun MicroMod ESP32 Processor Board.