Contact Sales & After-Sales Service

Contact & Quotation

  • Inquire: Call 0086-755-23203480, or reach out via the form below/your sales contact to discuss our design, manufacturing, and assembly capabilities.
  • Quote: Email your PCB files to Sales@pcbsync.com (Preferred for large files) or submit online. We will contact you promptly. Please ensure your email is correct.
Drag & Drop Files, Choose Files to Upload You can upload up to 3 files.

Notes:
For PCB fabrication, we require PCB design file in Gerber RS-274X format (most preferred), *.PCB/DDB (Protel, inform your program version) format or *.BRD (Eagle) format. For PCB assembly, we require PCB design file in above mentioned format, drilling file and BOM. Click to download BOM template To avoid file missing, please include all files into one folder and compress it into .zip or .rar format.

Design Raspberry Pi HATs & Pico Add-ons in EasyEDA: Complete Tutorial

There’s something incredibly satisfying about designing a custom add-on board for your Raspberry Pi and seeing it arrive as a professionally manufactured PCB. I’ve been through this process dozens of times, and I can tell you that EasyEDA Raspberry Pi projects are among the most rewarding designs you can tackle as a PCB engineer or hobbyist.

Whether you’re creating an EasyEDA Raspberry Pi HAT for a sensor array, motor controller, or audio interface—or designing a compact expansion board for the EasyEDA Raspberry Pi Pico—this guide covers everything you need to know. We’ll walk through the entire workflow from understanding specifications to getting your boards manufactured and assembled.

Why Use EasyEDA for Raspberry Pi Projects

Before diving into the technical details, let’s talk about why EasyEDA makes such a good choice for Raspberry Pi add-on board design.

EasyEDA is a free, cloud-based PCB design tool that integrates directly with JLCPCB for manufacturing and LCSC for components. This tight integration means you can go from idea to professionally manufactured boards in a matter of days, often for just a few dollars. The platform includes over 700,000 components in its library, many with verified footprints specifically tested with JLCPCB’s assembly service.

For Raspberry Pi projects specifically, EasyEDA offers several advantages:

  • Pre-made templates and footprints for Pi HATs and Pico modules
  • Community-contributed libraries with hundreds of Pi-related components
  • Direct access to JLCPCB assembly parts (important when you want your HAT manufactured and assembled)
  • Free 3D preview to verify your board fits correctly on the Pi
  • Seamless Gerber export optimized for JLCPCB production

The learning curve is gentle enough for beginners while offering sufficient depth for complex multi-layer designs.

Understanding Raspberry Pi HAT Specifications

If you want your board to officially qualify as a HAT (Hardware Attached on Top), there are specific requirements you must follow. The Raspberry Pi Foundation maintains these specifications to ensure compatibility and a consistent user experience.

Official HAT Mechanical Requirements

SpecificationRequirement
Board Dimensions65mm × 56mm
Mounting Holes4 holes, 2.75mm diameter, aligning with Pi mounting holes
Corner RadiusRounded corners (3mm radius recommended)
GPIO ConnectorFull 40-pin header
Minimum SpacingAt least 8mm from Pi (10-12mm recommended)
PoE Header ClearanceMust not foul Pi 3B+/4B/5 PoE header

HAT Electrical Requirements

Beyond mechanical specs, there are important electrical considerations:

ID EEPROM: A true HAT must include an ID EEPROM connected to GPIO0 (ID_SD) and GPIO1 (ID_SC). This EEPROM stores vendor information, GPIO configuration, and device tree data that allows the Pi to automatically configure itself at boot.

EEPROM Pull-ups: GPIO0 and GPIO1 require 3.9KΩ pull-up resistors to 3.3V. These are the only permitted connections to these pins besides the EEPROM itself.

Back-powering Safety: If your HAT supplies power to the Pi through the GPIO header, you must include a reverse current protection diode and be able to supply at least 1.3A (2A recommended) continuously.

