Lab 1

Artemis Nano

Date: January 26th, 2022

Objectives

  1. Set up the SparkFun RedBoard Artemis Nano
  2. Complete some basic tasks to get familiar with and ensure proper functionality of the Artemis Nano

Components

  • 1 x SparkFun RedBoard Artemis Nano
  • 1 x USB-C to USB-C cable

Procedure

  • I installed the Arduino Core for Apollo3 on the Arduino IDE
    • Instructions for the installation are here
    • Then I connected the Artemis Nano to my laptop using the USB-C cable
  • Blink Example
    • I uploaded File > Examples > 01.Basics > Blink from the Arduino IDE to the Artemis Nano which turns the LED on and off for 1 second.
  • Serial Monitor Example
    • I uploaded File > Examples > Apollo3 > Example04_Serial which prints 9 lines of formatted strings, and then I typed a test phrase into the serial monitor to demonstrate the “echo” function.
  • AnalogRead/Temperature Example
    • I uploaded File > Examples > Apollo3 > Example02_AnalogRead.
    • I changed the example code to only output the raw ADC (analog to digital converter) counts from the temperature sensor for ease of reading the output
    • I commented out the other print statments and added the following code
      Serial.printf("Temperature: %d\n", temp_raw);
      

You can see the temperature increase when I put my hand around the Artemis Nano and then decrease when it’s placed up against the cold window (it was 3°F outside!).

  • Pulse Density Microphone Example
    • I uploaded File > Examples > PDM > Example1_MicrophoneOutput.

I used an online tone generator on my phone to play a frequency at 440 Hz. You can see the microphone picks up a value that’s close to that frequency.