I am designing my first custom Arduino for a hobby project. I am using the ATmega 328p and using the Arduino Nano schematic as reference.
I see there is a diode that blocks the Arduino from attempting to power the PC. But when the battery is disconnected and Arduino is plugged in to the PC, +5V from VCC of Arduino will connect to the output pin of the regulator. There is no protection for backfeeding. How does this work?
Ah, I see. I did not now this. I thought the regulator will break if there is power on its output but no power on its input, especially when there are capacitors connected to the regulator. What would happen if there was another component, like for instance an LED connected to the input pin of the regulator. Current would flow from the output pin of the regulator to the input pin, would that damage the regulator?
Hi,
Have you thought of keeping the Nano assembly and mounting it to your PCB with header sockets.
Then you will be assured of a good working controller when you trouble shoot your PCB.
Edit: The schematic shows that the regulator has 4 pins, but I have only seen these regulators with 4 pins (in, gnd, out), do you know why it shows 4 in the schematic?
Yes. I have done this before with Arduino and modules. But now I want to make my own PCBs with just the microcontroller instead of using the Arduino and make my own modules