

AHRSNEW
Welcome to the official repository for my AHRS project. This project documents the complete hardware design cycle—from component selection and circuit simulation to final PCB layout—for a custom Attitude and Heading…
- Size
- 41.5 × 44.6 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 34
- Nets
- 89
- Pads
- 196
- Tracks, vias
- 263, 57
- Pours
- 10
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 14 Oct 2025
- Updated
- 6 Mar 2026
Overview
AHRSNEW is an open-source printed circuit board by Prakhar730, from the Prakhar730/AHRS_PCB_Design repository on GitHub. It is a 4-layer board of 41.5 × 44.6 mm with 34 parts on 89 nets, routed with 263 tracks and 57 vias.
It is built around the STM32F401RET6 and CP2102. Its parts include 19 capacitors, 4 ICs, 4 diodes, 3 resistors and 2 connectors. It belongs with the STM32 boards of this library.
Main components
2STM32F401RET6
LQFP-64(10x10)-40℃~+85℃ 1.7V~3.6V 12bit 32 Bit 50 512KB 84MHz 96KB ARM Cortex-M4 Built-in FLASH LQFP-64(10x10) Microcontrollers (MCU/MPU/SOC) ROHSSTMicroelectronicsMicrocontrollers (MCU/MPU/SOC)CP2102
-Non-isolated TYPE-A UART(TTL) USB2.0 - USB Conversion Modules ROHSAi-ThinkerUSB Conversion Modules
README
README.mdPCB Design for an Attitude and Heading Reference System (AHRS)
A custom 4-layer PCB featuring an STM32 MCU and a 9-axis IMU, developed during a research internship at the Indian Institute of Technology, Kanpur.
Welcome to the official repository for my AHRS project. This project documents the complete hardware design cycle—from component selection and circuit simulation to final PCB layout—for a custom Attitude and Heading Reference System. It was developed as the primary focus of my six-week internship in the Department of Electrical Engineering at IIT Kanpur.
The goal of this project was to apply theoretical knowledge of electronics and embedded systems to a practical challenge: creating a compact, reliable, and manufacturable PCB for high-performance orientation sensing in robotics and navigation applications.
Table of Contents
- Key Features
- Repository Structure
- Technical Specifications
- Challenges & Solutions
- Contact & Acknowledgments
Key Features
- High-Performance Sensing: Integrates the
LSM9DS19-axis IMU, which includes a 3-axis accelerometer, 3-axis gyroscope, and 3-axis magnetometer on a single chip. - Powerful Processing: Driven by an
STM32F401RET6ARM Cortex-M4 microcontroller, providing ample computational power for real-time sensor fusion algorithms. - Stable Power Management: Features an onboard
TPS62172buck converter to efficiently step down 5V from USB to a clean 3.3V supply, validated through LTspice simulations. - Robust Connectivity: Equipped with a
CP2102USB-to-UART bridge for straightforward data streaming, programming, and debugging. - Optimized 4-Layer PCB: The layout is designed for a compact form factor while maintaining excellent signal integrity and noise immunity through dedicated ground and power planes.
Repository Structure
The project files are organized into two primary directories, separating the hardware design from the circuit simulation.
AHRS-PCB-Design/
├── PCB + Schematics/
│ ├── AHRSNEW.kicad_pro
│ ├── AHRSNEW.kicad_sch
│ └── AHRSNEW.kicad_pcb
│
└── Power Supply Simulation/
└── Draft1.ascPCB + Schematics/: This directory contains the complete KiCad project, including all source files for the schematic design and the final 4-layer PCB layout.Power Supply Simulation/: This directory holds the LTspice simulation files used to validate the power supply circuit before finalizing the hardware design.
Technical Specifications
Hardware Components
| Component | Part Number | Description |
|---|---|---|
| Microcontroller | STM32F401RET6 | ARM Cortex-M4 MCU for processing sensor data. |
| IMU Sensor | LSM9DS1 | 9-axis motion sensor (accelerometer, gyroscope, magnetometer). |
| Buck Converter | TPS62172 | Efficiently steps down 5V USB power to a stable 3.3V. |
| USB-UART Bridge | CP2102 | Provides a communication interface with a host computer. |
Software & Tools
- PCB Design: KiCad (Schematic Capture & PCB Layout)
- Circuit Simulation: LTspice (Power Supply Validation)
Challenges & Solutions
-
Interpreting Complex Datasheets
- Solution: Adopted a structured approach, breaking down datasheets section-by-section and cross-referencing with application notes and online forums.
-
Achieving a Stable Power Supply
- Solution: The power supply circuit was simulated in LTspice to validate component choices and ensure stable operation before hardware implementation.
-
PCB Layout & Signal Integrity
- Solution: Followed standard PCB best practices, including using differential pair routing for USB, keeping high-speed traces short, and utilizing ground planes to shield signals.
Contact & Acknowledgments
This project was completed under the expert supervision of Prof. Yatindra Nath Singh at IIT Kanpur. I extend my sincere gratitude to my mentors, Mr. Nagendra Kumar and Mr. Rahul Bhattacharyya, for their continuous technical guidance and support.
Feel free to connect with me to discuss this project or other topics in embedded systems and robotics.
- LinkedIn: My LinkedIn Profile URL
- GitHub: My GitHub Profile URL
- Email: My Mail
Parts
34| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 100nF | Capacitor_SMD:C_0402_1005Metric | C2, C3, C5, C12, C17 |
| 4 | 600nF | Capacitor_SMD:C_1812_4532Metric | C8, C9, C10, C11 |
| 4 | D_Schottky | Diode_SMD:D_MicroMELF | D1, D2, D3, D4 |
| 2 | 4.7 k | Resistor_SMD:R_0805_2012Metric | R1, R2 |
| 1 | 0.1uF | Capacitor_SMD:C_0402_1005Metric | C21 |
| 1 | 0u1 | Capacitor_SMD:C_0402_1005Metric | C15 |
| 1 | 100K | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 100n | Capacitor_SMD:C_0402_1005Metric | C13 |
| 1 | 10nF | Capacitor_SMD:CP_Elec_3x5.3 | C4 |
| 1 | 10u | Capacitor_SMD:CP_Elec_4x5.3 | C16 |
| 1 | 10uF | Capacitor_SMD:CP_Elec_4x5.3 | C1 |
| 1 | 1u | Capacitor_SMD:C_0603_1608Metric | C14 |
| 1 | 2.2u | Inductor_SMD:L_0201_0603Metric | L1 |
| 1 | 22u | Capacitor_SMD:CP_Elec_8x10.5 | C18 |
| 1 | 4.7uF | Capacitor_SMD:CP_Elec_4x5.4 | C7 |
| 1 | 4u7 | Capacitor_SMD:CP_Elec_4x5.4 | C6 |
| 1 | CP2102 | Valve:QFN28N5X5-0p5P_SIL | U3 |
| 1 | Conn_01x04_Socket | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | LSM9DS1TR | Valve:LGA-24_3X3P5X1_STM | U1 |
| 1 | STM32F401RET6 | Valve:LQFP64-10x10mm | U2 |
| 1 | SW_Push | Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK | SW1 |
| 1 | TPS62172DSGT | Valve:DSG0008A | U4 |
| 1 | USB_A | Library:USB_A_TE_292303-7_Horizontal_fliped | J1 |
Similar boards
- 2 layers154 × 129.9 mm

