The Adafruit Feather M0 Basic Proto is a versatile and compact development board that serves as a great starting point for building electronic projects and prototypes. Based on the powerful ATSAMD21G18 ARM Cortex M0 microcontroller, it offers a balance between performance and power consumption. This board is part of the Feather ecosystem, designed by Adafruit to be a new standard for portable microcontroller cores.
Pin Number | Function | Description |
---|---|---|
1 | GND | Ground |
2 | BAT | Battery +3.7V to +6V input |
3 | EN | Enable pin for the 3.3V regulator |
4 | USB | USB pin, can be up to +12V |
5-14 | Digital Pins | Digital input/output pins, PWM capable |
15-24 | Analog Pins | Analog input pins, also digital I/O capable |
25 | AREF | Analog reference voltage for the ADC |
26 | SCK | SPI clock |
27 | MISO | SPI Master In Slave Out |
28 | MOSI | SPI Master Out Slave In |
29 | RX | UART receive pin |
30 | TX | UART transmit pin |
31 | SDA | I2C data line |
32 | SCL | I2C clock line |
33 | RST | Reset pin |
Q: Can I power the Feather M0 Basic Proto with a LiPo battery? A: Yes, you can connect a 3.7V LiPo battery to the JST connector.
Q: Is the Feather M0 Basic Proto compatible with Arduino IDE? A: Yes, it is compatible with the Arduino IDE. You'll need to install the Adafruit SAMD board package.
Q: What is the maximum current the I/O pins can source or sink? A: Each I/O pin can source or sink up to 7 mA.
Q: Can I use the Feather M0 Basic Proto with other FeatherWings? A: Yes, the Feather M0 Basic Proto is designed to be stackable with other FeatherWings.
Here is a simple example of blinking an LED connected to pin 13 of the Feather M0 Basic Proto using the Arduino IDE:
// Define the LED pin
const int ledPin = 13;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(ledPin, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(ledPin, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(ledPin, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Remember to select the correct board from the Tools > Board menu in the Arduino IDE before uploading the code to the Feather M0 Basic Proto.