So I just got into this website as other websites such as circuits.io are not as advanced or easy to use as this one. Anyway I am going to be doing home automation and I can do it without a PCB and i made up a prototype that works however it looks terrible. hence me making a PCB.
I was wondering if someone could look over it and see if I did anything major mistake wise. I am sure there is some. I know enough to be able to put existing components in.
I can explain every part if need be
here it is
https://easyeda.com/bizit524/ESP-pOI0UEyiE
Here is a breakdown of what components I have
ESP01 which is powered by an hlk pm01. This hlkpm01 has mains screw terminals and goes first to a 5v to 3.3 v step down converter. There is a bypass jumper that completely bypasses that circuit and powers the ESP if I ever choose to buy a hlkpm03 which is just straight 3.3v instead of 5 (same footprint).
There is a program header which I plug in a UART usb programmer which supplied 3.3v ground, tx and rx to the ESP. To get it to flash I have to bring pin2 high and pin0 low. There are two jumpers there to do that.
Since an ESP01 only has 2 GPIO pins it will control 2 of 3 things on the board I have. I have a dht22 which is a temp sensor with a pull up resistor that goes to GPIO2 OR if i dont want a temp sensor it can be left blank and power a 5v relay which is activated by a 2n2222a transistor. There is a diode across each relay and a resistor going from GPIO pin to transistor.
Relay two is the same thing except its dedicated both have screw terminals.
Have I screwed up anything major??? I would love your input