r/PCB

Image 1 — My overengineered EEPROM programmer (+ my perfboarding technique)
Image 2 — My overengineered EEPROM programmer (+ my perfboarding technique)
Image 3 — My overengineered EEPROM programmer (+ my perfboarding technique)
Image 4 — My overengineered EEPROM programmer (+ my perfboarding technique)
Image 5 — My overengineered EEPROM programmer (+ my perfboarding technique)
▲ 180 r/PCB+2 crossposts

My overengineered EEPROM programmer (+ my perfboarding technique)

(Sorry for reposting, the images didn't show up as a carousel properly the first time and I don't know how else to fix it)

Howdy, guys. As several others seem to enjoy doing here, I've made a permanent version of my Arduino Nano EEPROM programmer module. I want to preface by saying that I didn't even watch Ben's video past where he started writing code, because I knew I could do it all on my own and then watch what he did, as that would be interesting.

Major differences:

  • I didn't even know shiftOut() existed. I used SPI COPI (D11) as my serial output and SCK (D13) as my serial clock pin, and used the Arduino SPI module to shift out bytes. You simply tell SPI the LSB_FIRST or MSB_FIRST order and clock speed, and then send bytes out. It even has a "transfer16" function that takes an int and would fill both 595's.
  • I made all my pins have configurable assignments, which will be significant in a second.
  • I made a serial interface with both a read and write function. I did take inspiration from Ben's "read" format. My serial interface asks how many chunks you want to see and prints them out, and the write interface uses a "chunking" technique that currently reads chunks that are at most 64 bits wide, before sending an "ACK" byte for the sender to respond to and send the next 64 bytes. It then reads the ROM contents back and prints error messages if certain bytes did not write properly. The hardware serial input bus is 64 bits, so you need chunking to avoid buffer overruns from data being written faster than you can write it out when you are trying to write the whole chip's 2 kilobytes. The serial buffer ends up "catching up" and dropping bytes at any speed faster than like 1200 baud, which is absurdly slow and I was not going to stand for it.
  • I actually followed the datasheet specification and made my write flashes last under 1000 nanoseconds by using register-level outputs and assembly NOP operations to make my write flashes last about 400 nanoseconds each. I didn't think I could get away with what Ben did, I kind of jumped the gun here.
  • I realized I don't even need two shift registers. One is just fine including the Arduino's digital pins. It's actually really close, but it's perfect with only one 595.

https://preview.redd.it/6t1ecczrdibh1.png?width=954&format=png&auto=webp&s=e34c9eab38a30a99ab9e7124d3c2ef331f8263d2

https://preview.redd.it/i7qhc6l8eibh1.png?width=735&format=png&auto=webp&s=b54a5fd989b8a0366a561332eb3660f63b89bd48

https://preview.redd.it/cio9pdyuzibh1.png?width=921&format=png&auto=webp&s=652a7c69bf31e4b9036f626eac5f34a89da970c9

https://preview.redd.it/g5ev7sxj3jbh1.png?width=615&format=png&auto=webp&s=59dd36195d1af7c213c1bd6be6d1d313c34ada05

https://preview.redd.it/bbqy8g1h3jbh1.png?width=485&format=png&auto=webp&s=de1e74150d52b8e41cd2f2d78232dccfc68e5f8b

A few years ago I devised a technique for perfboard planning, where I abuse KiCad, making it act like a perfboard routing simulator.

  • I created the schematic and ONLY placed the connections that were absolutely set in stone (SPI pins with SPI pins, power distribution, strict "no connect" marks on unused pins etc.) and I left all usable digital pins open, to be distributed during actual routing. This is because digital pins can just be assigned to their jobs in the software, which lets the hardware be far nicer.
  • I made the grid size 2.54 mm to enforce the perfboard geometry.
  • I made the "traces" the same exact width as my spool wire, so I could visualize how much space they would actually take up.
  • I treated the front and back of the "PCB" as the front and back of the perboard, giving me insight into where I could weave wires, though I like to avoid this.

It worked first try, which I would have hoped after all that. I hope y'all find this cool and my biggest hope is that my perfboarding technique gives others ideas. I'm sure it's been done before, but I came up with it myself and haven't seen others do something like it. I love aesthetically pleasing circuits.

