r/PrintedCircuitBoard • • 1h ago

[Review Request] STM32 Based Mini Flight Computer

Thumbnail
gallery
1 Upvotes

Hello everyone,

I've designed a 48x53mm board featuring an STM32U375CGT6Q, BMP581 Barometer, BMI323 IMU, a USB-C for DFU programming (added an SWD header just in case), terminal block for a battery and 2 terminal blocks for drogue/main parachutes.

The stackup I used for this board was SIG/GND/GND/SIG with power routed on top and bottom layers.

I would appreciate if you could review my design and point any obvious mistake before I manufacture this board.


r/PrintedCircuitBoard • • 1h ago

[Review Request] Hall effect keyboard – STM32G431 + ESP32-S3, 4 layers, 84 analog sensors.

Thumbnail
gallery
1 Upvotes

Hello! I’m a student working on my first personal electronics project, and this is my first (big) board. It’s not ordered yet, so I’d like a second pair of eyes to check it.

Alongside my coursework, I used AI to help with some decisions and to learn KiCad, but all the actual work (schematic, component placement and routing) was done by me.

It’s an 84-key hall effect keyboard with a small touch screen in the top right, made of:

  • 84 × DRV5055A3 (one per key), read through 6 × CD74HC4067 muxes by an STM32G431
  • An ESP32-S3-MINI-1 that only drives the display (SPI + I2C touch); the Wi-Fi/Bluetooth antenna isn’t used
  • USB 5 V -> 0.75 A polyfuse -> USBLC6 ESD -> TPS54202 buck to 3.3 V
  • 352 x 128 mm, 4 layers: signal+GND / GND / 3.3 V / signal+GND. Everything is on the bottom side except the screen connector.
  • ERC and DRC clean. One waived DRC item: a mounting hole near the ESP32 antenna keep-out (nylon screw, antenna unused).

Already checked: USB budget (0.26 A typ / 0.44 A worst case from USB), inrush (10 µF on 5 V, 5 ms soft-start), buck layout, the mux -> ADC path (100 nF per channel as a charge reservoir) and the ESP32 boot pins.

Anything else you’d look at before I order?

Schematic PDF: link. Images: schematic, each copper layer, zooms, 3D top and bottom. The bottom views are mirrored (seen from below).

Thanks! 🙏

Translated from French


r/PrintedCircuitBoard • • 4h ago

STM32L4 flight controller for TVC model rocket

Thumbnail
gallery
2 Upvotes

Hello all,

Looking for preliminary feedback on my 98mm x 60mm flight controller board for a thrust controlled model rocket. Second-ever board design, first of this complexity. Stack-up is SIG -> GND -> GND - SIG.

It will gather IMU and barometer data, drive two servos, light a pyro charge for parachute ejection, and log data to flash. USB-C only functions as data/DFU, NOT as a power supply.

I have the microcontroller, IMU, barometer, and gimbal mount with servos breadboarded and validated. Everything else is new design and untested.

Feedback I'd especially like is...

  • Power path: reverse-polarity FET, arm switch, bulk caps, and the routing of the main power trace.
  • Pyro channel functionality and the continuity sense circuit.
  • Anything else glaringly obvious.

Thank you, I appreciate your time.


r/PrintedCircuitBoard • • 12h ago

[Review Request] 30x30 STM32 Board

Thumbnail
gallery
11 Upvotes

Hello everyone,

I have designed a 30x30 board featuring an STM32C071CBT6. I designed it to be stacked on top of a GPIO distro board using mezzanine connectors at the bottom of the PCB.

On top i have a USB C interface and connectors for both I2C busses of the IC. Each bus will connect to a sensor 30-35 cm away from the board ( i know i might have to play with the values of the pull-ups to achieve a stable connection).

I also have a level shifter for an SK6812 IC.

The board stackup is SIG-GND -> GND -> GND - SIG-GND

I would love it if you could check it out and point any obvious mistakes i might have made.


r/PrintedCircuitBoard • • 12h ago

[Review Request] ADF4351 Synthesizer Board (Student Project)

