I am designing my own board using Arduino and I had a question. The robot has both USB and LiPo inputs, and uses the MCP73831 to charge the circuit, and the TPS61200 to step up the lipo voltage to 5v. I am using the MBR0520 to automatically select the power supply, however I was wondering if there was any way to make the arduino not run the sketch it is programmed with if the USB is connected. Basically, I would like the robot to only be able to be programmed if the USB is connected, and only able to run the program if the USB is not connected and the LiPo is.
I have attached the power part of the overall circuit, please ignore ‘P1’, it is literally two pads that have to be soldered together. I am still in the prototyping stages of the PCB, and would like the power circuit to be separate until I know it works, so as not to damage any other components.
Any help would be greatly appreciated
power.pdf (24.3 KB)