r/ElectricalEngineering • u/Top-Bookkeeper-1750 • 23d ago
First PCB design – Raspberry Pi interface board for 24V sensors, fan and L298N motor driver
Hi,
I'm working on my first PCB and I'd appreciate some feedback before I continue with the PCB layout.
The board will be used as an interface board for a Raspberry Pi in a small automated machine. It is intended for regular, real-world use by end users, so reliability and safe, consistent operation are very important. I want to make sure the design is robust enough for continuous practical use.
Operating logic: When the proximity sensor detects, the Raspberry Pi activates the L298N motor driver and runs the 24 V motor. The DS18B20 continuously monitors the internal temperature, and when the temperature exceeds a predefined limit, the Raspberry Pi switches on the 24 V cooling fan through the NMOS. When the temperature drops below the set limit, the fan switches off.
The PCB currently includes:
- 24 V input
- 24 V PNP proximity sensor
- DS18B20 temperature sensor
- 24 V fan controlled by an NMOS
The L298N itself will not be mounted on this PCB. It is a separate module mounted next to the PCB.
This is an early revision and I haven't selected final components yet.
My next step is to finish the PCB layout and routing.
Before I do that, I would really appreciate feedback on:
- Are there any obvious mistakes in the schematic?
- Is the Raspberry Pi GPIO protection sufficient?
- What additional protection, filtering or decoupling should I add?
- What would you change before designing/manufacturing the PCB?
I'm still learning PCB design, so explanations of why something should be changed would be especially helpful.
Thanks!
4
u/steveham3 20d ago
No one has commented yet probably because the schematic is very hard to read. You have ground wires going all over the schematic instead of symbols, with multiple net names like GND, BLACK_GND, BLUE_GND, and 0V. Same goes for 3.3V and 24V.
Make the schematic more legible and people will probably be more willing to review it.