Skip to the content
2 layers21 × 51 mmSamot2040 devboard, the printed circuit board in 3D

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

3

README

README.md

SamotPi2040 DevBoard

Hack Club ForgeKiCadRP2040


📌 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:

  1. A modern USB-C connector
  2. Integrate both BOOT and RESET switches directly on board to make flashing easy.
  3. Provide a full 8MB high-speed SPI Flash storage for large CircuitPython scripts, assets, and datalogging.
  4. Integrated Li-Po 3.7V battery charging (MCP73831) and automatic power source switching (BAT54C Schottky diode) for portable projects.

Project Gallery

3D Render

Rendered PCB

3D Board View

3D PCB

PCB Layout & Routing

PCB Layout

Schematic

Schematic Diagram


Hardware Features & Specifications

FeatureSpecification
MicrocontrollerRaspberry Pi RP2040 (Dual-core ARM Cortex-M0+ up to 133 MHz, 264 KB on-chip SRAM)
Flash Memory8 MB (64 Mbit) SPI Flash (Macronix MX25L6433FM2I-08G, SOIC-8)
Power InputUSB-C 5V VBUS or Li-Po / Li-Ion 3.7V Battery
Battery ChargerMicrochip MCP73831-2-OT (Single-cell Li-Po/Li-Ion linear charge manager, 4.2V CC/CV)
Power MultiplexingBAT54C dual Schottky barrier diode (automatic power source switching between USB and Battery)
Voltage RegulationMicrochip MCP1700T-3302E/TT (3.3V Low-Dropout Regulator, 250mA output)
Expansion / I/O2x 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 +BATT and GND pins/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

  1. 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.
  2. 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.
  3. 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).
  4. 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.
  5. Solder buttons(SW1, SW2):
    • Solder the swithces for BOOT and RESET.
  6. 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, and GND are not shorted.
  7. 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:

mermaid
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!"]
  1. Enter Bootloader Mode:
    • Hold the BOOT button (SW1).
    • Connect the board to computer using a USB-C data cable
    • Release the BOOT button.
  2. Flashing Firmware:
    • Drag and drop your compiled .uf2 firmware file onto the RPI-RP2 drive that should appear on PC:
  3. Execution:
    • Once the .uf2 file finishes copying, the board will automatically dismount and execute the program immediately.

BOM

Import quickOrder_TME.csv directly to TME.eu for fast order.

QtyValueReferenceFootprintWhereCost (USD)
1RP2040U1QFN-56-1EP (7x7mm, 0.4mm pitch)TME LINK$1.02
1MX25L6433FM2I-08G (8MB Flash)U3SOIC-8 (5.3x5.3mm, 1.27mm pitch)TME LINK$2.40
1MCP1700T-3302E/TT (3.3V LDO)U2SOT-23TME LINK$0.65
112 MHz CrystalY1SMD 3225-4Pin (3.2x2.5mm)TME LINK$0.39
1USB-C Receptacle 16PJ1GCT_USB4105TME LINK$0.75
2Tactile Switch SPSTSW1, SW2SMD (Omron B3U-1000P-B)TME LINK$1.95
120.1 µF (100nF) 16VC2, C3, C4, C5, C6, C7, C8, C9, C11, C12, C17, C18C_0402 (1005 Metric)TME LINK$0.17
21 µF 25VC1, C10C_0402 (1005 Metric)TME LINK$0.095
410 µF 10VC13, C14, C19, C20C_0603 (1608 Metric)TME LINK$0.60
227 pF 50VC15, C16C_0603 (1608 Metric)TME LINK$0.043
227 Ω 1%R3, R4R_0402 (1005 Metric)TME LINK$0.25
25.1 kΩ 1%R1, R2R_0603 (1608 Metric)TME LINK$0.18
21 kΩ 1%R5, R6R_0603 (1608 Metric)TME LINK$0.015
210 kΩ 1%R7, R8, R9R_0603 (1608 Metric)TME LINK$0.15
2Pin Header 1x20 (2.54mm)J2, J3PinHeader_1x20_P2.54mm_VerticalTME LINK$4.5(I dont need these. Already own)
1MCP73831-2-OTU4SOT-23-5_HandSolderingTME LINK~$0.75
1BAT54CD1SOT-23_HandsolderingTME LINK~$0.07
1Li-Po 3.7V Battery--TME LINK~$5.7
1**PCB **PCB2-layer FR-4 (1.6mm, ENIG/HASL)JLCPCB~$13.45
-Estimated Shipping---~$8.21
Total~$41,34

JLCPCB Cart:

JLCPCB Cart 1 JLCPCB Cart 2

Parts

41
QtyValueFootprintReferences
120.1uFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC2, C3, C4, C5, C6, C7, C8, C9, C11, C12, C17, C18
410uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC13, C14, C19, C20
310kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7, R8, R9
21kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR5, R6
21uFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC1, C10
227Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR3, R4
230pFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC15, C16
25.1KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2
2Conn_01x20Connector_PinHeader_2.54mm:PinHeader_1x20_P2.54mm_VerticalJ2, J3
2SW_PushButton_Switch_SMD:SW_SPST_B3U-1000P-BSW1, SW2
112 MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mm_HandSolderingY1
1BAT54CPackage_TO_SOT_SMD:SOT-23_HandsolderingD1
1MCP1700x-330xxTTPackage_TO_SOT_SMD:SOT-23U2
1MCP73831-2-OTPackage_TO_SOT_SMD:SOT-23-5_HandSolderingU4
1MX25L6433FM2I-08GPackage_SO:SOIC-8_5.3x5.3mm_P1.27mmU3
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU1
1TestPoint_2PoleTestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mmTP1
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ1

Similar boards

  • 4 layers100 × 77.4 mmWasca, the printed circuit board in 3D

    Wasca

    hitomi2500/wasca

    Sega Saturn multipurporse cartridge

    145 parts80MIT
  • 4 layers65 × 100 mmAudcalc, the printed circuit board in 3D

    Audcalc

    jonbro/Audcalc

    pocket sized groovebox

    218 parts62MIT
  • 2 layers38.1 × 101.6 mmRP2040 Audio, the printed circuit board in 3D

    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 mmBuddhabox, the printed circuit board in 3D

    Buddhabox

    jonbro/aleatorium

    lua scriptable musicbox

    54 parts7
  • 2 layers48.3 × 22.9 mmBuddhabox, the printed circuit board in 3D

    Buddhabox

    emeb/RP2040_Projects

    A collection of random projects based on the Raspberry Pi RP2040 MCU

    51 parts3MIT
  • 4 layers70 × 69.8 mmKarabas mini, the printed circuit board in 3D

    Karabas mini

    andykarpov/karabas-mini-pcb

    Karabas Go Mini PCB

    222 parts2
  • 4 layers152.4 × 63.5 mmKrecek, the printed circuit board in 3D

    Krecek

    mordae/krecek

    bash # Prepare build for Krecek cmake -B build src -G Ninja

    166 parts2Unlicense

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.