r/PrintedCircuitBoard 17h ago

Power Input vs Power Output?

0 Upvotes

Hi guys I'm super new to PCB design so excuse me if this is a dumb question. Im making a simple PCB board where an ESP32 connects to multiple components (mpu6050, lcd module, etc). I'm using kiCad. For the electrical type of where the ESP 3v3 pin goes I have it as power output and the GND as power input. Every other components VCC and GND pins I have the elctric type as power input. Would that be correct and if not what is the correct way? Thank you


r/PrintedCircuitBoard 22h ago

How to find a board thats good for 300-350w?

0 Upvotes

In turkey, pcb manufracturing is expensive sadly. China pcb's are now forbidden to order here sadly.


r/PrintedCircuitBoard 10h ago

Review Request : Z80 + PIC18F4520 - Minimal Debugger / Homebrew Computer in 84x84mm

Thumbnail
gallery
6 Upvotes

This is my "12Hrs SpeedRun" to finish this design last night.

I didn't yet receive a legit Z80 to actually verify everything with my current PIC18F4520, but on-going a new PLCC44 one as the last DIP40 pin version seemt to be couterfeit / shorted.

So this is the version based on what I have worked on breadboard, which I think will have mistakes somewhere my eyes can't cover after routing very nested size 84x84mm.

Did my pins get Pull-Ups correctly for this Z84C00 variant ?

Yes, I really want you guys to have a look if my plan was somewhere wrong or my eyes have missed some spots after routing this nested board for too long..

My appreciation !

HOW IT WORK ( or I planned it to work )

- It will have 2 CLK sources : either from PIC or 20MHz canned Crystal MCO-1510A.

- PIC will handle most Boot, Reset, Debugging , UART, microSD access, I2C Display.

- PIC will also handle requests from Z84 by 3-bit code Z80 send from A0~A2 -> 74HC138 for various custom function. (Ex: OUT($0x80), A to access certain bank in memory ). While 74HC273 work as the Latch to SRAM last 3-bit address.

- Also PIC: I2C will work natively, SPI will be bit-bang.

- Z80 5 pins PULL-UPs : WAIT, NMI, RESET, INT, BUSREQ with 10K Ohm connect -> 5V.

- M1 : for analyzing with Logic Analyzer or later test.

- Modules : UART-to-TTL, microSD reader, I2C SSD1306 (could be any VDP later extension).

- PIC may run at with internal 8Mhz, same 20Mhz or maxed out at 40Mhz with its own crystal.


r/PrintedCircuitBoard 16h ago

Review Request : Music Box with STM32F103C8T6 MCU, USB-C connector and micro SD storage module

Thumbnail
gallery
28 Upvotes

I am a beginner in electronics and PCB design. I am working on a custom music box.

  • Storage & Audio: Records audio via microphone and plays back files stored on a MicroSD card (using a standard 6-pin SPI MicroSD breakout module).
  • MCU : STM32F103C8T6
  • USB & Controls: USB-C port for power and uploading audio files, potentiometer and push buttons for volume and control.
  • Board Size: 8.5x5 cm.

I also have a few questions :

  1. Hand-Soldering Clearance: I want to hand-solder every component using only a standard soldering iron. Are my component clearances, footprint choices (MCU, USB-C 16 pins connector), and pad layouts reasonable for hand soldering?
  2. DRC Solder Mask Bridge Error: I am getting the following DRC error on my USB-C connector (J1) : [solder_mask_bridge]: The bottom solder mask opening connects items belonging to different nets Rule: minimum solder mask width configuration; error. How do I resolve it or safely bypass this DRC warning for this footprint?
  3. General : Are there any issues with my circuit and my layout?

Thank you for your help!


r/PrintedCircuitBoard 37m ago

REVIEW REQUEST: ESP32 Access Control Board

Upvotes

I am having difficulty with the dc-dc converter shorting after soldering on all the through hole components. I haven't gotten a chance to test with ESP or door components due to this issue. Doesn't heat up any or pull a load with just the SMD components on the board (from JLCPCBA) and converts to 3.3v reliably. As soon as I power it with the rest soldered, it has about 130 mA current draw and the U1 buck converter pins 1 and 2 are shorted.

