

Samot2040 devboard
My custom devboard based on RP2040 chip
- Size
- 21 × 51 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 41
- Nets
- 62
- Pads
- 212
- Tracks, vias
- 641, 36
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 20 Aug 2026
- Updated
- 28 Aug 2026
Overview
Samot2040 devboard is an open-source printed circuit board by samanbeer, from the samanbeer/Samot2040_devboard repository on GitHub. It is a 2-layer board of 21 × 51 mm with 41 parts on 62 nets, routed with 641 tracks and 36 vias.
It is built around the RP2040, MX25L6433FM2I-08G and BAT54C. Its parts include 20 capacitors, 9 resistors, 4 ICs, 3 connectors and 2 switches. It belongs with the microcontroller boards boards and the RP2040 boards of this library.
Main components
3RP2040
LQFN-56(7x7)12bit 133MHz 30 LQFN-56(7x7) Microcontrollers (MCU/MPU/SOC) ROHSRaspberry PiMicrocontrollers (MCU/MPU/SOC)MX25L6433FM2I-08G
SOP-8-208mil-40℃~+85℃ 1.2ms 100,000 cycles 10uA 133MHz 2.65V~3.6V 20 Years 64Mbit SPI SOP-8-200mil NOR FLASH ROHSMXICFLASHBAT54C
SOT-231 Pair Common Cathode 200mA 2uA@25V 30V 600mA 800mV@100mA SOT-23 Schottky Diodes ROHSNexperiaSchottky Diodes
README
README.mdSamotPi2040 DevBoard
📌 Project Overview & Purpose
- What is it? A standalone development board based on the Raspberry Pi RP2040 dual-core ARM Cortex-M0+ processor.
- What does it do? It provides all essential supporting circuitry (power regulation, Li-Po 3.7V battery charging, automatic power source switching, high-speed crystal oscillator, SPI flash, USB termination, and ESD/pull-down configuration) to run MicroPython, CircuitPython, Arduino, or bare-metal C/C++ Pico SDK code.
- Why does it exist? It was created to explore custom PCB design from scratch, master 2-layer routing with fine-pitch QFN and 0402 components, and build a reliable, inexpensive, and customizable devboard for prototyping robotics and embedded electronics.
Why I Made This Project
Because I wanted to design my own RP2040 board with my own design a to be able to say "I made this" with:
- A modern USB-C connector
- Integrate both BOOT and RESET switches directly on board to make flashing easy.
- Provide a full 8MB high-speed SPI Flash storage for large CircuitPython scripts, assets, and datalogging.
- Integrated Li-Po 3.7V battery charging (MCP73831) and automatic power source switching (BAT54C Schottky diode) for portable projects.
Project Gallery
3D Render

3D Board View

PCB Layout & Routing

Schematic

