I am working on a project that is using an Adafruit 16x32 Led Matrix. Plugging the board into my PC with the Matrix attached is an issue. Currently I have the Matrix and Mega powered from an old Lenovo power adapter for a laptop. I have a 5v 5a regulator with a cut usb cable plugged into the Mega and another cable powering the Matrix. I am unplugging the matrix from the mega and unplugging the usb cable to the Mega - then plugging the Mega via usb to my PC.
I wanted to ask before I blew something up - Can I keep my ArduinoMega and Matrix powered via my regulated 5v lenovo supply, and use an ISP programmer to program the Mega at the same time. I was thinking of using a FTDI adapter I was using to program a Moteino. I was thinking I would just hook up 3 lines RX,TX, GND leaving out the 5 volt line. I don't want to have to keep plugging and unplugging my project as I am testing my code. As another thought I was thinking of further modifying my usb power cable to the Mega. Can I hook up the ground, and the two data lines to the pc, again leaving out the 5v line and program that way? So I'd have 5v from my power supply taking the place of the 5v from the PC.
Or possibly any recommends for an ISP that plugs into the ICSP port on the board for programming?
Or if I power the Mega via DC input, is it kosher to plug the Mega into a pc via the USB port at the same time?
Thanks,
MAB