GPIO Boot State Protection: During boot, GPIO6, GPIO14, and GPIO16 may briefly become outputs on older firmware. Your circuit should tolerate or protect against this.

pHAT and uHAT Form Factors

Not every project needs the full HAT size. Smaller form factors are available:

Form FactorDimensionsNotes
HAT65mm × 56mmFull size, requires 4 mounting holes
pHAT65mm × 30mmPi Zero compatible, narrower
uHAT (Micro HAT)40mm × 30mmMinimal footprint

For pHATs and uHATs, you still follow the same electrical specifications—the only difference is the board size and number of mounting holes.

Setting Up Your EasyEDA Raspberry Pi HAT Project

Let’s walk through creating a HAT design from scratch in EasyEDA.

Step 1: Create a New Project

Log into EasyEDA (either the web version or desktop client) and create a new project. I recommend naming it descriptively—something like “SensorHAT_v1” rather than just “HAT.”

Go to File → New → Project and give it a name. Then create a new schematic within that project (File → New → Schematic).

Step 2: Find the 40-Pin Header Component

The heart of any HAT design is the 40-pin GPIO header. In EasyEDA:

  1. Open the Libraries panel (press L or click the library icon)
  2. Search for “Raspberry Pi 40 pin header” or “2×20 pin header”
  3. Look for components with the JLCPCB Assembly icon if you want your boards assembled
  4. Place the header on your schematic

Several community-contributed templates exist specifically for HAT designs. Search for “Raspberry Pi HAT template” in the EasyEDA library or OSHWLab to find starting points that include the correct board outline, mounting holes, and GPIO header already positioned.

Step 3: Add the ID EEPROM Circuit (Optional but Recommended)

For a proper HAT, add the ID EEPROM circuit:

  • EEPROM: CAT24C32 or similar I2C EEPROM (24C32/24C64 are common choices)
  • Pull-up resistors: 2× 3.9KΩ to 3.3V on ID_SD and ID_SC
  • Decoupling capacitor: 100nF on EEPROM VCC

Connect the EEPROM’s SDA to GPIO0 (Pin 27) and SCL to GPIO1 (Pin 28). These pins are dedicated to HAT identification and should not be used for other purposes.

Step 4: Design Your Circuit

Now add your application-specific circuitry. A few tips for HAT designs:

Power considerations: If your circuit needs 5V, tap it from GPIO pins 2 and 4. For 3.3V, use pins 1 and 17. Always ensure your power draw is within the Pi’s supply capability.

I2C devices: Use GPIO2 (SDA1) and GPIO3 (SCL1) for I2C peripherals. These have on-board 1.8KΩ pull-ups to 3.3V already.

SPI devices: SPI0 uses GPIO10 (MOSI), GPIO9 (MISO), GPIO11 (SCLK), and GPIO8/7 for CE0/CE1.

UART: GPIO14 (TXD) and GPIO15 (RXD) provide serial communication. Note that GPIO14 is one of the pins that may briefly go high during boot.

Step 5: Convert to PCB and Set Board Outline

Once your schematic is complete:

  1. Click Design → Convert to PCB
  2. In the PCB editor, draw the board outline on the Board Outline layer
  3. For a full HAT: create a 65mm × 56mm rectangle with 3mm corner radius
  4. Add four 2.75mm mounting holes at the standard positions

The mounting hole positions (measured from the bottom-left corner) are:

HoleX PositionY Position
13.5mm3.5mm
261.5mm3.5mm
33.5mm52.5mm
461.5mm52.5mm

Step 6: Place and Route Components

Position your components logically:

  • Place the 40-pin header in its standard position (aligning with the GPIO header location)
  • Keep high-frequency components close to the header
  • Route power traces wider than signal traces (0.4mm minimum for power, 0.254mm for signals is typical)
  • Use a ground plane on at least one layer for better EMI performance

Use EasyEDA’s Design Rule Check (DRC) to verify your layout meets manufacturing constraints. For JLCPCB, the standard minimums are 0.127mm trace width and 0.127mm spacing.

