The SparkFun SAMD51 Thing Plus is a versatile development board centered around the Microchip ATSAMD51J20, a high-performance ARM Cortex-M4F microcontroller. This board is an excellent choice for projects requiring significant processing power, low power consumption, and multiple connectivity options. It is suitable for a wide range of applications, from rapid prototyping to final product integration, including IoT devices, wearables, and complex control systems.
Pin Number | Function | Description |
---|---|---|
1 | GND | Ground |
2 | 3.3V | 3.3V power supply |
3-8 | Digital I/O | General-purpose input/output |
9 | AREF | Analog reference voltage for ADC |
10-15 | Analog Input | Analog input channels for ADC |
16-21 | PWM | Pulse Width Modulation output capable pins |
22-27 | Communication | I2C, SPI, UART pins |
28 | Reset | Reset pin (active low) |
29 | USB | USB-C connector for programming and power |
30 | Qwiic | Qwiic connector for I2C devices |
Powering the Board:
Programming the Board:
Connecting Peripherals:
Q: Can I power the board with 5V? A: No, the board operates at 3.3V. Applying 5V to the 3.3V pin can damage the board.
Q: Is the SAMD51 Thing Plus compatible with Arduino IDE? A: Yes, it is compatible with the Arduino IDE. You will need to install the appropriate board definitions for the ATSAMD51.
Q: How do I use the Qwiic connector? A: The Qwiic connector is an I2C interface. You can connect compatible Qwiic devices directly without soldering.
// Blink LED example for SparkFun SAMD51 Thing Plus
void setup() {
// Configure the onboard LED pin as an output
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(LED_BUILTIN, HIGH);
delay(1000); // Wait for a second
// Turn the LED off
digitalWrite(LED_BUILTIN, LOW);
delay(1000); // Wait for a second
}
This example code will blink the onboard LED of the SparkFun SAMD51 Thing Plus. Make sure to select the correct board and port in your Arduino IDE before uploading the code.