I have recently started a project where I need to drive some relays and needed wireless connectivity and a few more parameters. My original idea was to design the PCB for the relays with their components and simply leave a place for the ESP32 DevKitC v4.
Much to my dismay I couldn't find the devkit as a whole sold commercially from any of the stores where I would be ordering the parts I require. However looking through the devkits schematics I found that I can find all components separately that the devkit uses, and even some I have at home.
So my idea now is simply to make my own board based around the ESP-32-WROOM (the ESP32S2-WROOM-I-32 in particular). Only big difference I would want to make from the original design is the use of a different USB-UART module, the CH340G.
So I have 2 questions:
- What are some general guidelines when I should be following when designing the PCB itself, e.g thicker traces for power, USB lines should be as short and equal as possible etc.
- I am not very familiar with the chip, so my next question is about software. I know that the arduinos have a special bootloader for their ATMega chips which you need if you wish to use the arduino IDE. I have become quite comfortable with the IDE and would wish to use it with this board too - so is some bootloader required for it, or can I just follow most of the tutorials on the internet about using the ESP32 with the arduino IDE with no previous software steps required ?