Designing Raspberry Pi Pico Add-on Boards in EasyEDA

The EasyEDA Raspberry Pi Pico workflow differs from HAT design since the Pico is a microcontroller board rather than a single-board computer. You have two main options: design a carrier board for the Pico module, or design around the RP2040 chip directly.

Understanding Pico Module Dimensions

The Raspberry Pi Pico (and Pico 2) has a unique form factor that supports multiple mounting methods:

SpecificationValue
Board Size51mm × 21mm × 1mm
Pin Pitch2.54mm (0.1″) standard
Total Pins40 (20 per side)
Mounting Holes4× 2.1mm diameter
Edge TypeCastellated + through-hole

The castellated edges are what make the Pico special—you can either solder it directly to a carrier board (SMD style) or use pin headers for removable mounting.

Finding Pico Footprints in EasyEDA

EasyEDA’s library includes several Raspberry Pi Pico components:

  1. Search “Raspberry Pi Pico” in the Libraries panel
  2. You’ll find options for:
    1. Through-hole mounting (using pin headers)
    1. SMD/castellated mounting (soldering directly to carrier)
    1. Pico W variants (with WiFi)
    1. Pico 2 variants (RP2350-based)

Choose the footprint that matches your intended mounting method. For prototyping, through-hole is easier. For production, SMD mounting creates a more compact and robust assembly.

Pico Carrier Board Design Tips

When designing a carrier board for the Pico:

Power supply considerations: The Pico has an onboard buck-boost regulator that accepts 1.8V to 5.5V input on VSYS. Don’t apply power to both USB and VSYS simultaneously unless you add proper protection.

GPIO voltage: All Pico GPIOs are 3.3V only. Do not connect 5V signals directly—use level shifters if needed.

ADC inputs: The Pico has 4 ADC channels (GPIO26-29) with 12-bit resolution. Keep analog traces short and away from digital signals.

USB breakout: If your carrier needs USB, you can either use the Pico’s micro-USB connector or break out the USB signals (GPIO TP2 and TP3) to your own connector.

Debug access: Consider breaking out the SWD pins (SWDIO, SWCLK, GND) to a header for programming and debugging.

Creating a Pico Expansion Board: Practical Example

Let’s design a simple sensor expansion board for the Pico:

Step 1: Create a new EasyEDA project and schematic.

Step 2: Place the Pico module component. Search for “Raspberry Pi Pico TH/SMD” for a versatile footprint.

Step 3: Add your peripheral circuits. For this example:

  • BME280 environmental sensor (I2C on GPIO4/5)
  • WS2812B addressable LED (data on GPIO16)
  • Two tactile buttons (GPIO14 and GPIO15)
  • Power LED on 3.3V

Step 4: Wire everything using EasyEDA’s wire tool. Add net labels for clarity.

Step 5: Convert to PCB and create a board outline. A 60mm × 40mm board gives plenty of room.

Step 6: Position the Pico footprint centrally, with the USB connector facing the edge.

Step 7: Route traces. Use 0.3mm traces for signals and 0.5mm for power.

Step 8: Add silkscreen labels for GPIO numbers and component positions.

Working with EasyEDA’s Component Library for Pi Projects

One of EasyEDA’s strengths is its extensive component library. Here’s how to effectively use it for Raspberry Pi projects.

Finding JLCPCB Assembly-Compatible Parts

If you want your boards assembled by JLCPCB:

  1. In the Library panel, filter by “LCSC Assembled”
  2. Look for the SMT icon indicating assembly availability
  3. Check whether the part is “Basic” (no setup fee) or “Extended” ($3 setup fee per unique part)

For cost-effective designs, try to use Basic parts for common components like resistors, capacitors, and common ICs.

Community Templates for Raspberry Pi

EasyEDA’s community has contributed numerous Raspberry Pi templates:

  • HAT Templates: Pre-made board outlines with mounting holes and GPIO header
  • Pico Modules: Various footprint options for different mounting styles
  • Pi Zero Templates: Smaller form factor for Zero/Zero W projects