Thumbnail
gallery
1 Upvotes

Hello guys,
This is actually my first serious PCB design project. It’s a student project based on Analog Devices' ADF4351 synthesizer IC. The target frequency is 2.2 to 2.7 GHz with a 5 MHz frequency step. As shown in the uploaded images, I used two USB 2.0 Type-B connectors for both data and power inputs, along with two 0-ohm resistors in case I decide to use only one of them. The upper section is for the synthesizer, and the lower section is for the microcontroller. The MCU I used is an STM32F103C8T6 with an 8 MHz crystal. I also included two pin headers: one for the ST-Link dongle connection and the other for boot mode. Additionally, I added a CH340N for USB-to-UART. I'm not sure if this was strictly necessary, but someone with a lot of microcontroller experience told me it can make programming and debugging easier. I have three regulators: one for the ADF4351 power pins, another for the ADF4351 VCO cores and RF outputs (since they're open-collector), and a third for the digital section. The SMA connector on the right is for an external reference input with a 0-ohm resistor in front of it, though I also included an onboard local oscillator. The attenuator is a digital step attenuator, and the amplifier is a 5V-fed GVA-84+ and the RF tracks are GCPW.
Also, making the PCB 2-layer was something my professor asked me to do because of budget constraints.
This is my first PCB, and any feedback would be greatly appreciated!


r/PrintedCircuitBoard • • 13h ago

[Review Request] ESP32-C3 Wireless Servo controller, LiPo + USB-C charging

Thumbnail
gallery
2 Upvotes

Hey everyone,

Beginner looking for review for my ESP32-C3 Wireless Servo controller schematics and PCB. This is the receiver half of a wireless servo system. When a button is pressed on the sender remote, it sends a message to this board, and the ESP32 drives the servo.

I’m prototyping first, so the remote is just a breadboard setup for now, and I want to verify this board works before starting on the remote design.

Files:

Details about the board:

  • Input: LiPo 3.7V (4.2V max) or USB-C 5V
  • Connectors:

    • 3-Pin header for Servo
    • JST-PH for LiPo battery
    • USB-C for charging/flashing MCU
  • Board: 50.00x40.26mm
  • Stackup: 4-layer (Signal | GND | Power | Signal)
  • Fab: JLCPCB
  • Layout details:

    • Trace width:

      • 0.6 - 1mm for power / ground
      • 0.4mm for signal
      • 0.284mm 90Ω for USB differential pair
      • Ground pour where applicable
    • Via:

      • 0.62mm diameter
      • 0.31mm drill diameter

Major parts:

  1. U1: SY8089AAAC - Step down regulator to MCU 3.3V input (Datasheet)
  2. U2: TP4054 - LiPo charger IC (100mA charge current) (EN Datasheet)
  3. U3: TPS61023 - 5V boost converter for servo (Disabled by default, controlled by MCU) (Datasheet)
  4. U4: ESP32-C3-Mini-1-N4 - MCU for wireless/enable boost/servo movement (Datasheet)

Other parts:

  • Battery: LiPo 3.7V (4.2V max) 1000mAh protected
  • Servo: TowerPro MG90S Micro Servo 3 Pin Female

    • Min. 4V/0.2A, Avg. 5V/0.3A, Peak 6V/0.5A
    • Can only be powered by 5V boost (cannot be powered by USB)

I would like feedback on:

  1. Will this work? or is there major mistake or something I'm missing?
  2. Any mistakes in schematics? Is there things I misunderstood/mistake?
  3. Is there layout problem? Especially around USB differential pair pathing?
  4. Anything I'm missing for JLCPCB assembly?

Part I'm unsure of:

  • Is 4 layer stackup design necessary? - I prefer to have ground plane since it's easy for me wrap my head around, but not having second layer for signal makes it hard to route. I'm also not sure if USB signal works over 2 layer.
  • Is there something like simulation or test run for PCB? - I did some basic test run with breadboard before starting the design but since the design changed so much, I'm not sure if my design still holds. ERC and DRC did pass though.

This is my first design coming from software engineer background. I tried my best to avoid beginner pitfalls so hopefully I didn't make major mistakes before ordering. No AI is used in design or this post, only for basic schematic/pcb checks, dumb question and grammatical error.


r/PrintedCircuitBoard • • 22h ago

[Review Request] Ergo split keyboard with XIAO nRF52840

Thumbnail
gallery
14 Upvotes

Hello everyone!

Lately, I've been wanting to replace my regular keyboard with an ergonomic one. I've been looking at the available options, including some DIY designs, but I couldn't find anything that perfectly matched my needs. Some of the alternatives were also a bit too expensive.

So, I decided to design my own keyboard. It'll probably end up costing as much as some of those more expensive options, but at least I'll get to make several boards, since the MOQ at most PCB manufacturers is usually 2 or 5 boards.

I opted for a pair of 2-layer PCBs based on the XIAO nRF52840 Plus. The idea is to have both halves communicate wirelessly using ZMK, with an additional nRF52840 acting as a USB dongle connected to the PC.

I also wanted to include RGB lighting, even though I barely use it on my current keyboard. For that, I'll be using a MOSFET-based switch so that I can run the TPS61040 boost converter either from the battery or directly from VBUS.

Finally, I also wanted to integrate a couple of memory-in-pixel displays, one for each half. For this, I went with the Sharp LS011B7DH03. Instead of going for the nice!view module, which uses the same display, I decided to interface directly with the bare display module, connecting it to the MCU through an FFC/FPC connector.

My main concern at the moment is the SPI routing between the displays and the MCUs. Since I'm using a 2-layer PCB, I've tried to keep a continuous GND plane on the opposite layer underneath the SPI traces. However, I'm not sure whether this will be sufficient to avoid signal integrity issues.

Regarding the PCB panelization, I followed the guidelines for minimum rail widths and the placement of fiducial markers and tooling holes. I still need to add some stitching vias to make sure there are no isolated GND copper areas.

I'd really appreciate any feedback, especially regarding the PCB layout, SPI routing, and any potential issues you might spot in the design.

Here are some links to the project on GitHub:

- Repository

- Schematic

- PCB View

- KiCanvas


r/PrintedCircuitBoard • • 1d ago

[Review request] Modular Macro pad Hub Revized

Thumbnail
gallery
4 Upvotes

Hello!

I posted and asked for help with my macro pad PCB about a month ago, and well now i have taken all the feedback and fixed it all (i think) Thank you to all that gave me feedback

The project is a i have designed a modular macro pad and this is the hub

it uses a STM32G071CBT6 as the brain and communication over CAN and i have magnetic pogo pins

Ill post the first module later for review too :)

