1. Introduktion
The Adafruit Feather M4 Express is a powerful and versatile development board designed for embedded projects. It features an ATSAMD51 32-bit Cortex M4 core running at 120 MHz, offering high performance for various applications. This manual provides essential information for setting up, operating, and maintaining your Feather M4 Express.
2. Nøglefunktioner
- Processor: ATSAMD51 32-bit Cortex M4 core, 120 MHz, 3.3V logic and power.
- Hukommelse: 512 KB Flash, 192 KB RAM.
- Opbevaring: 2 MB SPI FLASH chip for file storage and CircuitPython code.
- Floating Point Support: Includes Cortex M4 DSP instructions.
- USB Native Support: Comes with USB bootloader and serial port debugging.
- Strømstyring: 3.3V regulator with 500mA peak current output, built-in 100mA LiPoly charger with status LED.
- GPIO pins: 21 general-purpose input/output pins.
- Real-time ur: 32.768 KHz crystal for clock generation and RTC.
- Sikkerhedsfunktioner: Built-in crypto engines with AES (256 bit), true RNG, Pubkey controller.
- Kompatibilitet: Fully compatible with Adafruit FeatherWings.
3. Opsætning og første brug
This section guides you through the initial setup of your Adafruit Feather M4 Express.
3.1. Board Overview

Figur 1: Øverst view of the Adafruit Feather M4 Express board, showing the ATSAMD51 chip, USB port, battery connector, and pin headers.
The Feather M4 Express is designed for compact projects. It includes a micro-USB port for power and data, a JST connector for LiPoly batteries, and numerous pin headers for connecting peripherals.
3.2. Connecting Headers (Optional)

Figure 2: Adafruit Feather M4 Express board shown with male pin headers, typically soldered for breadboard use or connecting wires.
For easy prototyping, you may solder the included male pin headers to the board. This allows you to plug the Feather M4 Express into a breadboard or connect jumper wires to its pins. Ensure proper soldering techniques are used to avoid damage.
3.3. Strømforsyning til bestyrelsen
- USB Strøm: Connect a micro-USB cable from your computer or a 5V USB power adapter to the board's micro-USB port.
- LiPoly Battery: Connect a 3.7V LiPoly battery to the JST connector. The board includes a charger for LiPoly batteries.
3.4. Første tilslutning til computeren
Upon connecting the Feather M4 Express to your computer via USB, it will appear as a small disk drive named "CIRCUITPY". This indicates that CircuitPython is pre-installed and ready for use.
4. Betjeningsvejledning
4.1. Using CircuitPython
The Feather M4 Express comes with CircuitPython pre-installed, making it easy to get started with Python programming for microcontrollers.
- Adgang til drevet: Connect the Feather M4 Express to your computer. It will appear as a removable drive named "CIRCUITPY".
- Edit Code: Åbn
main.pyfile on the "CIRCUITPY" drive using any text editor. - Skriv dit program: Write your Python code in
main.py. When you save the file, the board will automatically restart and run the new code. - Ingen installation nødvendig: CircuitPython allows you to program the board without needing to install an IDE or compiler, making it accessible on various operating systems, including ChromeOS.
4.2. Using Arduino IDE
For users familiar with the Arduino ecosystem, the Feather M4 Express can also be programmed using the Arduino IDE.
- Installer kortstøtte: I Arduino IDE'en skal du gå til File > Præferencer and add the Adafruit board support URL to "Additional Board Manager URLs".
- Install SAMD Boards: Gå til Tools > Board > Board Manager and search for "Adafruit SAMD" to install the necessary board definitions.
- Vælg bestyrelse: Fra Værktøjer > Bræt, select "Adafruit Feather M4 Express".
- Uploadkode: Write your Arduino sketch and upload it to the board. The USB native support facilitates serial port debugging.
4.3. FeatherWing Compatibility
The Feather M4 Express is designed to be compatible with Adafruit FeatherWings, which are add-on boards that extend the functionality of your Feather. Simply stack a FeatherWing onto the Feather M4 Express to add features like displays, sensors, or communication modules.
5. Specifikationer
Detailed technical specifications for the Adafruit Feather M4 Express.
| Feature | Detalje |
|---|---|
| Processor | ATSAMD51J19 (Cortex M4) |
| Urhastighed | 120 MHz |
| Flash-hukommelse | 512 KB |
| VÆDDER | 192 KB |
| SPI FLASH | 2 MB |
| Operation Voltage | 3.3V |
| Dimensioner | 50.8 mm x 22.8 mm x 7.0 mm (2.0 "x 0.9" x 0.3 ") |
| Vægt | 4.8 g (0.2 oz) |
| LiPoly Charger | 100mA with status indicator LED |

Figure 3: Size comparison of the Adafruit Feather M4 Express with a US Quarter coin, illustrating its compact form factor.
6. Vedligeholdelse
To ensure the longevity and proper functioning of your Feather M4 Express, follow these maintenance guidelines:
- Håndteres med forsigtighed: Avoid dropping the board or subjecting it to excessive physical stress.
- Hold tør: Protect the board from moisture and liquids, as these can cause short circuits and damage components.
- Statisk udladning: When handling the board, especially the exposed components, take precautions against electrostatic discharge (ESD).
- Renhed: Hold printpladen fri for støv og snavs. Brug en blød, tør børste eller trykluft til rengøring, hvis det er nødvendigt.
- Opbevaring: Store the board in an anti-static bag when not in use, especially for extended periods.
7. Fejlfinding
If you encounter issues with your Feather M4 Express, consider the following troubleshooting steps:
- Strømproblemer:
- Ensure the USB cable is securely connected and providing power.
- If using a LiPoly battery, check its charge level. The charging status LED should indicate charging or charged state.
- Bestyrelse ikke anerkendt:
- Try a different USB cable or USB port on your computer.
- Genstart din computer.
- For CircuitPython, ensure the board is in bootloader mode if it's not appearing as "CIRCUITPY". Double-tap the reset button to enter bootloader mode.
- Kode kører ikke:
- Tjek din kode for syntaksfejl.
- For CircuitPython, ensure your code is saved as
main.pyon the "CIRCUITPY" drive. - For Arduino, verify that the correct board and port are selected in the IDE.
- Perifere problemer:
- Double-check all wiring and connections to external components.
- Ensure libraries for your peripherals are correctly installed and imported in your code.
8. Support og garanti
For further assistance, technical support, or warranty information regarding your Adafruit Feather M4 Express, please refer to the official Adafruit website or contact their customer support channels. Adafruit provides extensive documentation, tutorials, and community forums that can be valuable resources for your projects.
Note: Specific warranty terms and conditions are provided by the manufacturer, Adafruit. Please consult their official resources for detailed information.