Search OSHWLab (oshwlab.com) for “Raspberry Pi” to find complete open-source projects you can clone and modify.

Creating Custom Components

Sometimes you’ll need components not in the library. To create a custom symbol and footprint:

  1. File → New → Symbol (for schematic symbol)
  2. File → New → Footprint (for PCB footprint)
  3. Use the Footprint Manager to link them together
  4. Save to your personal library

For Raspberry Pi projects, you might need custom footprints for:

  • Specific connector types
  • Custom sensor modules
  • Specialized display connectors

Manufacturing Your Raspberry Pi Add-on Board

Once your design is complete, it’s time to manufacture.

Exporting Gerber Files

EasyEDA makes Gerber export straightforward:

  1. In the PCB editor, go to Fabrication → PCB Fabrication File (Gerber)
  2. Review the preview to ensure all layers look correct
  3. Download the Gerber ZIP file

Ordering from JLCPCB

The direct integration with JLCPCB streamlines ordering:

  1. Click “Order at JLCPCB” in EasyEDA
  2. Your Gerber files upload automatically
  3. Choose PCB specifications:
    1. Layers: 2 (sufficient for most HATs)
    1. Thickness: 1.6mm (standard)
    1. Color: Green is cheapest, other colors add small cost
    1. Surface Finish: HASL (lead-free recommended)

For HATs specifically, 1.6mm thickness is standard and ensures proper alignment with the Pi’s mounting holes.

Using JLCPCB Assembly Service

For assembled boards:

  1. Enable “SMT Assembly” in the order form
  2. Upload your BOM (Bill of Materials) file
  3. Upload your CPL (Component Placement List) file
  4. Select which parts to assemble

EasyEDA generates JLCPCB-compatible BOM and CPL files directly:

  • Fabrication → BOM
  • Fabrication → Pick and Place File

Review the part matching carefully. JLCPCB’s system will show you any parts that don’t have exact matches, and you can substitute equivalents.

Useful Resources for EasyEDA Raspberry Pi Development

Here are the essential resources for your projects:

Official Documentation

ResourceURLDescription
HAT+ Specificationdatasheets.raspberrypi.comOfficial HAT design requirements
Pico Datasheetdatasheets.raspberrypi.comPico dimensions and pinout
EasyEDA Tutorialsdocs.easyeda.comComplete EasyEDA documentation
JLCPCB Capabilitiesjlcpcb.comManufacturing specifications

Footprint and Template Libraries

SourceURLContent
EasyEDA Libraryeasyeda.com/componentsOfficial component library
OSHWLaboshwlab.comCommunity open-source projects
Raspberry Pi GPIO Pinoutpinout.xyzInteractive GPIO reference
LCSC Componentslcsc.comParts database with datasheets

Design Files and Templates

ResourceDescription
Raspberry Pi HAT TemplatesSearch “HAT template” in EasyEDA
Pico FootprintsSearch “Raspberry Pi Pico” in library
KiCad Pi LibrariesAvailable on GitHub (can convert to EasyEDA)
SnapEDAsnapeda.com – verified footprints

Community Resources

  • Raspberry Pi Forums (forums.raspberrypi.com) – Active community for hardware questions
  • EasyEDA Forum (easyeda.com/forum) – EasyEDA-specific help
  • r/raspberry_pi on Reddit – Community projects and advice
  • GitHub – Search for “raspberry pi hat easyeda” for open-source projects

Common Design Mistakes to Avoid

After designing numerous Pi add-on boards, here are the pitfalls I see most often:

Wrong header orientation: Double-check that pin 1 of your GPIO header matches pin 1 on the Pi. Getting this wrong means a completely non-functional (or damaged) board.

Insufficient clearance for USB/Ethernet: On full-size Pi models, ensure your HAT doesn’t block the USB and Ethernet ports on the opposite side.

Forgetting PoE header clearance: Pi 3B+, 4B, and 5 have a 4-pin PoE header that your HAT must not obstruct.