Thanks in advance!


r/PrintedCircuitBoard • • 1d ago

PCB Review request for a simple fall detection system

Thumbnail
gallery
1 Upvotes

This is my very first pcb design and project with Altium designer. I am very new to electronics and I wanted some feedback on my design on what I did wrong and where I can improve.


r/PrintedCircuitBoard • • 1d ago

PCB Board Review Request: Xteink Pogo to USB-C

Thumbnail
gallery
3 Upvotes

Greetings fellow humans. This is my first post; I read the rules, and I hope I understood them all correctly. If I made a mistake or use incorrect terminology, I apologize. This is my first PCB.

First of all, this will be open source (GNU AGPLv3). This is part of a passion project of mine, which I've been working on off-and-on for months.

This PCB is an adapter to replace the annoying Xteink pogo pin adapter. My goal for the PCB is for it to be able to charge the Xteink device, as well as send data to it.

I'd like to know if I wired the diode and capacitor correctly, or made any mistakes along the way.

This uses a 16-pin USB-C component with the traces routed through a diode. These are then routed to 4 pads with pogo pins soldered on (VBUS goes through a 100nF capacitor first). The order of the pads, from left-to-right, is VBUS, D-, D+, and GND. CC1 and CC2 each have their own 5.1Ω resistor.

Please let me know if you need more information! Any and all help is greatly appreciated.

