Lab 1A
Objective
Lab 1A introduced the Arduino IDE and Artemis board. To get familiar with programming my board, I completed tasks like controlling the LED, reading/writing serial messages, and using the temperature sensor and microphone.
Blink
I used example code to blink an LED.
Serial
I used example code to test serial communication. I was careful to make sure that the code’s and serial monitor’s baud rates matched.
AnalogRead
The Artemis board has an analog to digital converter (ADC) that converts voltage into a digital signal. Using the analogRead() function, I received data from the board’s temperature sensor. From the video, we can see that the temperature sensor works because the values being recorded rise when I heat up the chip with my hand.
Microphone Output
I tested the board’s microphone by playing a concert A and concert C note to see if the board would pick up different frequencies. As shown in the video, it was able to.