The RedBoard Artemis Nano is a versatile, Arduino-compatible development board that integrates the powerful Artemis module from SparkFun. This compact board is designed for a wide range of applications, from wearable devices to IoT projects, thanks to its built-in Bluetooth Low Energy (BLE) and USB-C connectivity. Its small form factor makes it ideal for projects where space is at a premium.
Pin Number | Function | Description |
---|---|---|
1 | GND | Ground |
2 | 3.3V | 3.3V power supply |
3 | A0 | Analog input 0 / Digital I/O / PWM |
4 | A1 | Analog input 1 / Digital I/O / PWM |
5 | A2 | Analog input 2 / Digital I/O / PWM |
6 | A3 | Analog input 3 / Digital I/O / PWM |
7 | D2 | Digital I/O / PWM |
8 | D5 | Digital I/O / PWM |
9 | D6 | Digital I/O / PWM |
10 | D9 | Digital I/O / PWM |
11 | D10 | Digital I/O / PWM / SPI SS |
12 | D11/MOSI | Digital I/O / PWM / SPI MOSI |
13 | D12/MISO | Digital I/O / PWM / SPI MISO |
14 | D13/SCK | Digital I/O / PWM / SPI SCK |
15 | RX1 | UART Receive |
16 | TX1 | UART Transmit |
17 | SDA | I2C Data |
18 | SCL | I2C Clock |
19 | RST | Reset |
20 | GND | Ground |
21 | USB | USB-C Connection |
Here's a simple example of how to blink an LED connected to pin D2 of the RedBoard Artemis Nano using the Arduino IDE:
// Define the LED pin
const int ledPin = 2;
void setup() {
// Initialize the LED pin as an output
pinMode(ledPin, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(ledPin, HIGH);
// Wait for a second
delay(1000);
// Turn the LED off
digitalWrite(ledPin, LOW);
// Wait for a second
delay(1000);
}
Remember to select the appropriate board from the Arduino IDE's board manager before uploading the sketch. This code will toggle the LED on and off, creating a blinking effect.
For more advanced usage, including BLE functionality, refer to the SparkFun Artemis module documentation and libraries.