Hello YouTubers! I've made some tweaks to the schematic from the previous video.
I've added some screw terminals for the LED outputs and I've also changed some of
the pin assignments so they don't conflict with SPI and I2C pins. I
think this schematic is good to go so we'll convert this to a PCB and start
the layout process. So here's all our components. Our PCB size is going to
be constrained pretty much by the screw terminals and the header pins so what
I'll do to begin with is just lay out the components in the general area that
they'll end up in in the fully routed PCB.
That's our components pretty much laid out in their final positions.
I'm going to do a ground pour of copper on the bottom and top of the board so for
now I'll just switch off the ground net so it makes it easier to see what we're doing.
I think we are now ready to layout the output stage so let's start wiring it up.
Now we can move on to the power regulator which supplies the 3.3 volt supply to the ESP 32
Finally, we can wire up the GPIO pins to our headers and also wire up the
indicator LEDs for TX/RX and the power supplies.
We need to route our 5 volt supply out to one of our header pins and also
to the top end of the MOSFETS for driving the LEDs
That's all the routing then we need to set a board outline now and also do
our pours of copper for the ground planes so we'll do that next.
That's our PCB all laid out all our DRC checks pass and all our nets are connected.
We can now go and generate the Gerber file and submit it to JLPCB for manufacture.
We can put some options in for how many boards we want.
The board thickness we want and we can see we get an approximate quote.
So for these boards it will be $4 to manufacture them so let's submit this order to JLPCB
and get a complete quote for SMT assembly.
Here we are in JLPCB. We're just uploading our Gerber file
and you can see a preview of it.
We'll have a two layer board let's work out the dimensions we'll just
order five PCBs. We'll stick with one point six so the thickness use green.l
Use all the defaults for copper weight.
We don't need fingers. Default material type and we don't need panelisation,
We don't need castellated holes and we only have one design.
We'll let them keep their order number if you choose not to have it then you get
charged extra. so we went through that.
What we will do is turn on SMT assembly
We need to assemble the topside you can order two or five SMT assembled
boards and will allow JLPCB to decide where to put the tooling holes
We could define this ourselves but easier just let them do it.
Now we need need to add BOM file (the Bill Of Materials).
So we return to EasyEDA and we go and export our BOM.
So, export the bomb to an excel file.
And then we need to add the CPL file so
So we go back to EasyEDA and switch to the PCB view.
And we save our pick and place file.
So export that as well.
Now back on JLPCB we can add those two files to our order.
So you can see it has analyzed our BOM file and it's matched the components
up to their parts list and they've confirmed that they're the correct ones
and they've given us an approximate price for the components.
Down the bottom here we have the parts that they won't be doing for us so the ESP32 module.
and the header pins and the screw terminals.
These components we'll have to source and solder ourselves.
So we hit next.
Now we have a preview of where our parts will be placed.
Then we can hit save to cart and order this PCB.
You can see our total cost is going to be 14 pounds.
So in a couple of weeks or hopefully in less time
maybe in a week we should get a partially assembled PCB
with the SMT components mounted and all we need to do is manually solder the
through-hole components and the ESP32 WROOM module.
So I hope you enjoyed this video
I've certainly enjoyed making it and if you did enjoy it please hit the
subscribe button because there'll be more videos coming.
Thanks for watching and see you in the next video