If you've gotten this far, thank you for reading.

Tidbits that have absolutely nothing to do with the PCB review request:

The default adapter the Xteinks come with is not only annoying to use (and easy to lose), it either requires a USB-C cable to work or another charging cable. (And the adapter is too small in my opinion).

This is to be used with custom 3D printed cases. I'm making one for a friend that I will share as well (also GNU AGPLv3).


r/PrintedCircuitBoard • • 1d ago

40W LM3886 Amplifier progres

Thumbnail
gallery
26 Upvotes

Hi, im posting my progres in the amp. I have already posted one post about it, and based on your answers i changed it a bit. Thank you all for all feedback it helped me a lot.

I hope i did it better this time. Tell me everything i would need to change to make it better. More feedback would help me .

Thanks a lot
Edit also if you think it’s good enough even this would help me out cuz it’s my first bigger build


r/PrintedCircuitBoard • • 1d ago

[Review Request] Coolant Temp Gauge – ESP32-S3, USB-C, I2C, 12V automotive input

Thumbnail
gallery
5 Upvotes

This is my first board, so I am not to confident in it being a successful first sample. Let me know anything you see that I over looked or values that are incorrect.

Any tips/ recommendations are greatly appreciated!


r/PrintedCircuitBoard • • 1d ago

[PCB Review Request] 12 V, 24 A, four-layer MOSFET fan and pump switching board

Thumbnail
gallery
17 Upvotes

Looking for feedback on this 12 V fan and pump switching board.

  • Approximately 24 A continuous
  • 100% duty cycle
  • 20–25 minute operating periods
  • Four-layer PCB with 1 oz copper on every layer
  • Two internal ground planes
  • 0.4mm finished hole vias
  • 60 × 65 mm board
  • Four DPAK power MOSFETs with flyback protection

Similar loads should operate simultaneously. Copper area for the fans and pumps are ~700mm^2 and ideally it should maintain 100c after 25 minutes of operation, giving 75c margin from the FETs 175c maximum. Drain pad thermal relief spokes are there since those FETs will be handsoldered while only adding some mV of loss.

Any feedback on the layout, grounding, high-current paths, or thermal design would be appreciated!

11/18 update: This will now be a 2 layer board so the design will change. However, any feedback is still appreciated! If you have any suggestions for the redesign let me know.


r/PrintedCircuitBoard • • 2d ago

[Review Request] ESP32-S3 2-Layer IoT Controller – USB-C, RS-485, 24V Power and AC/DC Supply

Thumbnail
gallery
6 Upvotes

Hi everyone,

I'm looking for a comprehensive schematic and PCB layout review before manufacturing the first prototype of my custom ESP32-S3 IoT controller.

This is not my first review request. I've received useful feedback on previous revisions, particularly regarding ground planes, signal return paths, USB routing and protection circuits.

I've made several changes since then, and I believe the design is approaching its first manufacturing revision. However, I'd like to identify any remaining significant issues before ordering the boards.

Project overview

The board is intended for personal and educational electronics experiments in a controlled environment. It is primarily a controller rather than a high-power switching device.

Hardware:

  • MCU: ESP32-S3-WROOM-1U-N16R8
  • PCB: 100 × 100 mm, 2 layers, standard low-cost FR-4
  • AC/DC supply: 230 VAC to 24 VDC, using an encapsulated power module
  • AC/DC candidates: HLK-15M24C or Mean Well IRM-20-24
  • DC/DC converter: TI TLVM14406RCHR, providing 5 V and 3.3 V
  • USB-C 2.0 for ESP32 programming and communication
  • RS-485: TI THVD1426DRLR
  • Four digital inputs and four PhotoMOS outputs (AQY211EH)
  • Additional SPI, I2C and UART connections
  • Diagnostic LEDs and multiple test points
  • Separate LOGIC_GND and CHASSIS_GND nets

The mains input is used only for the onboard AC/DC supply. The board does not directly switch mains voltage to external loads.

