
Greenpill
Stary2001/greenpill
a samd51 dev board, mimicking the bluepill/blackpill stm32 board design

a samd51 dev board, mimicking the bluepill/blackpill stm32 board design
Greenpill is an open-source printed circuit board by Stary2001, from the Stary2001/greenpill repository on GitHub. It is a 4-layer board of 17.4 × 53.1 mm with 34 parts on 66 nets, routed with 555 tracks and 67 vias.
It is built around the ATSAMD51J20A-MU, MIC5504-3.3YM5 and BAT54C. Its parts include 13 capacitors, 6 resistors, 4 connectors, 3 ICs and 3 diodes. It belongs with the microcontroller boards boards and the SAM D and SAM boards of this library.
Breadboard-able SAMD51 development board

Inspired by the popular low-cost "Bluepill" and "Blackpill" STM32 boards, Greenpill aims to maintain some compatibility with those designs while adding features from the SAMD5x platform. Greenpill is designed to be used with CircuitPython, although a SAMD51 port of Arduino could also be used.
atsamd port and BOARD=greenpill.CPYBOOT. Copy PATHTOUF2 to the root directory of this device. Once it has finished copying, CPYBOOT will disappear and GREENPILL will appear. You have now installed CircuitPython.Pins are numbered counter-clockwise starting at the top-left pin (to the left of the USB-C connector).
| Greenpill Pin | GPIO name | Available SERCOMs* | Available PWM timers* | Comment |
|---|---|---|---|---|
| User LED | PB09 | - | TC4/WO[1] | |
| User Button | PB06 | - | - | Externally pulled up to 3v3 |
| VBat sense | PB03 | - | - | Connected to VBat via diode D3 |
| 1 | PA16 | SERCOM1/PAD[0] SERCOM3/PAD[1] | TCC1/WO[0] TCC0/WO[4] | |
| 2 | PA17 | SERCOM1/PAD[1] SERCOM3/PAD[0] | TC2/WO[1] TCC1/WO[1] TCC0/WO[5] | |
| 3 | PA18 | SERCOM1/PAD[2] SERCOM3/PAD[2] | TCC1/WO[2] TCC0/WO[6] | |
| 4 | PA19 | SERCOM1/PAD[3] SERCOM3/PAD[3] | TC3/WO[1] TCC1/WO[3] TCC0/WO[7] | |
| 5 | PB16 | SERCOM5/PAD[0] | TCC3/WO[0] TCC0/WO[4] | |
| 6 | PB01 | SERCOM5/PAD[3] | TC7/WO[1] | |
| 7 | PB00 | SERCOM5/PAD[2] | - | |
| 8 | PA24 | USB D- | ||
| 9 | PA25 | USB D+ | ||
| 10 | PA20 | SERCOM5/PAD[2] SERCOM3/PAD[2] | TCC1/WO[4] TCC0/WO[0] - | |
| 11 | PB22 | SERCOM1/PAD[2] SERCOM5/PAD[2] | ||
| 12 | PB23 | SERCOM1/PAD[3] SERCOM5/PAD[3] | TC7/WO[1] | |
| 13 | PA27 | - | - | |
| 14 | PB31 | SERCOM5/PAD[0] | TC0/WO[1] TCC4/WO[1] TCC0/WO[7] | |
| 15 | PA22 | SERCOM3/PAD[0] SERCOM5/PAD[1] | TCC1/WO[6] TCC0/WO[2] | |
| 16 | PB17 | SERCOM5/PAD[1] | TC6/WO[1] TCC3/WO[1] TCC0/WO[5] | |
| 17 | PB02 | SERCOM5/PAD[0] | TCC2/WO[2] | |
| 18 | 5V | |||
| 19 | Ground | |||
| 20 | 3.3V | |||
| 21 | VBat | |||
| 22 | PB04 | - | - | |
| 23 | PA03 | - | - | |
| 24 | PB30 | SERCOM5/PAD[1] | TCC4/WO[0] TCC0/WO[6] | |
| 25 | ¬Reset | |||
| 26 | PA02 | - | - | |
| 27 | PA08 | SERCOM4/PAD[0] | - | |
| 28 | PA05 | SERCOM0/PAD[1] | TC0/WO[1] | |
| 29 | PA07 | SERCOM0/PAD[3] | TC1/WO[1] | |
| 30 | PA06 | SERCOM0/PAD[2] | - | |
| 31 | PA04 | SERCOM0/PAD[0] | - | |
| 32 | PA09 | SERCOM0/PAD[1] | TC0/WO[1] TCC0/WO[1] TCC1/WO[5] | |
| 33 | PA10 | SERCOM0/PAD[2] | TCC0/WO[2] TCC1/WO[6] | |
| 34 | PB10 | SERCOM4/PAD[2] | TCC0/WO[4] TCC1/WO[0] | |
| 35 | PB11 | SERCOM4/PAD[3] | TC5/WO[1] TCC0/WO[5] TCC1/WO[1] | |
| 36 | PB12 | SERCOM4/PAD[0] | TCC3/WO[0] TCC0/WO[0] | |
| 37 | PB13 | SERCOM4/PAD[1] | TC4/WO[1] TCC3/WO[1] TCC0/WO[1] | |
| 38 | 3.3V | |||
| 39 | Ground | |||
| 40 | 5V |
* SERCOM2 and all TCn/WO[0] have been removed from this table. SERCOM2 is used by the SPI flash, and TCn/WO[0] timers are not usable for PWM output by CircuitPython. For a full reference of pin capability, see Table 6-1 in the SAM D5x datasheet
The contents of this repository, which include the Greenpill hardware, documentation, and design files, are released under the Solderpad 2.1 license. The recommended firmware for GreenPill (CircuitPython) is NOT part of this repository. Both Adafruit/CircuitPython and the fork that provides Greenpill compatibility are released under the MIT License
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 100n | Capacitor_SMD:C_0402_1005Metric | C1, C2, C3, C4, C6, C9, C10, C13 |
| 2 | 10k | Resistor_SMD:R_0603_1608Metric | R5, R6 |
| 2 | 10u | Capacitor_SMD:C_0603_1608Metric | C7, C8 |
| 2 | 12p | Capacitor_SMD:C_0603_1608Metric | C11, C12 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric | R1, R2 |
| 2 | Conn_01x20_Male | Connector_PinHeader_2.54mm:PinHeader_1x20_P2.54mm_Vertical | J1, J2 |
| 2 | LED | LED_SMD:LED_0603_1608Metric | D1, D2 |
| 2 | SW_Push | greenpill:PTS636 | SW1, SW2 |
| 1 | 261 | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 4.7u | Capacitor_SMD:C_0603_1608Metric | C5 |
| 1 | 60.4 | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | ATSAMD51J20A-M | Package_DFN_QFN:QFN-64-1EP_9x9mm_P0.5mm_EP4.7x4.7mm | U1 |
| 1 | BAT54C | Package_TO_SOT_SMD:SOT-23 | D3 |
| 1 | Conn_01x04_Male | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Horizontal | J3 |
| 1 | Crystal_GND23 | Crystal:Crystal_SMD_3215-2Pin_3.2x1.5mm | Y1 |
| 1 | Ferrite_Bead_Small | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | FB1 |
| 1 | MIC5504-3.3YM5 | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | S25FL064 | Package_SO:SOIC-8_5.23x5.23mm_P1.27mm | U3 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_XKB_U262-16XN-4BVC11 | J5 |
The 33 most common of 34 parts.

Stary2001/greenpill
a samd51 dev board, mimicking the bluepill/blackpill stm32 board design





tmk/USB2USB_Converter
USB to USB keyboard protocol converter supported by TMK keyboard firmware

kiu/lofence
LoFence is a LoRaWAN capable IoT electric fence monitoring system running on the The Things Network.


nkrackow/SingularitySurfer-FPGA-Lock-In-Amplifier
Repository for the development of an FPGA based DSP Lock-In Amplifier
It measures 17.4 × 53.1 mm and has 4 copper layers, 1.6 mm thick.
34 parts, built around the ATSAMD51J20A-MU, MIC5504-3.3YM5 and BAT54C. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the Stary2001/greenpill repository on GitHub, at the commit this page was made from: the board is 1.0/greenpill.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask Stary2001 before reusing the design.