Skip to the content
2 layersBeggining, the printed circuit board in 3D

This repository contains the design files for my first printed circuit board (PCB) - a microcontroller and USB interface system built around the STM32F103C8T6 ARM Cortex-M3 processor.

Copper layers
2
Thickness
1.6 mm
Parts
28
Nets
48
Pads
122
Tracks, vias
239, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
10 Sep 2025
Updated
22 Nov 2025

Overview

Beggining is an open-source printed circuit board by NaurasShaji, from the NaurasShaji/My-First-STM-PCB repository on GitHub. It is a 2-layer board with 28 parts on 48 nets, routed with 239 tracks and 0 vias.

It is built around the STM32F103C8T6 and AMS1117-3.3. Its parts include 13 capacitors, 5 resistors, 4 connectors, 2 ICs and 1 diode. It belongs with the STM32 boards of this library.

Main components

2

README

README.md

My First PCB - Microcontroller and USB Interface Board

📋 Project Overview

This repository contains the design files for my first printed circuit board (PCB) - a microcontroller and USB interface system built around the STM32F103C8T6 ARM Cortex-M3 processor. This project represents a significant milestone in my electronics engineering journey, demonstrating practical application of hardware design principles.

🔧 Hardware Specifications

Core Components

  • Microcontroller: STM32F103C8T6 (ARM Cortex-M3, 72MHz, 64KB Flash, 20KB RAM)
  • Power Management: AMS1117-3.3V Linear Voltage Regulator
  • Connectivity: USB-C Connector for data and power
  • Clock Source: 16MHz Crystal Oscillator
  • Voltage Rails: 5V and 3.3V power distribution

Key Features

  • ✅ Complete GPIO breakout for all microcontroller pins
  • ✅ USB-C interface with proper differential pair routing
  • ✅ Comprehensive power decoupling network
  • ✅ External crystal oscillator for precise timing
  • ✅ Power LED indicators
  • ✅ Reset button for system control

📁 Repository Structure

text
├── Hardware/
│   ├── Schematics/
│   │   └── pcb-schematic.pdf
│   ├── PCB_Layout/
│   │   └── pcb-layout.pdf
│   ├── Gerber_Files/
│   │   └── manufacturing_files/
│   └── BOM/
│       └── bill_of_materials.xlsx
├── Documentation/
│   ├── Design_Notes.md
│   └── Pin_Mapping.md
├── Images/
│   ├── pcb_3d_render.png
│   └── schematic_overview.png
└── README.md

🛠️ Design Tools

  • EDA Software: KiCad 7.x
  • Schematic Capture: KiCad Eeschema
  • PCB Layout: KiCad Pcbnew
  • 3D Visualization: KiCad 3D Viewer

⚡ Power Architecture

Power Supply Design

  • Input: 5V via USB-C or external power jack
  • Regulation: AMS1117-3.3V for stable 3.3V rail
  • Decoupling: Multiple capacitor values (1µF, 100nF, 10nF) for clean power delivery
  • Protection: Reverse polarity protection and overcurrent limiting

Power Consumption

  • Active Mode: ~20mA (estimated)
  • Sleep Mode: <1mA (microcontroller dependent)

🔌 Pinout and Connectivity

USB-C Interface

  • Power: VBUS, GND
  • Data: D+, D- (USB 2.0 Full Speed)
  • Configuration: CC1, CC2 for USB-C compliance

GPIO Breakout

  • All STM32F103C8T6 pins accessible via 0.1" headers
  • Standard pin numbering and labeling
  • Compatible with breadboard prototyping

📐 PCB Specifications

  • Board Size: 50mm x 30mm (approximate)
  • Layer Count: 2-layer PCB
  • Thickness: 1.6mm standard
  • Copper Weight: 1oz
  • Via Size: 0.2mm drill, 0.45mm pad
  • Minimum Trace Width: 0.15mm
  • Minimum Spacing: 0.15mm

🔧 Manufacturing Notes

PCB Fabrication

  • Standard FR4 substrate
  • HASL (Hot Air Solder Leveling) finish
  • Green solder mask with white silkscreen
  • Design Rule Check (DRC) compliant

Assembly Considerations

  • SMD components: 0805 and SOIC packages
  • Through-hole components for headers and connectors
  • Hand soldering friendly component selection

📊 Bill of Materials (BOM)

DesignatorComponentPackageQuantityNotes
U1STM32F103C8T6LQFP-481Main microcontroller
U2AMS1117-3.3SOT-2231Voltage regulator
J1USB-C ConnectorUSB-C1Power and data
Y116MHz CrystalHC-49S1Clock source
C1-C10Various Capacitors080510Decoupling and filtering
R1-R5Various Resistors08055Pull-ups and current limiting

Complete BOM available in /Hardware/BOM/ directory

🚀 Getting Started

Prerequisites

  • KiCad 7.x or later
  • Basic understanding of PCB design principles
  • PCB manufacturing service account (JLCPCB, PCBWay, etc.)

