Lab 1: Setting Up The Artemis Board

January 25, 2023
work-single-image

THE ARTEMIS

The Artemis board can be found here.

INTRODUCTION

The main goal of Lab 1 was to become acquainted with the microcontroller that would be used for the duration of the class, the Artemis. By using the built in example functions and the helpful guide for installing the necessary libraries and support, I was able to sucessfully execute basic scripts on the Artemis.

SETUP

In order to prepare for this lab, all that I needed to do was install Arduino IDE 2.0.3. using the instructions I found here I was able to download and implement board support for the Artemis nano on Arduino IDE.

I had an additional problem where my board was not being recognized by my computer. The lab TA's were very helpful in resolving this issue and it was discovered that I needed to install an additional driver found here.

INSTRUCTIONS

By installing the new drivers, my device could now recognize the port for the Artemis board. Following the lab instructions, I opened and uploaded the Blink.ino file to my board to ensure proper connectivity and functionality. To do this I went under File > Examples > Built-in Examples > 0.1 Basics > Blink.

SERIAL COMMUNICATION

Similar to the blink file, all I needed to do to test the serial communcation to the board was go under File > Examples > Examples for RedBoard Artemis Nano > Apollo3 > Example04_Serial. Using this built-in code, I was able to ensure that my Artemis could send and receive information through Serial communication. Additionally, I had to change the Baud rate on my terminal to match the 115200 needed in order to see the communication.

ANALOG READ

Next up was testing the on-board temperature sensor. To do this I used the Example02_AnalogRead.ino file from File > Examples > Examples for RedBoard Artemis Nano > Apollo3 > Example02_AnalogRead. I observed the starting temperature to be around the range of 32000, but when I put my hand on it, the number increased to the 33500 value range. This observed change proved the sensors functionality worked as intended.

MICROPHONE

The final feature to be tested was the on-board microphone. I utilize the pre-written file Example1_MicrophoneOutput under the path File > Examples > Examples for RedBoard Artemis Nano > PDM > Example1_MicrophoneOutput. This program returns the loudest frequency heard by the microphone and by whistling three times I test the accuracy and responsiveness of the sensor. Each whistle decreases in pitch and as a result the loudest frequency decreases.

CONCLUSION

The Reboard Artemis nano has many interesting features that I've ensured work. This lab helped me familiarize myself with the micro controller and the debugging process. I'm very excited to work with this board to complete the various other labs this semester.

Other Labs

LAB 2: Bluetooth

Connecting the Artemis to an off-board computer

Lab 3: Time of Flight

Implementing and Testing Time of Flight Sensors

Lab 4: The IMU

Connecting the artemis to reality.

Lab 5: Motor Control

Moving forward among other directions.