- Thu Jun 06, 2019 11:31 am
You have diodes in parallel with the coils. Your first schematic/layout did not have that. Are you sure this will work? The diodes will short out the flyback pulse when the mosfets are turned off. Isn't this counter to what you want to happen? Maybe you want to test this before you get a board made.
It is very difficult to tell you what to do to fix the issues with your circuit board. First, it is hard to see what is happening with the bottom layer. There is little contrast between the blue and the black. There are the top and the silk screen layer on top of that. The resolution is low so it is hard to make out detail. And the clearances you have between traces and parts still are a problem. Maybe not as far as getting a board made, but seeing what is going on in your layout. All of this and the layout issues make it difficult to suggest improvements. Also I don't have enough time to go over much.
When I start a layout I first decide how I want power to be run to the higher current consuming parts. The ones that have changes in current. Steady state is not usually an issue.
Parts that do significant switching of current, like the ESP8266 and the mosfet driver, need good bypass capacitance from their power terminal to ground. Ideally the paths must be as short as possible.
Looking at your layout, you have a short path from the ESP12 +ve power pad to the C7 (good). Then I look at the path from the negative lead of C7 and try see how short, how direct, the path is to the ESP12 ground pad is. And I can not find the path from C7 to the GND on the ESP12. Not only is it not a direct short path. There is no connection.
Where is the ground connections for the ESP12, SW3, SW4, P3, P7. Your grounds are all chopped up. They are worse than bad, they are nonexistent.
I suggest you spend some time reading, learning, how to design a good layout. I have no intention of redesigning this board for you through these comments. It is just too difficult and frustrating explaining all I think you should know.