The Adafruit Feather M0 Express is a versatile and compact development board designed for makers and hobbyists. It is based on the Atmel SAMD21G18A microcontroller and is equipped with a 32-bit ARM Cortex-M0+ processor. With 256 KB of flash memory and 32 KB of SRAM, it provides ample space for complex programs and data handling. The board's built-in USB support allows for easy programming and serial communication, while the microSD card slot enables additional storage for data logging or file storage. The Feather M0 Express is commonly used in projects requiring a powerful yet small microcontroller, such as wearable devices, portable instruments, and IoT applications.
Pin # | Function | Description |
---|---|---|
1 | GND | Ground |
2 | BAT | Battery positive voltage (for LiPo batteries) |
3 | EN | Enable pin for the 3.3V regulator |
4 | USB | USB positive voltage from the micro-USB port |
5-12 | Digital I/O | Digital input/output pins, PWM capable on some |
13-18 | Analog Inputs | Analog input pins, also digital I/O capable |
19 | AREF | Analog reference voltage for ADC |
20 | DAC | Digital-to-Analog Converter output |
21 | SCK | SPI clock |
22 | MISO | SPI Master In Slave Out |
23 | MOSI | SPI Master Out Slave In |
24 | SDA | I2C Data |
25 | SCL | I2C Clock |
26 | RX | UART Receive |
27 | TX | UART Transmit |
28 | RST | Reset pin |
29 | 3V | 3.3V output from the regulator |
30 | 13 | Built-in LED, also digital I/O pin |
To use the Adafruit Feather M0 Express in a circuit:
Here is a simple example of how to blink the built-in LED on the Adafruit Feather M0 Express using the Arduino IDE:
// Define the built-in LED pin
#define LED_BUILTIN 13
void setup() {
// Initialize the LED pin as an output
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(LED_BUILTIN, HIGH);
// Wait for one second
delay(1000);
// Turn the LED off
digitalWrite(LED_BUILTIN, LOW);
// Wait for one second
delay(1000);
}
Q: Can I power the Feather M0 Express with a battery? A: Yes, you can use a 3.7V LiPo battery connected to the BAT pin.
Q: What is the maximum voltage that can be applied to the analog pins? A: The maximum voltage for the analog pins is 3.3V.
Q: Can I use the Feather M0 Express with the Arduino IDE? A: Yes, the Feather M0 Express is fully compatible with the Arduino IDE.
Q: How do I charge a connected LiPo battery? A: The Feather M0 Express has a built-in charging circuit. Simply connect the board to a USB power source while the battery is connected to the BAT pin.