Lab 1 - The Artemis Board
Parts Needed:
- 1 x SparkFun RedBoard Artemis Nano
- 1 x USB A-to-C cable
- 1 x Li-Ion 3.7V 500mAh battery
Video and Code Demonstration:
- Blink it up: the following video shows the board blinking its builtin LED.
- Serial: the following video shows the working Serial port.
- AnalogRead: the following video shows that the board’s temperature increases after hot hair is blown onto it.
- MicrophoneOutput: the following video shows that the highest frequency changes as I speak!
- Whistling: I added a loop in the previous code file to blink the board when it hears a whistle.
if (ui32LoudestFrequency > 2500) { digitalWrite(LED_BUILTIN, HIGH); Serial.printf("WHISTLE\n"); } else { digitalWrite(LED_BUILTIN, LOW); }
This video shows that the board blinks when a whistle is detected.
This video shows that the above still works when the board is unplugged from the computer (using battery).