Hardware Features & Specifications
| Feature | Specification |
|---|---|
| Microcontroller | Raspberry Pi RP2040 (Dual-core ARM Cortex-M0+ up to 133 MHz, 264 KB on-chip SRAM) |
| Flash Memory | 8 MB (64 Mbit) SPI Flash (Macronix MX25L6433FM2I-08G, SOIC-8) |
| Power Input | USB-C 5V VBUS or Li-Po / Li-Ion 3.7V Battery |
| Battery Charger | Microchip MCP73831-2-OT (Single-cell Li-Po/Li-Ion linear charge manager, 4.2V CC/CV) |
| Power Multiplexing | BAT54C dual Schottky barrier diode (automatic power source switching between USB and Battery) |
| Voltage Regulation | Microchip MCP1700T-3302E/TT (3.3V Low-Dropout Regulator, 250mA output) |
| Expansion / I/O | 2x 1x20-pin 2.54mm pitch headers (breadboard compatible) |
Power Management & Battery Support
The board features a built-in power management circuit designed for both desktop development and portable battery-powered operation:
- 3.7V Li-Po / Li-Ion Battery Support: Connect any standard 3.7V single-cell Lithium-Polymer (Li-Po) or Lithium-Ion (Li-Ion) battery to the
+BATTandGNDpins/pads. - Integrated Battery Charging: The on-board Microchip MCP73831 charge controller automatically charges the battery when connected to USB-C (5V VBUS) using constant current / constant voltage (CC/CV) up to 4.2V.
- Automatic Power Source Switching: A dual common-cathode Schottky diode (BAT54C) acts as an automatic power OR-ing switch. When USB-C is plugged in, the board runs directly from USB power while recharging the battery. When USB-C is disconnected, power seamlessly falls over to the battery without interruption or board resets.
🛠️ Step-by-Step Assembly Guide
[!IMPORTANT] I recommend using HOT airflow station or hot plate for soldering because there are really small components like the main chip or 0402 capacitors/resistors
Required Tools
- Hot air station / hot plate and soldering iron
- solder flux paste / pen and solder wick
- tweezers
- USB-C data cable
Assembly Steps
- Solder the RP2040 chip:
- Apply a thin layer of solder paste to the center thermal pad and other pads.
- Align first pin of the RP2040 chip using the silkscreen dot marker.
- Reflow using hot air (~320°C–350°C) or hot plate. Make sure the chip is centered.
- Solder the Flash (U3), Voltage Regulator (U2), Charger (U4), and Diode (D1):
- Solder the MX25L6433 flash chip (SOIC-8), MCP1700 (SOT-23), MCP73831 charger (SOT-23-5), and BAT54C diode (SOT-23). You can do this with normal soldering iron and plenty of flux.
- Solder Passives (Resistors & Capacitors) and Crystal:
- Solder the small 0402 capacitors (C1–C12, C17, C18) close to the RP2040 power pins.
- Solder the 0603 capacitors (C13, C14), crystal load capacitors (C15, C16), and resistors (R1–R7, R9).
- Then carefully solder the 12 MHz crystal (Y1).
- Solder USB-C (J1):
- Align the 16-pin USB-C receptacle (GCT USB4085). Solder the through-hole shielding legs for mechanical strength, then use a iron tip with a lot of flux to solder the other pins.
- Solder buttons(SW1, SW2):
- Solder the swithces for BOOT and RESET.
- Double check :
- Inspect all solder joidnts under magnification for solder bridges or cold joints (especially on the RP2040 and USB-C).
- Using a multimeter in continuity/resistance mode, verify that
VBUS(5V),3V3, andGNDare not shorted.
- Solder Pin Headers (J2, J3, ):
- Insert the 1x20 2.54mm male headers into a solderless breadboard to keep them perpendicular, place the PCB on top, and solder each pin.
How to Flash Firmware
The RP2040 has a built-in ROM bootloader that makes flashing firmware simple without requiring external programmers:
flowchart LR
A["Hold BOOT"] --> B["Plug in USB-C"]
B --> C["'RPI-RP2' Drive Appears"]
C --> D["Drag & Drop .UF2 File"]
D --> E["Auto Reboot & Run!"]- Enter Bootloader Mode:
- Hold the
BOOTbutton (SW1). - Connect the board to computer using a USB-C data cable
- Release the
BOOTbutton.
- Hold the
- Flashing Firmware:
- Drag and drop your compiled
.uf2firmware file onto theRPI-RP2drive that should appear on PC:- MicroPython: Download the Official RP2040 MicroPython UF2.
- CircuitPython: Download the Adafruit CircuitPython RP2040 UF2.
- C/C++ SDK / Arduino: Build your project using Arduino IDE (with Earle Philhower RP2040 core) or Pico SDK and drag the resulting
.uf2file.
- Drag and drop your compiled
- Execution:
- Once the
.uf2file finishes copying, the board will automatically dismount and execute the program immediately.
- Once the
BOM
Import
quickOrder_TME.csvdirectly to TME.eu for fast order.
| Qty | Value | Reference | Footprint | Where | Cost (USD) |
|---|---|---|---|---|---|
| 1 | RP2040 | U1 | QFN-56-1EP (7x7mm, 0.4mm pitch) | TME LINK | $1.02 |
| 1 | MX25L6433FM2I-08G (8MB Flash) | U3 | SOIC-8 (5.3x5.3mm, 1.27mm pitch) | TME LINK | $2.40 |
| 1 | MCP1700T-3302E/TT (3.3V LDO) | U2 | SOT-23 | TME LINK | $0.65 |
| 1 | 12 MHz Crystal | Y1 | SMD 3225-4Pin (3.2x2.5mm) | TME LINK | $0.39 |
| 1 | USB-C Receptacle 16P | J1 | GCT_USB4105 | TME LINK | $0.75 |
| 2 | Tactile Switch SPST | SW1, SW2 | SMD (Omron B3U-1000P-B) | TME LINK | $1.95 |
| 12 | 0.1 µF (100nF) 16V | C2, C3, C4, C5, C6, C7, C8, C9, C11, C12, C17, C18 | C_0402 (1005 Metric) | TME LINK | $0.17 |
| 2 | 1 µF 25V | C1, C10 | C_0402 (1005 Metric) | TME LINK | $0.095 |
| 4 | 10 µF 10V | C13, C14, C19, C20 | C_0603 (1608 Metric) | TME LINK | $0.60 |
| 2 | 27 pF 50V | C15, C16 | C_0603 (1608 Metric) | TME LINK | $0.043 |
| 2 | 27 Ω 1% | R3, R4 | R_0402 (1005 Metric) | TME LINK | $0.25 |
| 2 | 5.1 kΩ 1% | R1, R2 | R_0603 (1608 Metric) | TME LINK | $0.18 |
| 2 | 1 kΩ 1% | R5, R6 | R_0603 (1608 Metric) | TME LINK | $0.015 |
| 2 | 10 kΩ 1% | R7, R8, R9 | R_0603 (1608 Metric) | TME LINK | $0.15 |
| 2 | Pin Header 1x20 (2.54mm) | J2, J3 | PinHeader_1x20_P2.54mm_Vertical | TME LINK | $4.5(I dont need these. Already own) |
| 1 | MCP73831-2-OT | U4 | SOT-23-5_HandSoldering | TME LINK | ~$0.75 |
| 1 | BAT54C | D1 | SOT-23_Handsoldering | TME LINK | ~$0.07 |
| 1 | Li-Po 3.7V Battery | - | - | TME LINK | ~$5.7 |
| 1 | **PCB ** | PCB | 2-layer FR-4 (1.6mm, ENIG/HASL) | JLCPCB | ~$13.45 |
| - | Estimated Shipping | - | - | - | ~$8.21 |
| Total | ~$41,34 |
JLCPCB Cart:
Parts
41| Qty | Value | Footprint | References |
|---|---|---|---|
| 12 | 0.1uF | Capacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C2, C3, C4, C5, C6, C7, C8, C9, C11, C12, C17, C18 |
| 4 | 10uF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C13, C14, C19, C20 |
| 3 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R7, R8, R9 |
| 2 | 1k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R5, R6 |
| 2 | 1uF | Capacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C1, C10 |
| 2 | 27 | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R3, R4 |
| 2 | 30pF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C15, C16 |
| 2 | 5.1K | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R2 |
| 2 | Conn_01x20 | Connector_PinHeader_2.54mm:PinHeader_1x20_P2.54mm_Vertical | J2, J3 |
| 2 | SW_Push | Button_Switch_SMD:SW_SPST_B3U-1000P-B | SW1, SW2 |
| 1 | 12 MHz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm_HandSoldering | Y1 |
| 1 | BAT54C | Package_TO_SOT_SMD:SOT-23_Handsoldering | D1 |
| 1 | MCP1700x-330xxTT | Package_TO_SOT_SMD:SOT-23 | U2 |
| 1 | MCP73831-2-OT | Package_TO_SOT_SMD:SOT-23-5_HandSoldering | U4 |
| 1 | MX25L6433FM2I-08G | Package_SO:SOIC-8_5.3x5.3mm_P1.27mm | U3 |
| 1 | RP2040 | Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm | U1 |
| 1 | TestPoint_2Pole | TestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mm | TP1 |
| 1 | USB_C_Receptacle_USB2.0_16P | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J1 |
Similar boards
- 4 layers100 × 77.4 mm