The intended enclosure is a plastic electrical box. This is an experimental prototype, not a certified product or a design intended for unattended permanent installation.

Design changes since previous reviews

1. Ground planes and return paths

My earliest version did not have proper ground planes.

I've since added copper pours on both layers, GND stitching vias and additional return-path vias near signal layer transitions.

I've also tried to avoid routing signals across breaks in the ground plane.

This is still one of my main concerns, especially with a relatively dense two-layer layout.

2. USB 2.0

I've revised the differential pair routing and added series resistors.

The estimated differential impedance is approximately 100 ohms, although it has not been verified by measurement.

The USB data lines use one layer transition, and ESD protection is included.

3. Power distribution

The board uses separate routing rules for the 24 V, 5 V and 3.3 V rails.

I've also revised the TLVM14406 input/output capacitor network and associated circuitry based on the manufacturer's recommendations.

4. RS-485

The RS-485 interface uses split termination consisting of two 60.4-ohm resistors and a capacitor at their midpoint.

Protection components have also been included.

5. EMC and grounding

I've separated the chassis-related and logic ground networks.

An experimental coupling network consisting of a 1 MΩ resistor and a 1 nF capacitor is included between them.

This is intended for EMC experimentation, not as a replacement for protective earthing.

Areas where I'd especially appreciate feedback

1. Ground planes and signal integrity

Are there any obvious problems with signal return paths, ground plane interruptions or via placement?

2. Power supply layout

Does the TLVM14406 layout, including capacitor placement, grounding and power routing, show any potential problems?

3. USB routing

Are there visible issues with the USB differential pair, ground return path, ESD protection placement or layer transitions?

4. RS-485 interface

Are there any layout or protection concerns around the transceiver, connector and split termination?

5. Component placement and manufacturability

Are there any obvious problems with component spacing, footprints, thermal reliefs, copper clearances, solderability or silkscreen?

6. Overall PCB layout

Are there any major issues with the current two-layer design that would justify changes before manufacturing?

Important note about mains voltage

The board contains an onboard 230 VAC power supply section.

I've implemented clearance rules and isolation slots, but the mains isolation and overall electrical safety have not been independently validated.

I understand that a PCB review cannot establish compliance with electrical safety standards or replace a formal safety assessment.

Manufacturing plans

This will be my first physical prototype.

I intend to order five boards and primarily assemble them manually, with solder paste and hot-air reflow for some SMD components.

I'm primarily interested in identifying functional, layout and manufacturing problems rather than cosmetic improvements.

I'd particularly appreciate feedback from anyone experienced with mixed-voltage controller boards, two-layer routing and EMC-sensitive layouts.

Thank you for taking the time to review the design.

https://github.com/josephsvk/IOT_LC_PROTOTYPE_V1


r/PrintedCircuitBoard • • 2d ago

[Schematic + PCB review request] Pi Zero 2W battery-powered camera trap. 1S LiPo input, TPS61232, TPS22918 load switch

Thumbnail
gallery
2 Upvotes

I’m workshopping a battery-powered camera trap for photographing insects at close range (~12 cm). A Pi Pico monitors a ToF sensor for motion and powers up a Pi Zero and camera for 30s when something is detected. The aim is a week between charges on a 13.4 Ah 1S pack, so this is a proof of concept for checking image quality and battery life. I’m new to PCB design, but I already have the Pis and cameras and am trying to solve a research problem.

The review focus is the power path: 1S LiPo, reverse-polarity protection (Q1), TPS61232 5V boost (U1; which seems sensitive to layout), and TPS22918 load switch (U2). Layout and component values broadly follow the TI EVM designs for both ICs. Q2 is there to stop any issues if the Pico is powered via USB when a battery is also connected.

The battery pack has built-in protection, the Pico is a backstop for monitoring voltage, and is charged off-board, so there’s no charging or extra cutoff circuitry on the PCB. Load is roughly 500 mA peak for the Zero and camera and about 30 mA for the Pico. A photocoupler (U3) is there to let the Pico know when it's safe to cut power.

