Project from breadboard to PCB

Hi everyone,

I am doing a project which is currently working pretty good on my breadboard and I would like to order a PCB online. My problem is that I am using an ESP32 dev board (where I just plug the usb cable and program the ESP32 and the 3.3V is also provided) and a relay module.
When designing the PCB instead I am using just the ESP32 module (without the USB adapter) and I will design the relay module and the 3.3V step down myself.
I would like to double check with anyone of you that will be kind to assist if the design of these modules are correct.

The first is the ESP32 module. I need to program it while it is on the board using an FTDI serial adapter and I also have provided the reset and boot buttons:

image

The second is the 5V to 3.3V converter:
image

And the last one is the relay module with optoisolator:

Do you think these modules are going to workas they are deigned?

Thanks

If you have no experience with soldering a castellated chip, suggest you stay with the all in one ESP32 development module.


Here is a similar situation using a bare bones ESP32 chip.

You should be able to compare this with your version.

Thanks for the schematic, that's very useful.
I am going to order the PCB already assembled online, no idea indeed how to solder a chip like that or any SMD component.

Well the best approach is to actually get one of them first, solder it onto a breadboard adapter (just a bit of prototype board and some pins will do) and test that out as well.

depending on the package that you intend to use, and a bit regardless of that, you will have to observe the size of the heatsink. An ESP32 is rated for 250mA, and i think that the onboard LM1117 on a dev board uses a lot of the PCB as a heatsink (also because the claims that it can provide the full 600mA when stepping down from 5v)

Pretty sure you can test that already. I would use a 1N4148 as a fly-back (not a 1N4007) and increase the value of R2, although i am not familiar with the 2n3904, but looking at the datasheet i see it only comes in THT package, and i guess i would find a part that comes in SMT package for a PCB design instead.

Hmm yeah the pins are significantly pitched smaller than a barebones ESP8266,

That will mean that you will be at the mercy of the PCB manufacturing company. You should make sure that what you have designed will actually work before you get them to put it together.
How about you design a barebones ESP32 onto a breadboard-friendly PCB first.
Oh yes and if you don't, remember the 'keep-out' zone of the antenna.

Actually if someone just does that, it won't be to long before all of us can just buy them online from AliExpress

Thanks for responding. Indeed probably a good option would be to create a board with just the ESP32, the LM1117 and the programming pins in order to test it.

LarryD, one thing that I don't get of this board is how the ESP32 is programmed if the RX and TX pins are not connected to anything

The LM1117 has a quiescent current in the 5mA range, so the sleep current of the board is not going to be less than that.

Try a HT7833, that has 500mA output capability and a quiescent current of 4uA, so the board is now good for deep sleep type operation.

No harm in laying out the PCB to give you a choice of either LM1117 or HT7833.

The RX (GPIO3) and TX (GPIO1) pins need to be connected for programming.

They are connect to J16 via net labels.

1 Like

Yep, but given how close those parts are it wouldn't have hurt to just connect them in the schematic.

as said, i think i will include a 'barebones ESP32 with just all the pins connected to male (or even female) header pins. Take the rest completely off the table.

1 Like

Thank you for confirming that my answer is correct.

Hi, @sergiocap
Is there a reason why you don't use the ESP32 dev and place header socket on your PCB to plug it into.
So more than halving your PCB complexity.
This is an example during protoboarding I did with a Nano.

Tom.. :smiley: :+1: :coffee: :australia:

I can think of one main reason. Professionally finished result.
btw, you are rather wasteful with the space on your prototype board ...

Prototype, in development, needs to be serviceable to change and add components.
That is not the final result before going to PCB.

The final PCB needs to be serviceable and able to update code, KISS.

But each to his own.

Tom.. :smiley: :+1: :coffee: :australia:

1 Like

this is actually a pretty good idea! Thanks

Well then the ESP family really comes into it's own with OTA updates.

I like the way you have added glue to the screwterminals it took me a while to get to that. Usually the pins are to big for the board, and the solder does tend to breeak.

There is the 3 pin connector.

1 Like

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