Wrong mounting hole sizes: Use 2.75mm holes, not 3mm. The extra tolerance matters for proper alignment.

ID_SD/ID_SC conflicts: If you’re using I2C devices, don’t connect them to GPIO0/1—those are reserved for the ID EEPROM.

Power draw exceeding limits: The 3.3V rail from the Pi can supply limited current. For high-power projects, add your own regulation.

Frequently Asked Questions

Can I design a Raspberry Pi HAT in EasyEDA without following the official specification?

Yes, you can design any add-on board for the Pi using EasyEDA. However, you can only call it a “HAT” if it meets all official requirements including the ID EEPROM, specific dimensions, and mounting holes. Non-compliant boards are simply called “add-on boards” or “shields.”

Does EasyEDA have official Raspberry Pi Pico footprints?

EasyEDA’s library includes multiple community-contributed Pico footprints for both through-hole and SMD mounting. Search for “Raspberry Pi Pico” in the library. While not officially from Raspberry Pi, these footprints are based on the official datasheet dimensions and are verified by the community.

How do I ensure my HAT components are available for JLCPCB assembly?

When selecting components, filter the EasyEDA library by “LCSC Assembled” to show only parts that JLCPCB can assemble. Check each component’s availability and whether it’s a Basic or Extended part. Basic parts have no setup fee; Extended parts add $3 per unique component type.

Can I use KiCad Raspberry Pi libraries in EasyEDA?

EasyEDA can import Eagle format libraries (.lbr). While it doesn’t directly import KiCad libraries, many KiCad libraries have been converted and uploaded to EasyEDA’s community library. You can also convert KiCad libraries to Eagle format first, then import into EasyEDA.

What’s the minimum order quantity for Raspberry Pi HAT PCBs from JLCPCB?

JLCPCB’s minimum order is 5 PCBs. For boards up to 100mm × 100mm (which includes standard HAT dimensions), the cost is typically around $2-5 for 5 boards plus shipping. Assembly minimum is also 5 boards.

Conclusion

Designing EasyEDA Raspberry Pi add-on boards—whether full HATs, pHATs, or Pico expansion boards—is remarkably accessible with modern tools. EasyEDA’s free platform, combined with JLCPCB’s affordable manufacturing, makes it possible for anyone to create professional-quality custom hardware.

The key is understanding the specifications before you start. For HATs, that means the precise mechanical dimensions, mounting hole positions, and ID EEPROM requirements. For Pico add-ons, it’s about choosing the right mounting method and respecting the module’s power and voltage requirements.

Start with a simple project—perhaps an LED indicator HAT or a button expansion for the Pico. Once you’ve been through the complete cycle from schematic to manufactured board, you’ll have the confidence to tackle more complex designs. The Raspberry Pi community is incredibly supportive, and there are countless open-source projects on OSHWLab and GitHub that you can learn from or build upon.

Your first EasyEDA Raspberry Pi HAT or EasyEDA Raspberry Pi Pico expansion might take a weekend to design. But once you hold that professionally manufactured board in your hands and plug it into your Pi, you’ll understand why so many engineers and hobbyists find this process addictive.

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Sales & After-Sales Service

Contact & Quotation

  • Inquire: Call 0086-755-23203480, or reach out via the form below/your sales contact to discuss our design, manufacturing, and assembly capabilities.

  • Quote: Email your PCB files to Sales@pcbsync.com (Preferred for large files) or submit online. We will contact you promptly. Please ensure your email is correct.

Drag & Drop Files, Choose Files to Upload You can upload up to 3 files.

Notes:
For PCB fabrication, we require PCB design file in Gerber RS-274X format (most preferred), *.PCB/DDB (Protel, inform your program version) format or *.BRD (Eagle) format. For PCB assembly, we require PCB design file in above mentioned format, drilling file and BOM. Click to download BOM template To avoid file missing, please include all files into one folder and compress it into .zip or .rar format.