u/HydroPage — 5 hours ago
▲ 50 r/PCB

Engineers who have taken a PCB from prototype to production: What was the most unexpected issue you ran into?

I'm curious to hear real-world experiences from engineers who have taken a board beyond the prototype stage and into production.

Was it a manufacturing issue, component availability, testing problem, EMI/EMC failure, thermal issue, assembly defect, supply-chain problem, or something completely unexpected?

Looking back, what was the biggest lesson you learned from the transition between "it works on my bench" and "we can build hundreds or thousands of these reliably"?

reddit.com
u/Admirable-Balance605 — 15 hours ago
▲ 0 r/PCB

Help - Internship project

Pls check out my schematic this is my first time of designing the pcb for my internship

I have made this schematic using gpt and datasheet. so my project is designing a wearble ecg in which we used organic elecochemical transistor (oect) (there is a connector for the oect as shown in the schematic (gate , source, drain ) , iect is ecternal , electrode will be comnected to it ) then there is ads1292 , MDBT50Q MODULE (NRF5840 MICROCONTROLLER) , AND I HAVE USED LIPO BATTERY 3.7V , AND USB TYOE C RECEPTACLE, AND NPM1100 FOR POWER MANAGMENT

PLS REVIEW MY SCHEMATIC

NOW I WILL MOVE TO FOOTPRONT ANY SUGGESTION FOR IT WILL BE VALUABLE FOR ME

u/SURYAchouhan — 12 hours ago
▲ 0 r/PCB

create a temperature sensing system

I have to create a temperature sensing system for a multi chain restaurant without using sensors only the thermistor that should measure the temperature inside the cold chamber and then display it outside the chamber using an lcd . There should bee separate button to set the threshold⁴ of the system⁴ after which if the temperature of the chamber increases more then the threshold a buzzer would buzz after 1 min after the temperature went above the room temperature

The system should work on battery and for 1 year battery should not get over and for 3 years the device should work .The total amount that has given is 30 dollars per device I need to design a system that is produced in mass I don't need calibration that we do in prototype.

Please help me to get this designed

The system should work properly under range of -10 to 50 degree Celsius

reddit.com
u/Few_Kaleidoscope_736 — 9 hours ago
▲ 28 r/PCB

How to make a 100A+ PCB board

I am planning to design a high-power inverter board rated at a few kilowatts. The main issue I am facing is the manufacturing cost. PCBs with more than four layers and 4 oz copper are very expensive, especially for prototyping.

Are there any alternative approaches that can reduce the PCB manufacturing cost while still providing effective current conduction and thermal management?

reddit.com
u/Easy_Gas_4972 — 1 day ago
▲ 8 r/PCB

Review request: ESP32 kids Wi-Fi phone, 2-layer 50×100mm - first board, be brutal

First PCB - a Wi-Fi landline for kids that calls over SIP to a family Asterisk server (closed contact list, no PSTN). ESP32-WROOM-32, ES8311 codec for the handset, NS4168 3W class-D speaker amp, IM69D130 PDM mic, AMS1117 3.3V from power-only USB-C. 2-layer, 50×100mm, JLCPCB standard. The 20-button keypad (4×5 matrix + 2 volume keys) arrives on an 18-pin 0.5mm FPC. GND pours on both layers; copper/via keep-out under the ESP32 antenna.

Disclosure: routed with FreeRouting (autorouter). Specific questions:

  1. The antenna keep-out only covers the antenna itself - Espressif's recommended 15mm clearance is impossible on a 50mm-wide board, and the audio section sits above the module. How much Wi-Fi performance am I giving up, and would you move the module to the board edge?

  2. AMS1117 vs a buck converter for ESP32 Wi-Fi TX bursts on USB power?

  3. USB-C power-only wiring (5.1k CC pulldowns) , anything missing? No ESD protection currently - mandatory for a kids' device?

  4. General 2-layer ground strategy critique welcome , pours were filled after autorouting, so return paths follow the autorouted traces.

u/Much_Intention5053 — 15 hours ago
▲ 1 r/PCB

What cleaning methods are PCB assembly shops actually using today?

I'm still learning about PCB cleaning processes, and one thing I've noticed is that different PCB assembly companies seem to use very different approaches.