- 4 layers65 × 100 mm

- 2 layers38.1 × 101.6 mm

RP2040 Audio
emeb/RP2040_Audio
A Eurorack module for stereo audio effects based on the Raspberry Pi RP2040 MCU
121 parts23MIT - 2 layers48.3 × 22.9 mm

- 2 layers48.3 × 22.9 mm

Buddhabox
emeb/RP2040_Projects
A collection of random projects based on the Raspberry Pi RP2040 MCU
51 parts3MIT - 4 layers70 × 69.8 mm

- 6 layers40 × 40 mm

Integrated FOC Stepper Driver
chpaxson/Echo-Telepresence
UC Berkeley ME 135/235 Spring 2025 Term Project
77 parts2 - 4 layers152.4 × 63.5 mm

Questions
How big is the Samot2040 devboard PCB?
It measures 21 × 51 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Samot2040 devboard use?
41 parts, built around the RP2040, MX25L6433FM2I-08G 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.
Where can I download the Samot2040 devboard KiCad files?
From the samanbeer/Samot2040_devboard repository on GitHub, at the commit this page was made from: the board is samot2040_devboard.kicad_pcb and its schematic samot2040_devboard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Samot2040 devboard design in my own project?
Its repository states no licence, so its author keeps all rights: ask samanbeer before reusing the design.