I'm designing a sensor board that contains several sensors, all of which are drawing more current that can be provided by USB connection to a PC. I would like the board to draw power from an external dc power source while connected to the PC through serial/ISP uploading. However, if i only have the serial/ISP connection made on the board i would like to power just the MCU and the RF radio so i can upload code to the MCU with basic debugging monitoring. But i would like to have the external power option there to enable me to debug the whole of the sensor array in the serial monitor on my PC.
The power option for this module while in permanent statue is AC 240v, stepped down to 5v on board.
My first initial thoughts were to have a jumper separating the power line in such a way that it isolates the MCU and RF radio away from the sensors, disconnect the jumper (creating a break), connect the upload method, upload code, remove connection to PC, remove jumper and install back to 240VAC power.
What would you guys suggest i use for a solution to this?
The power option for this module while in permanent statue is AC 240v, stepped down to 5v on board.
My first initial thoughts were to have a jumper separating the power line in such a way that it isolates the MCU and RF radio away from the sensors, disconnect the jumper (creating a break), connect the upload method, upload code, remove connection to PC, remove jumper and install back to 240VAC power.
What would you guys suggest i use for a solution to this?