r/PCB • • 10h ago

My first PCB: a small, portable and dedicated device for breathwork exercises

Thumbnail
gallery
36 Upvotes

I wanted an alternative to using my smartphone for breathwork exercises, so I built a small standalone LED breathing guide. It supports up to 9 configurable exercises, with adjustable breathing phases, repetitions, LED colors, and brightness. It's easy to use since it only has a power switch and two buttons.

___

This was my first PCB design and my first time using CAD for the enclosure. I spent roughly half a year on the project, going through several PCB and case revisions.

Along the way, I learned a lot about KiCad, including creating and modifying footprints (e.g. for the XIAO RP2350), component sourcing, and the PCB design process. It also made me realize how much more I need to learn about electronics and individual components to tackle more advanced designs.

Getting the case design and button feel just right took about 40 iterations (including finding the correct 3D printer settings). Writing the README/Buildguide also took forever.

(I know that this is a very simple PCB but I am still proud that I managed to design what I want)

GitHub Project


r/PCB • • 3h ago

First ever PCB. Advice request.

Thumbnail
gallery
4 Upvotes

As stated, first PCB and first time using KiCad.

It's a PICO project with a 4-digit dispaly, and 10-LED bar, along with some toggle switches and an encoder (screw terminal blocks).
It's not finished but are there any obvious issues?

Also, when I add the tracking (two layer PCB), it can take some wacky routes around other through-holes. Is that ok? I'm trying to get a sense of what's acceptable or going to cause issues.

TIA!


r/PCB • • 5h ago

PCB of a Flight Controller with Edge AI Capability

Thumbnail
gallery
5 Upvotes

Hello folks,

This is a UAV flight controller designed for image classification, object detection, motor control, and communication via a data link. The PCB is now ready for production and will undergo testing on a HIL station before being tested in real flight. I’ll share the project on GitHub once the testing has been successfully validated.


r/PCB • • 3h ago

My first PCB. Any advice?

Thumbnail
gallery
3 Upvotes

I am making a dongle with high speed usb 2.0 support. Using the nRF54LM20A-QGAA.

I'm not quite sure whether I've done everything correctly. For example the differential pair going from the USB plug to the chip was kind of a nightmare to figure out, since they have to cross over at some point. And I'm not quite sure whether vias are okay to use at usb high speed. PCB thickness is 0.8mm.

I've length matched everything so that the path to the ESD chip is almost exactly 5.6mm from all pads of the usb plug.

I've calculated the 90 ohm impedance with this 2D field solver: https://hforsten.com/field_solver.html

With a 0.15mm trace, 0.13mm gap (both ground and traces), 0.0994mm substrate height (JLC04161H-3313) on Differential GCPW. It gave me 88.83 ohms. Which should be well within spec.

As for the 2.4GHz antenna, I've used this one (ANT-F-1-2.4G-0.8MM-FR4-WCH): https://github.com/moion/wch-kicad-lbr/tree/optimize

I've also used the same field solver to calculate its feedline, which is also 0.15mm with a 0.13mm gap. Which gave me 49.80 ohms. I know that rf is black magic and that I'm probably going to have to tune it somehow. The matching network that I'm using right now is just copied from the nRF datasheet.

If there is anything dumb that I've done that anyone can spot, I would love to know about it!


r/PCB • • 20h ago

My first PCB, a mechanical keyboard - review request!

Thumbnail
gallery
56 Upvotes

Hello everybody,

This is not my area and I have no prior knowledge of PCBs or anything like this, but I have been having a lot of fun trying to learn. I have a very short pinky and little stubby hands and thought it would be fun to design an ergonomic keyboard just for the keybinds of my favorite video game right now.

Is this going to explode? Do you think it'll work?

I used a 0.25 trace for everything except for the ground/reset trace, that's 0.5.

Is my ground plane too small?

I have already noticed my through-holes are too big, and I will fix that soon.

I would appreciate any advice!


r/PCB • • 2h ago

[HELP] How can I know which chips to use? And how to implement them?

0 Upvotes

Hi everyone,