Some mention manual cleaning, others use ultrasonic systems, batch or inline cleaning equipment, and some don't clean at all when using no-clean flux.

For those working in PCB assembly, what method is most common in your experience?

More importantly, what made your company choose that approach?

Was it because of product reliability, customer requirements, production volume, cost, or something else?

I'm genuinely interested in learning how these decisions are made in real manufacturing environments. I'd love to learn from people with hands-on manufacturing experience.

reddit.com
u/Joy-DEZSMART — 18 hours ago
▲ 1 r/PCB

Shaky Hands

whenever I solder or am handling small components, I can't keep my hands steady because of a previous wrist injury. I was wondering if anyone else has this problem? and how they lessened it.

reddit.com
u/RentPlus9918 — 19 hours ago
▲ 2 r/PCB+1 crossposts

I have plenty of experience with through hole soldering and I was wondering if this is a viable project for a complete surface mount newbie.

I am understand that I'll be required to purchase additional hardware such as a hotplate or a magnifying class. I was planing to use a stencil, solder paste, and a hotplate for much of it. I am happy to provide more info if needed.

https://preview.redd.it/cyz2nns5thbh1.png?width=952&format=png&auto=webp&s=a37e619ea20bb18625cdac4f51a1c78562597b1f

reddit.com
u/stonks-69420 — 17 hours ago
▲ 15 r/PCB+2 crossposts

MusikDing Dyna Comp kit goes silent when turned on.

This might be the worst soldering job you have ever seen but it’s the best I could do with this being the first pcb I have ever built. None of the soldering points touch each other and the bypass works fine so there shouldn’t be a problem with the input output. The LED works fine it’s just the rest. I did nick the cream coloured rectangle thing with the iron so if anyone knows where i can get a replacement in London it would be greatly appreciated! thanks

▲ 7 r/PCB

PCB Review Request (First time getting it manufactured)

First of all the routing of traces, i didnt put much thought behind them at all since i assumed the ckt to be very simple, i balled on the routing part. I hope it isnt going to be too much of an issue.

I have tried charlieplexxing 20 LEDS (0805) using an ESP32 C3 SUPER MINI. This thing is going to be powered by hooking the pcb to the phone (Samsung M22) using a USB OR using 3 AAA batteries (4.5V + high current i assume) enclosed in AAA battery holder, purely depending on the aesthetic.

I have used 5 150ohm resistors to limit the current in the leds to around 7mA max (rough estimate since the LEDS i am getting dont have any datasheet and they are my only option)

I have 4 header pins for an I2C 1.3 inch oled display.
My plan is to use the esp to make stars (led) in the perseus constellation all light up at the same time by switching them extremely fast to make it look like they are all on. Some of the leds are suppose to dim periodically too. How possible is this to achieve ? Thanks for the review

u/Snoo65155 — 1 day ago
▲ 7 r/PCB

PCB Review Request

This is my 6th PCB, but its the first 4 layer design I've done. Curious to hear any suggestions or feel free to drag my design.

Application: 11V input (3s Lipo Batteries) driving 4 WS2811B LED Strips drawing 3amp, 2 3v motors (drawing 1a total), IMP441 Microphone (off board), RS485 driver and Microcontroller.

What is it: This will be at the top of a 10 foot totem, the motors blow bubbles. Picture included for reference. I am a bit concerned about heat the board will be inside the device at the top of a 10 foot pole which will generally be in the sun, i was going to place the board on the bottom of the inside near one of the bubble fans to draw air over it and possibly put some reflective material over the top to reflect away heat.

Notes:

  • Will end up using TPS565201s for the bucks. I tried to follow the layout on the datasheet as closely as possible. These two blocks are my biggest concern because i had to redo a previous design in the past for a boost converter because i didn't follow the datasheet as closely as i should have.
  • I know i need to fix the orientation of some of the connectors...
  • Followed the datasheet suggested layouts on all the IC's.
  • Design decisions:
    • 3S LiPo / 11V source - the batteries will be at the bottom of the totem (10ft). I have 2s and 3s, went with the 3s for the higher voltage due to the length of the leads.
    • I use 1206 wherever possible due to it being immensely easier for me to assemble and its what I already have for most of the passives.
    • ESP32S-WROOM - I use these for all my projects, this will not be using the WiFi except for OTA programming.
    • To keep the part count down I am using the enable pin on on the motor block buck to turn on/off the motors. I didn't prototype/breadboard this piece out yet.
