So I let someone create a PCB for me and it arrived this week.
I want to control up to 16 motors with SDA/SCL
So the PCB receives GND/3.3V/SDA/SCL and 2 Pins to control the direction of the motors.
I have one MCP23017 to expand to 16 IO-Ports. I use 8 TB6612FNG motor drivers to control 2 motors each.
I attached an image that shows part of the PCB.
But when I connect power (3.3V) and ground to the PCB only to power the MCP23017, it gets extremely hot within a few seconds. Nothing else is connected to the PCB yet.
Is the uc getting too much current? If yes, how can I lower that current?
I checked all the pins like 20 times and only the 4x gnd (A0,A1,A2, VSS) and the 3.3V (Vdd, RESET) are connected. No shorts anywhere. No SDA/SCL connected.
If I got it correct the PCB "top layer" is used for 3.3V.
When I connected the PCB to the 3.3v output of my D1, the D1 was not detected by my computer anymore (and after a few tries it seems like it killed the D1).
I think you should double check the IC's pins then check everything with a multimeter. Check you power source as well for it may be giving too much power. After that maybe you can add a resistor or something. Also do you have a circuit diagram, if so can you send that as well?
Yes I checked everything with a multimeter and the connections are correct.
It is a 2 amp powersupply. I thought the components only draw the power they need?
3.3V is correct as well.
Here is a picture of the circuit diagram (only for 2 of the total of 8 driver motors)
As (in my opinion) I got the wiring correct and got GND and 3.3V on the correct pins of the IC and nothing else is connected...it should be the IC.
But am I correct, that it should not matter how much amps I give to the PCB, the MCP23017 should be working standalone without turning hot?
If it was OK in a breadboard with just power applied but goes/went critical when placed in your circuit board then that's a telling thing.
I suggest the addition of an IC socket.
I will also note the absence of bypass capacitors in your schematic.
What about doing what I suggested and posting the track layout then we could see what sort of a mess the PCB has been made of the PCB.
The schematic is irrelevant, it depends on how that schematic is converted into copper tracks. Did the "friend" who made the PCB layout use a schematic capture program? If so what was it. Also have you told your "friend" what happens when you apply power?
Yes you have probably fried that IC as well.
Have you tried seeing if there is a short between the 3V3 and ground with your meter.
Sorry, not answering to that.
Your name totally suits you.
Pointing out false things and insisting on them, although I tried to show you it's the same thing.
Maybe the PCB is a mess, but interesting that you can see that only because one IC is rotated 180 degrees.
Saying "friend" (which I did not say a single time) like I am trying to hide it was me who did this.
And as I already stated, there are no shorts and I checked all pins multiple times.
So thank you for your help so far, but please do not spend any more time on this.