Review my PCB and/or tell me how best to test that this PCB will work before I order it?

Friends, I'm working on a PCB that will drive a single motor to build a marble auger for my son. I know I could just buy a motor driver shield or what have you, but I'm also trying to learn the art of building electronic assemblies. I've done a fair bit of breadboarding practice, so now I'm looking to make something that will fit inside a 3d printed enclosure and give my son a good experience.

I've designed a PCB with the following features:

  • DC in from 5v power supply.
  • Micro-USB
  • Output for motor (some micro mini BDC 3-5v motor from Ebay).
  • Input for a POT that will be used to select motor power.
  • ESP32-S3. I know this is overkill to drive a pwm signal, but I have several lying around and a programming environment all set up. I won't mass produce this device so the BOM cost doesn't matter, to a first approximation.
  • A header for UART programming the ESP32.
  • A bootsel switch.

The basic functionality is that the potentiometer will control the motor duty cycle. Once I've assembled the auger, I will test the motor and see what the reasonable duty cycle range would be, and then I'll map the potentiometer input onto the range I determine experimentally. The pot has a switch, which if open will disable the motor entirely.

Of course, this will be programmed with Arduino. :slight_smile: Not that the programming is a huge challenge in this case.

Here are the schematics:



Before I order the PCB, it's my intention to test at least the motor circuit to verify that it works as expected with my power supply and ESP32-S3 devkit. However, I do not know how I can reasonably test the rest of the circuit without ordering the PCB. For example, it is difficult to install the TPS561201DDCT on my breadboard, and I don't have all those resistors, capacitors, and inductors outside of the 0603 assortment kit I'm getting.

Therefore I come to you for advice. What do you do to pretest PCBs before you order them? Is anything obviously wrong with my schematics or the PCB I've designed? I thank you in advance for any feedback! If anyone wants to dig into the schematic on EasyEDA, please let me know and I can share a link.

ChatGPT said:

ChatGPT

Gosh darn, I can't complain; you did a fantastic job doubling the bulk capacitors and adding bypass capacitors. It's smart to have the design reviewed before building; that can save a lot of headaches later in the project.

I'm not entirely sure about the 0603 parts, though. They are quite small. I've been using 0805 for a few years, and their size can be a real pain, especially if they’re placed too close together for hand soldering. That said, there’s nothing wrong with 0603s—they’ll work great if you’re comfortable with them.

I didn’t check all the schematic connections since I’m not familiar with every part, but overall, it looks good to me!

1 Like
  • Have not looked at your schematic circuit for accuracy.

  • Suggest you add a switch to the EN pin going to GND.

  • A power LED is nice to have.

  • Add mounting holes to the PCB.

  • Always nice to have a diode in series with the power jack.

  • Suggest you add the option for a few off board switches and LEDs (include GND pads) because you might need them.
    :wink:

  • Agree 0805 would be better, 1206 if your abilities are challenged.

  • Have you ever soldered an ESP32 castellated chip ?

2 Likes

Does ChatGPT really speak in the first person about his/her/its experience or is this some hallucination ?

Thank you very kindly for your feedback. I will incorporate your suggestions. Just answering your interrogatories:

  • I haven't soldered an esp32's castellated pads.
  • However, I have soldered the same type of pads on a Pico-W. It was easy. The pads on the esp32-s3 module are about half as large but I think I will manage.
  • I have also soldered a ribbon cable to the pins of a Nintendo 64 CPU (PQFP -- not sure exactly the pitch but it's small). This is my work:

For this reason I'm hoping I'll be able to manage the ESP32's pads and 0603 components. I have also hand soldered 0201 components but it wasn't fun!

In the event I find I'm not up to the task of soldering the castellated pads anyway, what would you say my next best alternative is?

For this thing: that will cause a voltage drop, right? If so, that would imply reduced peak power for the motor. If it's a concern for me, should I then upgrade my power supply slightly to account for this? I.e. use a 6V supply rather than a 5V one?

  • A Schottky Diode will drop ≈ 0.3 volts.

  • Suggest you forget about the switching regulator and use something like the AMS1117-3.3 voltage regulator, 6-5V for Vin is fine.

  • What current is needed for the motor ?

  • A microscope makes soldering the ESP32 relatively easy.

  • For hand soldering small SMDs, the Magnetic Hold Down Clamp works well.
1 Like
  • These switches are smaller form factor.

1 Like

I owned a contract manufacturing/electronic assembly service for 20 years. The usual sequence of someone creating a production ready circuit board was 3 tries. Did you create a bill of material, BOM, showing your components id number for your circuit board, the component source and possibly the sources part number?
Are you having a silk screen applied to your board that also has your part ids on it?
I remember an engineer with 20-30 year experience still discovered one of the components that he specified did not fit the footprint on the circuit board.

1 Like

No Clue!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.