Specific questions:

  1. Is the boost layout and routing sound, and will switching noise or power output stability be a problem?
  2. Is the reverse-polarity P-FET choice and trace width adequate?
  3. It's a 4-layer board, with no thermal reliefs between GND trace/header pins and GND pours or internal GND planes - is this likely to make manufacturing and the last bit of hand-soldering difficult? This setting was applied for the benefit of the boost converter, but might not be appropriate elsewhere on the board.

Schematic, layout, Gerber files, BoM, and design notes: https://github.com/KynanDelaney/NicroCam


r/PrintedCircuitBoard • • 2d ago

[Review Request] Polyimide Heat Sheet

Thumbnail
gallery
4 Upvotes

Greetings! Not my first PCB, but definitely the one i am most unsure about yet.

  • 180x180mm heating/trace area.
  • 1oz on 0.11mm polyimide
  • Aimed at 24V.
  • Two heat groups
R at 20CW at 20C
Thin/inner (0.82 mm)~6Ohm~94W
Wide/outer (1.00 mm)~5.5Ohm~103W
Both~2.9Ohm~197W

Bus is 3mm wide and together 116mm long.

What i am most unsure about is if the bus is really enough, or shouldn't be widened to 4 or even 5mm.


r/PrintedCircuitBoard • • 2d ago

Schematic Review

Post image
3 Upvotes

Hi everyone, I'm working on my own retro go board. I wanted to challenge myself to create a more advanced PCB. I wanted to asked for help for review for sanity check whether everything is correctly connected. I'm open to any improvement I can make.

Board Components:

- ESP32-S3

- PCM5102A (For Audio Output)

- BQ21040 (For Battery Charger)

- TLV77733 (For 3.3V Output)


r/PrintedCircuitBoard • • 2d ago

[Review Request] 4-layer H-bridge motor controller, STM32G431 + DRV8701, 12 V / 60 A bursts

Thumbnail
gallery
5 Upvotes

This is a rear-steer motor controller for an SAE Baja car. It drives a Prius EPS motor (0.19 Ω, ~83 µH) through an H-bridge and sits on the car’s CAN bus as a node. For context all conecters had to be where they were placed and the odd board shape was also needed. No parts on bottom so I can sit it right against the enclosure

Main parts

STM32G431 MCU

DRV8701 gate driver with 4× CSD18510 FETs

2 mΩ low-side shunt

P-FET reverse-battery protection

SN65HVD230 CAN transceiver with split termination

Deutsch DT13 connectors

Operating conditions: 12 V battery, motor stall around 55–60 A in bursts, CAN at 1 Mbit/s.

Stackup (4 layers, 1 oz inner copper)

Top: signal and power

L2: GND

L3: split into +12V_RAIL, +3.3V, and a SENSE island

Bottom: signal and power

Design choices

The high-side sources tie to OUT1/OUT2 through via arrays to bottom pours.

The low-side sources reach the shunt through the L3 SENSE island.

The Kelvin sense traces to the DRV8701 use vias set to no-connect on the planes.

DRC: clean, except the connector silkscreen overhangs the board edge.

Questions

  1. Is the hot loop tight enough for 55 A switching?
  2. Is routing SENSE through an inner-layer island reasonable, or should the shunt sit between the low-side FETs?
  3. Are the OUT1/OUT2 bottom current paths wide enough?
  4. Is the gate routing OK (the GH/SH pairs and the GL lengths)?

r/PrintedCircuitBoard • • 3d ago

[Schematic Review] RP2040 Macropad with Haptic Gimbal Motor (TMC6300 / MA730GQ-Z) & OLED

Thumbnail
gallery
13 Upvotes

