Arduino Forum

Using Arduino => Installation & Troubleshooting => Topic started by: muda on Sep 28, 2012, 02:17 pm

Title: How to upload while externaly powered ?
Post by: muda on Sep 28, 2012, 02:17 pm
My Duemilanove is hardwired in to aquarium controler. How can I upload sketches and not disconect all controller from power . I understand as there is conflict(or  whatever bad thing) between 12VDC and 5v from usb coming from my laptop.

Thanks
Title: Re: How to upload while externaly powered ?
Post by: johnwasser on Sep 28, 2012, 02:23 pm
As long as your hardware doesn't interfere with Pin 0 and Pin 1 (Serial I/O) you should be able to plug in the USB cable and upload new sketches even while the external power is still selected.  The power jumper only changes the power source and doesn't disable USB when you select external power.
Title: Re: How to upload while externaly powered ?
Post by: cmiyc on Sep 28, 2012, 03:06 pm

I understand as there is conflict(or  whatever bad thing) between 12VDC and 5v from usb coming from my laptop.

Where did you get that misunderstanding?
Title: Re: How to upload while externaly powered ?
Post by: retrolefty on Sep 28, 2012, 04:53 pm
Yes, that is a basic misunderstanding. The Arduino board is designed to still work with both external voltage applied and plugged into USB port. The auto-voltage sensor circuit on the board will default to use external power if it's available.

Lefty
Title: Re: How to upload while externaly powered ?
Post by: muda on Sep 28, 2012, 05:50 pm
Hi . Thanks for input. That all makes sense now.

Quote
Where did you get that misunderstanding?


Hehehe. That my own invention :)

I have hoked relays on 1 and 2 pins(was out of free pins).  Probably that's why my arduino quits whenever I plug USB in to it.