Viewing the Design

  1. Clone this repository
  2. Open the .kicad_pro file in KiCad
  3. View schematics in Eeschema
  4. Examine PCB layout in Pcbnew

Manufacturing

  1. Generate Gerber files from Pcbnew
  2. Create drill files
  3. Export pick and place files (if needed)
  4. Upload to your preferred PCB manufacturer

📈 Future Improvements

  • Add USB bootloader capability
  • Implement USB device classes (CDC, HID)
  • Add onboard sensors (temperature, accelerometer)
  • Improve power efficiency with switching regulator
  • Add wireless connectivity (ESP32 integration)
  • Implement proper EMI/EMC design practices

🤝 Contributing

This is a learning project, but suggestions and improvements are welcome! Please feel free to:

  • Open issues for design discussions
  • Submit pull requests for documentation improvements
  • Share your own implementations and modifications

📄 License

This project is open source and available under the MIT License.

👨‍💻 Author

[Your Name]

🙏 Acknowledgments

  • STMicroelectronics for comprehensive documentation
  • KiCad development team for the excellent EDA tools
  • Electronics engineering community for inspiration and guidance
  • My professors and mentors for their support

⭐ If you find this project helpful, please consider giving it a star! ⭐

Project Status: ✅ Design Complete | 🔄 Testing Phase | 📋 Documentation In Progress

Last Updated: September 10, 2025

Parts

28
QtyValueFootprintReferences
5100nCapacitor_SMD:C_0402_1005MetricC7, C8, C9, C10, C11
41k5Resistor_SMD:R_0402_1005MetricR1, R3, R4, R5
3Conn_01x04_PinConnector_PinHeader_1.00mm:PinHeader_1x04_P1.00mm_VerticalJ2, J3, J4
210pCapacitor_SMD:C_0402_1005MetricC12, C13
21uCapacitor_SMD:C_0402_1005MetricC3, C5
222uCapacitor_SMD:C_0805_2012MetricC1, C2
110kResistor_SMD:R_0402_1005MetricR2
110nCapacitor_SMD:C_0402_1005MetricC4
110uCapacitor_SMD:C_0603_1608MetricC6
1120RInductor_SMD:L_0603_1608MetricFB1
116MhzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1REDLED_SMD:LED_0603_1608MetricD1
1STM32F103C8T6Package_QFP:LQFP-48_7x7mm_P0.5mmU2
1SW_SPDTButton_Switch_THT:SW_E-Switch_EG1224_SPDT_AngledSW1
1USB_OTGConnector_USB:USB_Micro-B_Wuerth_614105150721_Vertical_CircularHolesJ1

Similar boards

  • 2 layers68 × 40 mmStm32-io extend, the printed circuit board in 3D

    Stm32-io extend

    hardenedlinux/cheap-pcb

    Cheap PCB: Better understanding the current status of hardware supply chain

    44 parts170CC0-1.0
  • 2 layers99.1 × 58.4 mmHEAT, the printed circuit board in 3D

    HEAT

    milar111/HEAT

    An open-source STM32 SMD assembly station for precision soldering. Uses a custom Smart Pulse & Coast algorithm to drive 400W mains heaters via SSR. Features OLED UI, NTC feedback, and safety cooling.

    57 parts9
  • 2 layers71.3 × 25.4 mmUSB DALI, the printed circuit board in 3D

    USB DALI

    even-notodd/USB-DALI

    USB-DALI interface converter

    43 parts4
  • 2 layers78 × 60 mmDC Motor Controller, the printed circuit board in 3D

    DC Motor Controller

    minhle4397/Line-Follower-Robot-v2

    Improved Hardware and Firmware for Line Follower Robot

    53 parts3
  • 4 layers36 × 36 mmTrackMAG, the printed circuit board in 3D

    TrackMAG

    mupfdev/TrackMAG

    An open hardware development board primarily intended for the development of accessible input devices.

    58 parts3
  • 2 layers154.7 × 113 mmDeskMixer, the printed circuit board in 3D

    DeskMixer

    RaduAndre/DeskMixer

    DeskMixer is a software that allows control of application volumes with real sliders, and action mapping on buttons using arduino like platforms. The project was inspired originally by deej.

    113 parts3
  • 2 layers42 × 33 mmSTM32 course, the printed circuit board in 3D

    STM32 course

    abda-s/STM32-Phill-s-Lab-PCB-Course

    A beginner-friendly introduction to STM32 hardware design and KiCad

    32 parts2
  • 2 layers53.3 × 35.6 mmStm32 minimal dev, the printed circuit board in 3D

    Stm32 minimal dev

    amrithHN/stm32_minimal_dev

    stm32 based minimal dev board

    33 parts2GPL-3.0

Questions

What parts does the Beggining use?

28 parts, built around the STM32F103C8T6 and AMS1117-3.3. 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 Beggining KiCad files?

From the NaurasShaji/My-First-STM-PCB repository on GitHub, at the commit this page was made from: the board is beggining.kicad_pcb and its schematic beggining.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Beggining design in my own project?

Its repository states no licence, so its author keeps all rights: ask NaurasShaji before reusing the design.