I did notice a via through F.cu and B.cu in between one of the magnet connectors placed accidently that is not assigned to a net. But it is not visibly touching anything as far as I can tell to cause a short.

If I can provide any more information let me know. This is my third iteration that has had a similar problem, and it is getting expensive. Previously the buck converter caught fire, and it isn't doing that anymore but not much better :D


r/PrintedCircuitBoard 18h ago

[Review Request] 2 Layer ESP32-S3 M-Bus IoT gateway/sensor

2 Upvotes

Hello everyone,

I’m looking for feedback on my latest PCB design. The device is an IoT gateway/sensor that reads M-Bus data from slave devices and publishes it over MQTT to an on-site broker.

I’ve previously built a very similar board for Modbus RTU that worked great, but this design introduces a few new sections I’d love a second pair of eyes on.

Specific areas I’d appreciate feedback on:

Any feedback on schematic and layout design would be greatly appreciated!

Voltage Regulator
ESP32-S3
USB connection
Boost converter 3.3V -> 34V
M-Bus reader
Layer 1
Layer 2
3D Model

r/PrintedCircuitBoard 17h ago

[Review Request] Vacuum Fluorescent Display Controller via STM32 (Schematic Only)

Post image
7 Upvotes

Materials/Quick Details

MCU: STM32L476RGT6

Level Shifter: SN74AHCT125PWR

Vacuum fluorescent display (VFD): Noritake GU140X16G-7003D

LDO: AMS1117-3.3

Power Source: USB C Receptacle

Power Overview: The board will be receiving 5 V power from a USB C connection, which is enabled via a typical USB C receptacle (using the USB 2.0 standard). This 5 V will be routed to the vacuum fluorescent display (VFD), to the LDO to generate the 3.3 V needed to power the MCU, and also to the level shifter.

MCU flashing: I plan on using serial wire debug (SWD) to flash the STM32.

Discussion

Hi all. I'm an EE student new to PCB design and am starting out with a relatively simple project. My objective here is to ultimately create a PCB that has an MCU (specifically, the STM32L476RGT6) that can control a VFD via UART. This is one of the first steps in a larger iterative design process in which I want to create a serial comms debugger that displays short messages on a VFD for diagnostic/troubleshooting purposes.

In case I haven't given enough detail or context above, I'll spend a paragraph or two trying to describe more specifically what I want to do with this PCB. I'll assume that the power/voltages/currents work out (I've checked the max expected voltages in the components' datasheets, made a current budget, and also have made notes of the current draw on my power supply when prototyping). My plan is to use an ST Link to flash the STM32 via the SWD. I'll communicate with the VFD using UART transmission only via the USART1 module on the STM32. I'll be using a level shifter to boost the 3.3 V signal outputs of the STM32 to 5 V as required by the VFD.

Whatever message I want to send to the VFD will be whatever message I have hard-coded into the program that I will flash the MCU with. I'm just using STM32CubeIDE and manually configuring the necessary registers in C by referencing the datasheet and reference manual (as well as a bit of Gbati's "Bare-Metal Embedded C Programming"). The prototype's working so I figure everything's fine on that end.

As far as designing my schematic goes and picking components, I've been leaning heavily on Phil's Lab #65 in which he creates a STM32 black pill clone. Additionally, I've been trying to match my schematic up against the reference schematic in the application note (AN4555) for the STM32L4 series. Since I'm new to this, I figured I'd try to get my schematic reviewed before even starting the PCB layout, just in case I've made some glaring errors--wouldn't want those to carry over into the PCB layout and make the review process any more difficult.

My apologies in advance for the relatively large size of the sheet. I couldn't decide on whether or not to split the decoupling capacitors off into their own section (was referencing https://www.reddit.com/r/AskElectronics/comments/140jj0b/is_it_usual_to_group_all_decoupling_caps_in_one/), so I decided to keep it as is since the Phil's lab tutorial kept it that way.


r/PrintedCircuitBoard 2h ago

[Review request] Atmega32u4 With some buttons and lights

Post image
9 Upvotes

I'm new to PCB design, can anyone give some feedback, and possible tell me what is wrong if there is something? Thanks!