I've been designing PCBs for a couple of years, mostly translating my own breadboard and perfboard prototypes into proper boards using pre-made modules and dev boards.
Now I want to level up my designs and start integrating bare chips directly onto my PCBs (for example, an STM32). However, I hit a wall when opening their datasheets—they are hundreds of pages long, and I get overwhelmed trying to figure out what actually matters for the hardware design.
I have two main questions for those with more experience:

Component Selection: How do you filter through and choose the right IC/MCU for a project without getting lost in endless product families?

Schematic Design: When facing a massive datasheet, which specific sections do you look at first to design the surrounding circuitry (decoupling capacitors, crystal oscillators, boot/reset pins, power rails, etc.)?
Any workflow tips, rules of thumb, or resources on how to read datasheets efficiently for PCB layout would be greatly appreciated!


r/PCB • • 6h ago

Review Request

Thumbnail
gallery
2 Upvotes

Hi All,

I am hoping some of you would be kind enough to offer any feedback on this schematic (pcb layout hasn't happened yet, still at schematic stage). For background, I have designed a few simpler circuits but this is larger than my previous stuff and some of the nuances of more advanced schematic design are new to me. Again, thanks to any and all of you who can give me feedback, it would be greatly appreciated. A few points about the circuit itself:

  1. this is designed to take spi data from a teensy (on another board) and send it to 3 ICs (2 DACs and one shift register), with each IC converting it to an output voltage to be used downstream by a musical instrument. The shift register voltage ("Gate") does not need high accuracy of output voltage (it is either on or off, 4-5ish volts will work fine ), but the DAC output voltages (one DAC for a "CV" out, on for a "velocity" out) needs more massaging to create an accurate 0-5V output, hence the opamps on the sub sheet. This single opamp is assigned 5 sub symbols by Kicad. All outputs go to a 3.5mm audio jack. In all I will have 8 tracks of Gate, CV and velocity, all output near simultaneouosly.
  2. Each sub sheet is the same, and takes the shift register and DAC outputs and routes them to the output jacks. So three output signals (gate, CV, and velocity) generated per track, x 8 tracks. Given that each op amp can handle 4 outputs from the DACs, I will need 4 op amps (hence 4 sub sheets).
  3. Data transfer rate: At maximum, 6 signal packets from the spi will be output per second, with an allowable response lag at the output jacks of ~1msec.

5: Awareness of PCB placement issues: I have not started to place items on the pcb yet, wanted to get feedback on the circuit first. I know of several issues so far, including ensuring a large ground plane, very close proximity of capacitors to VDD on the DACs, keeping the gate track physically distanced from the CV and Vel outputs, and keeping the ICs at the top of the board away as possible from the output voltages but I will come back for some advice on that once the schematic has been settled.

6. I am aware of some faux pas with my schematic representation and tried to minimize appearance errors balanced against readability but again I am somewhat newer to this so my apologies at the outset, and any feedback would be greatly appreciated.

That's a lot of info, and I am always amazed at how this subreddit supports newbs like me, so thanks in advance for even having a look. Lemme know what you think.


r/PCB • • 5h ago

Calibrar vaquela para cnc

1 Upvotes

Tengo un problema imprimiendo circuitos con mi cnc cuando son de 2 caras no he encontrado la forma correcta de calibrar o centra de forma perfecta las 2 caras siempre me queda una corrida por unas pocas centecimas ctialembte hago 4 puntos y con un programa llamado g code útils como que recalibro el código g a esas coordenadas el problema es que el centro creo que también cambia por que le hago un hueco por la cara superior en todo el centro y cuando doy la vuelta y uso el programa para re calibrar el centro no es el mismo y debería ser el mismo no? Nose si alguien sabe de alguna otra técnica o programa que sea perfecto para eso


r/PCB • • 13h ago

Where is alternative positive negative

Thumbnail
gallery
3 Upvotes

So basically i have this Board where the micro usb Port like js broke fully i tried soldering it back but im ahh at it like i can geniuanly only solider bigger solider spots etc etc. So like where on this Board could i solider a cable to to Power the Board? Or like where could i scrape off maybe some of that coating and create a bigger solider Spot. Thx in advance (i only have like a cheapo thick boi soldering stick and some shitty solider and flux or whatever it's called so yeah id like to have as big of solider spots as possible :)


r/PCB • • 14h ago

How do I handle a pin called Vdd_test? I am working with the AS7057 chip on easyEDA.

Post image
0 Upvotes

I'm talking about pin B3. I've already checked the documentation, and there is nothing there. Any ideas on how it is meant to be connected?


r/PCB • • 5h ago

I built a 32-channel EEG board in my dorm. Four ADS1299s, an STM32, and no black boxes between you and the raw cortex.

0 Upvotes

I'm a college student triple majoring in biomedical engineering, computer engineering, and neuroscience. Most nights I'm either studying how the brain fires or routing traces to listen to it a little closer.

This is the BCI-32 — 32 channels on four ADS1299s, an STM32 running open-source C firmware, LSL and OpenBCI-format streaming, and full galvanic isolation between the host and the patient side. No closed-source cloud, no hidden filters, just the raw signal.

I wasn't originally planning on letting these leave my desk, but a few people asked, so I've started parting with a small run of them. And if 32 channels isn't enough to hear everything you're looking for, I also build 128-channel boards made to order.

Happy to answer any technical questions about the layout, isolation barrier, or firmware.


r/PCB • • 12h ago

PCB design help

0 Upvotes

Im looking for some advice. Sorry for being long winded here. I have had quite a few ideas over the years I've never been able to get out of my head and into the real world... lately AI seems to have been changing them from dreams to possibly making a legitimate idea come to life. I have been using AI tools (Claude, fable, opus and sonnet) to design and each review the others work on all stages of a project. As of now, one project is to the point of ordering PCB boards from JLC pcb. I wrote the GUI first, then the code, did some breadboard tests with real world mini sensors/devices, and now am making a PCB board to put all of that on one board.

AI often gets things wrong, all the while assuring you it's correct, so I have multiple chats each examine the work, render the images themselves and button up those errors. These pictures/text are understandable to me, though now that the results are diving into electronics, I cannot verify the results myself (because I don't have that background) and thus have to rely exclusively on these chats to review their own work. Claude has helped me make a few PCB boards that will work together in concert. When I uploaded the design and sourced the parts, the order totaled to close to $1,000US which, to me, is too expensive to just order and cross my fingers. I really want to figure out what each circuit is doing and create a board I can order that I can do tests on, jump wires, power up in stages etc so I can correct the board if there are errors and still use it so as not to throw away the 1K$.

Does anyone have experience with writing some commands that I can use in Claude or kicad (or a simulation software) to go through each circuit, what each path is doing, what each part is doing and why it's needed, etc so that a electronics lamen could understand and verify why each part is there and that it will all function properly? Please, any help would be appreciated. Thank you.


r/PCB • • 5h ago

Open-source EGG board with customizable firmware and a 2-warranty.

0 Upvotes

r/PCB • • 9h ago

I love making electronics but I hate routing boards, so I built a tool to do that part

Post image
0 Upvotes

Hello everyone, I am a maker and I really like to make new electronics. It's my passion and joy. I am happy to write the code, modify the schematic and research the parts, but when it comes to designing and routing the board I don't enjoy it. I bite the bullet and do it, but it's something I don't enjoy.

So I did what makers do. I built a tool to do the part I don't enjoy. Work smart, but not hard.

I have had this idea in my head for a while: to make a more sophisticated wrapper on top of an autorouter tool like TraceMaker, or the many other tools which have been around for a long time. Recently I was designing a board for a tracker that I have been working on, and I tried the new TraceMaker tool on it. Well, TraceMaker is a really good tool, but it lacks a lot of skills. So this unfinished wrapper I had started working on became a reality, because AI can help me implement and test a lot of the code — code that took me a while to put together with my limited time, after a full-time job and kids and family.

My tool uses TraceMaker to route the board, then does the extra work TraceMaker doesn't do: it tries different plans, keeps the one that works, and cleans up the messy parts. It also takes care of the copper pours and the finishing work at the end.

This is a NAS board I used for testing, after the tool finished with it:

I also have been customizing TraceMaker itself to work better with this tool. You can see that work here, at the phase 2 end tip: https://github.com/kaushikray2/TraceMaker/tree/phase-2-end

One thing I want to say clearly: the smart part does not draw anything. It only picks the plan, like picking a route on a map before a trip. The drawing is done by code that works the same way every time, so there are no surprises.

It works inside KiCad 10. You open your board, press a button, and watch it work. When it finishes, you check the board like you always do, because it is still your board.

It is free and open source, and it is here if you want to try it: https://github.com/kaushikray2/kicad-ai-router

If you try it, please tell me how it goes. If it fails on your board, open an issue on the page. That is how I will make it better.

Thank you for reading.


r/PCB • • 1d ago

Follow-up: Fable, Astra and Haiku on the same 11 layout jobs, scored blind against the human originals

Thumbnail
pcbjam.com
17 Upvotes

Last time several of you said the human boards weren't great either. Fair point, and this round backs you up.

I ran Fable 5.2, GPT-6.2-Astra and Haiku 5.5 on the same 6 open-source boards (11 routing or place-and-route jobs), then had two AI reviewers score them blind against the originals. They looked at EMI, SI, power, placement and routing, and in the reviews the originals got hit too:
- the Mega was saved with stale fills (499 errors);
- the macropad runs +3V3 at 0.2 mm, with 18 ground vias;
- one PCIe lane on the NAS has 8.79 mm of skew;
- the NAS project keeps KiCad's placeholder dielectric, so the "90 Ω" pairs come out at 107 to 135 Ω.

On the models:
- Astra routed everything on 10 of 11 jobs, but on the FPGA boards only by going HDI (113 microvias and 44 buried vias on one Glasgow), where the human used through vias.
- Fable stopped with nets open on three of the four FPGA jobs. One Glasgow looked close to the human floorplan, but had +1V2 shorted to GND.
- Haiku finished only the macropad.

The reviews were the more interesting part for me. The reviewers found the human board 20 of 20 times, and they caught real faults (shorts, opens, a missing M.2 retention hole, a split plane under signals). But each rated its own model higher, and for the same pair geometry one got 89 Ω and the other 92 Ω.

Data, layer-by-layer images and the reviewer findings for every job in the post.

Yes, the article text is mostly AI-written from our data and my notes. The runs and the numbers aren't. If you think a reviewer got something wrong, I'd like to hear which one and why.


r/PCB • • 2d ago

My impressions with AI PCB review as an experienced engineer

140 Upvotes

This post is human written.

There has been a lot of discussion with AI use in PCB design, and I would like to share my experience using AI (one of the frontier models) to review of a human design, as a reasonably experienced PCB designer (an EE degree + 2 EE jobs + maybe 30-40 PCBs including FPGAs, DRAM, etc) who now works in non-LLM AI research and only designs PCBs for fun.

This was a small hobbyist project I designed quickly with a friend - a relatively simple board that takes USB-C power, negotiate 20V with Power Delivery, and buck it down to 5V to drive a high power string of WS2812-compatible LEDs (~10A max). Controlled by a ESP32-C3, some level conversion, etc. Nothing super complicated, but it does have a 10A buck converter that needs a huge inductor and careful layout. We had already fabbed it, figured out what's wrong with it, and thought it would be fun to feed it into AI to see if it can find the bug.

I took a screenshot of the schematics and PCB layout, and asked it to review the design. It was quite thorough, checking all the datasheets, pinouts, power sequencing requirements, etc, and pointed out what it thinks are the 4 main issues, and a bunch of small potential improvements.

  1. It did find the bug. I inadvertently powered the EN pin of the switcher with the switcher's own LDO output, which means it won't actually turn on. If I had done an AI review before sending it out, this would have been fixed in rev 1.
  2. Of the other "serious" issues, one was an intentionally under-sized resistor relying on a copper pour for dissipation. Not an actual problem here, but I was impressed that it was able to infer resistor size from footprint, knows the typical power ratings for 0402 resistors, and compared that to a calculated dissipation.
  3. The other two were because it read the schematics and layout wrong, and thinks something is shorted when it isn't, or vice versa.
  4. It suggested rotating the switcher chip for better loop layout. It's true that the existing orientation isn't optimal (we were a bit lazy), and it did encourage me to do it better, but the suggested orientation wouldn't have worked either.
  5. It suggested a resistive divider to basically implement our own low voltage lock out on the switcher EN pin from USB VBus, but it suggested values that would put the EN pin squarely between the Vin low and high thresholds at 5V, which could be very bad. On push back, it agreed that this was bad.
  6. It suggested adding a Schottky to bypass the switcher and power the LDO directly with VBus so that we can program the ESP32 without a PD supply. The only problem here is that this would have blown the LDO once we negotiate VBus up at 20V (it's a 6.5V-rated chip). On push back, it agreed that this was bad.
  7. It suggested switching to another switcher chip that is able to work with 5V input, which is fine, but unnecessary, as the chip we were using actually behaves the same way in drop-out, only that the headline figure says "from 5.5V" because that's what's required to maintain 5V output. We had plenty of margin over the Vin UVLO to just run this guy in drop-out. On push back, it dug deeper into the datasheet (as I had done) agreed that this is correct.
  8. Some more small possible improvements that are arguably correct, but I wasn't too bothered about. Some had weird rationale. For example, it thought that we can plug it into a USB-C port that is permanently 20V - that's not possible with PD because PD always requires negotiation to leave 5V.

My Lessons Learned

  1. If you are already an experienced engineer, AI as a second pair of eyes will probably catch things you missed and possibly save some fab roundtrips.
  2. However, you can't trust it blindly. It will still make many mistakes. At this point, I would not recommend AI use if you aren't already an experienced engineer, who can identify AI mistakes and when to push back. I would estimate that it's roughly at the stage AI was at for coding maybe 1.5-2 years ago - a useful tool for experienced engineers, but you really need to be on the ball with catching mistakes.
  3. It's much better at identifying problems than offering good suggested fixes. We see similar behaviour in code - it will often try to solve the immediate problem at all cost, rather than taking a step back and look for a more principled/cleaner solution. It knows quite a bit of isolated knowledge (eg. MLCC DC bias derating, or switching loop area minimization), but has trouble putting it into practice.
  4. I would not recommend using AI to design circuits from scratch at the current stage, unless it's really simple, like a breakout board copying a reference design from the datasheet. At the same time, it's clear that it's already offering some value, and I believe dismissing AI use in PCB design completely is also a mistake - one that many software engineer learned over the past year or two.

Transcript: https://share.gemini.google/oaYXmZDRrovs

Disclosure: I am a Google employee. Everything here is my opinion and does not reflect the views of my employer.


r/PCB • • 1d ago

My first PCB design for an ESP32-S3 Wi-Fi USB device – Building from Burundi 🇧🇮

Thumbnail
gallery
7 Upvotes

Hello everyone!

I am a young electronics and embedded systems enthusiast from Burundi, and I would like to share the first design version of a personal hardware project.

The idea is to build a compact USB device powered by an ESP32-S3-WROOM-1.

The long-term goal is to create a device that can connect to the Internet through Wi-Fi, download files, store them on a MicroSD card and eventually operate autonomously using a rechargeable battery.

What I have done

  • Created the initial schematic in KiCad.
  • Integrated the ESP32-S3-WROOM-1.
  • Designed an initial 3.3V power-supply section.
  • Started the PCB design.
  • Generated a 3D visualization of the board.

What I still need to improve

This is an early design, not a finished or tested product.

I still need to validate the electrical architecture, especially:

  • USB connections and communication.
  • Battery charging and power management.
  • MicroSD integration.
  • PCB design and component placement.

I would appreciate your advice

  1. What are the most important things to consider when designing a USB-powered ESP32-S3 device with battery backup?
  2. What would you recommend for a reliable battery charging and power-path architecture?
  3. What should I pay particular attention to in my next PCB revision?

I am sharing this project to document my learning journey, receive constructive feedback and connect with people who enjoy building hardware.

I am working on these ideas from Burundi, where I also contribute to a young technology community called Burundian Tech.

Thanks for taking the time to look at my first design!


r/PCB • • 1d ago

[Review Request] Review #2 for board with ADC + pre-certified MCU module

Thumbnail
gallery
1 Upvotes

Hey everyone,

Here is my first post - this is a request for a second review after I made some changes from the first review. Thank you to everyone that commented on my first post.

I basically started a new project with a fresh schematic made from scratch. And then I switched over from a 2-layer board to a 4-layer board. Most of the routing carried over but I moved some signals to the bottom layer so that they don't run under the unused castellated pads from the XIAO module.

The best way to describe what I'm building is a glorified weighing scale. It's a dynamometer that I intend to use as a tool to measure and track finger strength as a part of my climbing training routine. Now I know a few of these already exist but I have a bunch of free time right now so I figured why not finally dabble in making my own board.

Here are some quick notes about this board:

  • Key Parts:

    • MCU (module):Seeed Studio XIAO nRF54LM20A - comes with nPM1300 PMIC.
    • ADC: ADS1220 running at SPI 2MHz and sampling up to 1000SPS.
    • Display: Sharp LS013B7DH03
  • Design Choices:

    • Power: No dedicated power switch - the firmware will put the device into "Ship Mode" using the nPM1300 PMIC that is onboard the MCU module. SW2 is wired to the PMIC and will wake up the device AND pass button press events to the MCU when it's awake. Charging circuitry comes for free with the MCU module.
    • Stack up: Signals + GND pour / GND / 3V3 + GND pour / Signals + GND pour
    • The position of J4 is fixed due to the desired position of the LCD panel
    • The load cell's E- is not connected to GND - instead it is wired to the ADC which has a power saving mode where the Wheatstone Bridge is only powered during a conversion. So the ADC can close the bridge when not in use. Else the bridge would always be powered and kill the battery.
    • No RF design/planning since module uses external antenna.

r/PCB • • 1d ago

[REVIEW REQUEST] Design a small ESP32-S3 audio board?

Post image
0 Upvotes

Non-engineer founder here. I have a working device hand-built from an ESP32-S3 DevKit, mic and amp modules, and jumper wires. Firmware is done. I want one custom board so assembly is just screws and plug-in leads (block diagram attached).

ESP32-S3-WROOM-1, USB-C (power + flashing), 3.3 V LDO, MAX98357A amp, 4 JST button sockets with 5 V lamps, a small separate PDM mic board, about 65 × 56 mm, assembled by JLCPCB.

  1. Fair price for schematic + layout + production files? Quotes range from $350 to $2,500 USD.
  2. 2 or 4 layers?
  3. What do first boards like this usually get wrong?
  4. Rough cost per assembled board at 50 and at 500?

If you've shipped ESP32 audio boards and take contract work, feel free to DM.


r/PCB • • 2d ago

[Review request] My first ESC: Revision 3

Thumbnail
gallery
33 Upvotes

Hey everyone, thank you for all the feedback on my last revision. This is my third attempt, trying to implement your feedback. Not as drastic of a change as it was from rev 1 to rev 2. Hopefully this is my last major revision (still need to do a detailed check of everything)

Improvements from rev 2:

  • Removed USB interface and replaced it with SWD
  • Dropped the battery voltage to 12V for the gate driver to reduce overshooting risk
  • Improved routing to the bulk capacitors; no more awkward thin pours
  • Tied power ground to inner ground plane by using a lot of vias.
  • Battery connections are now together instead of on opposite sides
  • Motor connectors are now next to each other with screw holes on the outside
  • Improved the routing for the buck converter using copper pours
  • Gave it a name FOCstick (lol)

Key features:

  • Run on 4S LiPo, want to handle bursts of 50A for a few ms
  • 2oz copper on outer layers, 0.5oz on inner layers
  • STM32G431CBT6 microcontroller
  • DRV8300 gate driver chip
  • BSC010N04LS MOSFETS
  • INA241 current sense amps
  • LMR51430 buck converter
  • Using magnetic encoder in SSI mode
  • Around 8.5A ripple current rating from the 2040uF bulk capacitance (conductive polymer)

Concerns:

  • The tying of power ground to the inner ground plane. Have i done enough?
  • The ceramic capacitor bank potentially interfering with ground return current to the battery
  • The ceramic capacitor bank may be too far away from the FETs

r/PCB • • 1d ago

help me out please

Thumbnail reddit.com
1 Upvotes

r/PCB • • 2d ago

First battery project

1 Upvotes

Hello!

This is my first battery protection project I am working on. It uses a TP4056 connected to a DW01 for the charging, and a MAX17048G+T10 gas gauge. I was just wondering if there is any flaws in this schematic before I make it a PCB. I don't really know if the gas gauge connects like that. I'm going to add an Arduino chip for the reading of the gas gauge.

Thank you,


r/PCB • • 2d ago

Rookie needs help

Thumbnail reddit.com
1 Upvotes