u/woganaga — 1 day ago
▲ 41 r/PCB

Help with reducing the cost

I should start by saying that I do not know much about PCB manufacturing in detail, which is why I am reaching out to the specialists here.

Here is the situation:

  1. I commissioned an individual on Fiverr  to create a PCB based on some specifications.
  2. I then commissioned another couple of individuals to confirm the schematics and the PCB design.

Everything seems to have worked well so far. However, the cost per PCB (or the total cost) seems to be quite astronomical in my view. I do not expect it to be pennies, and I understand that it is probably made in China, but I wonder if I have any opportunities to minimise the cost by even 10-15%.

Considering that this is a prototype board, I am ordering five units because I expect them to work and I would like to give the prototypes to four different people to test the device I am making.

Any recommendations are welcome. Please only offer advice if you are sure of what you have to say; otherwise, you might send me into an infinite loop of research that leads nowhere.

Happy to send the BOM if you like to review it

Thanks for the help

u/Stiliajohny — 2 days ago
▲ 21 r/PCB+1 crossposts

Is there any software that can simulate an entire embedded hardware design before PCB fabrication?

Hello everyone,

"I'm designing an embedded hardware project with power supplies, UART, RS-485, Ethernet, sensors, and a microcontroller."

I'm designing an embedded hardware project with multiple interfaces. Using the datasheets, I've designed the complete circuit, but I'm not confident that it will behave exactly as expected. Before I manufacture the PCB, I'd like to verify that the design works correctly through simulation.

I'm looking for software that can:

  • Simulate an entire embedded circuit (or at least individual functional blocks).
  • Verify voltages, currents, timing, and signal behavior.
  • Support common components from datasheets.
  • If possible, simulate firmware as well (Arduino or other MCU code interacting with the hardware).

Is there a tool that can simulate a complete embedded design, or is it standard practice for engineers to simulate each interface separately (power supply, UART, RS-485, Ethernet, etc.)?

What simulation software do professional embedded hardware engineers typically use?
and
I'd also like to know what the typical workflow is in industry before sending a PCB for manufacturing.

reddit.com
u/NewCategory1955 — 1 day ago
▲ 0 r/PCB

I am pcb

I m pcb I am thinking to do bsc in Data science from Sharda University it is only university provide bsc in data science to pcb please suggest am i going right or should I don't choose this , also I will do msc in data science how much I would be able to earn considering myself as avg student.

reddit.com
u/Tasty_Raise3403 — 1 day ago
▲ 0 r/PCB

did i connect everything right and are there some stuff i need to change?

i want to make a morse code parser with a rp2040. so i wanted to make a protection circuit for the lipo battery, i am gonna use (3.7 lipo battery). this is my first time making a pcb so i am pretty unexperienced. i had a bit of a pain understanding the fs8205. so i am not sure if i connected that right.

u/No-Growth7129 — 1 day ago
▲ 12 r/PCB+2 crossposts

My DIY power supply

Now I can check small devices such as LEDs, relays and something!

I'm so proud of myself because it is works and nothing exploded!

Features: variable output voltage(0 to 15V) with graphical display. Used old laptop power supply(19V 2.3A).

P.S. schematic on the last photo

u/IvanIsak — 1 day ago
▲ 1 r/PCB+1 crossposts

Is this a valid voltage divider connection?

https://preview.redd.it/ld3r0dkxydbh1.png?width=1071&format=png&auto=webp&s=5083be923b6b02c0adcea1d1733a7211a3c44972

This is a simple voltage divider network taking 5V from a microUSB and feeding 3.56V to the GPIO pin...is this configuration fine or do i need to take out a trace from the middle of both of these resistors??
Sorry if this question seems dumb but I'm a beginner so any advice would really be appreciated.

reddit.com
▲ 804 r/PCB+1 crossposts

never forget to add autism to your board

its like the saying with RGB giving you extra fps, adding anime characters or other random bs to your board makes it function 10% better

u/4b686f61 — 3 days ago