- 2 layers80 × 60 mm

VantageF401RE
AthulKrishnaGirish/VantageF401RE
STM32F401RE-based 2-layer evaluation and development board designed for the Mixed Traces PCB Design Competition.
47 parts - 4 layers100 × 62 mm

Etch a sketch
disposedtrolley/etch-a-sketch
STM32-based Etch A Sketch widget with an OLED display and rotary encoders.
38 parts - 4 layers123.5 × 108.7 mm

Shredder pcb
jackmday-uofa/compact-shredder-pcb
PCB schematic and design for the Compact Shredder Design Version 2
114 parts - 2 layers100 × 100 mm

- 4 layers60 × 60 mm

- 2 layers100 × 100 mm

MIXED TRACE (STM32F401RET6)
navaneeth-linh/CoreTrace-CT-F401RE
STM32F401RET6 Evaluation Board — Mixed Traces PCB Design Competition 2026 | Team CoreTrace
43 parts - 4 layers118 × 250 mm

Questions
How big is the AHRSNEW PCB?
It measures 41.5 × 44.6 mm and has 4 copper layers, 1.6 mm thick.
What parts does the AHRSNEW use?
34 parts, built around the STM32F401RET6 and CP2102. 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 AHRSNEW KiCad files?
From the Prakhar730/AHRS_PCB_Design repository on GitHub, at the commit this page was made from: the board is PCB + Schematics/AHRSNEW.kicad_pcb and its schematic PCB + Schematics/AHRSNEW.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the AHRSNEW design in my own project?
Its repository states no licence, so its author keeps all rights: ask Prakhar730 before reusing the design.