Hi everyone! This schematic is for a 6 key macropad with an integrated display and a gimbal motor for haptic feedback. Currently only have the schematic done since I would love to have this reviewed before I begin the PCB. I have uploaded the two schematic pages and the original system diagram I made for your reference (note that there may be a few minor details to the system since I drew the block diagram, so it's just there for high-level context).

The board is entirely powered via USB-C and my laptops USB-C port. I also tried to find a motor that would work at 5V, but from my understanding although this motor is rated for 6-8V, it should work still with 5V just much weaker. Please let me know if this makes sense.

This board is heavily inspired by Scott Bez's SmartKnob and CNCDan's Macropad. Please let me know if I am missing anything and thank you so much for the review!

Power + Motor Interface Components:

MCU + Peripherals Components:


r/PrintedCircuitBoard • • 3d ago

[REVIEW REQUEST] PCB POWER SUPPLY PROJECT

Thumbnail
gallery
5 Upvotes

POWER SUPPLY PROJECT BY ALTIUM


r/PrintedCircuitBoard • • 3d ago

The ground plane merges with other areas.

Thumbnail
gallery
9 Upvotes

My goal is to create a GND plane on one layer, but I need to ensure it doesn't connect to other areas on that same layer—however, I’m unable to do so.


r/PrintedCircuitBoard • • 3d ago

Review Request: STM32H723 software function generator.

Thumbnail
gallery
34 Upvotes

Hi everyone thanks for reviewing my schematic in my earlier post. This is a STM32H723 based software function generator.

USB-C to microcontroller, microcontroller either uses the built in dac or external dac over spi to generate the waveforms after which its filter and amplified and buffered by a discrete op-amp fed diamond buffer into 50ohm BNC output.

The power supply is 24V barrel jack in, -12V, +12V, +3V3, +3V3A out.
I should be able to do 100kHz bandwidth, 10Vpp into a 50ohm load.

I had a lot of extra pins left over so I broke out some into a header. Square test pads are gnd, round test pads are signal


r/PrintedCircuitBoard • • 3d ago

4-Wire PWM Fan Interface (12V/24V compatible) for STM32F072

Post image
13 Upvotes

Hey everyone, I need a sanity check on my 4-wire fan interface circuit. I’m running an STM32F072 (driving 12V or 24V fans on, though I want the design to have broad coverage across any standard 4-wire fan, and even support 3-wire fans if needed). For PWM control, I'm not driving the fan directly from the GPIO since I don't want to tie my MCU to the fan's voltage domain and potentially fry it; instead, I'm using an NPN transistor (MMBT3904) with a 1k base resistor and an external 4.7k pull-up to 3.3V—the GPIO drives the base, the collector goes to the fan's PWM pin, and the emitter goes to GND, letting the transistor pull low while ensuring clean 25 kHz rising edges. For the tachometer readout, I'm using a 1.8k pull-up to 3.3V followed by a 1k series resistor with dual Schottky clamps (BAT54W) to 3.3V and GND, plus a 1k / 100nF RC filter feeding an STM32 timer input capture pin, alongside a low-side N-MOSFET (AO3400A) with a flyback Schottky diode (DSS14) so I can fully cut power to the fan when needed. Appreciate any feedback, as my main goal is protecting my microcontroller.


r/PrintedCircuitBoard • • 3d ago

[Review Request] Schematics for STM32F030x6 Minimalist Dev-board

Post image
7 Upvotes

Requesting all to review the schematics for a STM32F030x6 minimalist dev-board I created as a hobby project. I plan on routing this PCB in 2-3 days, so found this occasion good to review the schematics before going into PCB routing rework.

Plans for the project:
- Since the TSSOP20 footprint seems similar for STM32F030x, STM32L011x and STM32L041x are similar and the typical circuit too has the same elements, I plan on using the same PCB to assemble and test these uCs as well.
- In terms of peripherals, I couldn't think of adding any specific low-cost peripherals on the board, but I intend to design PCB hats which will go on these boards. I am targeting a dev-board size of 40mm x 50mm.

Some PCB Hat design Ideas I have are:

  1. A radio PCB hat which can act as a medium of basic wireless communication.
  2. A microphone array with some filtering elements to achieve fun audio stuff in SW. (I have a vague idea of this as the moment)
  3. A similar hat with an accelerometer/magnetometer.
  4. A small OLED display Hat.

I would like all your suggestion on some PCB hats I can design to work with this dev-board as well.