I have an Arduino Duemilanove, which I love, but I am working on a project which requires 2 Arduino's.
I bought the components and put together a second Arduino, on a breadboard, as it was a lot cheaper that buying another Arduino. I have been programming this breadboard version via my real Arduino but continually removing and replacing the ATMEGA on the Arduino is a chore and is definitely going to lead to me breaking pins.
Is it possible to program an external chip WITHOUT removing the one on the Arduino? I mean, without purchasing any additional parts, simply using a host Arduino?
Cheers,
LongTom
Yes.
Connect D0 to D0, D1 to D1, Gnd to Gnd, +5 to +5 if not seperately powered.
On the host board, jumper reset to Gnd.
Within the IDE, select File:Preferences and check the Verbose output check boxes.
Start the download - when the IDE finishes compiling it will show "Compiled xxxx of 32xxx bytes" something along those lines.
When you see that, press reset on the 2nd board. The download should start. May take a couple of tries to find the right timing.
Then, invest in a tool - an FTDI module - and stop this nonsense 8)
CrossRoads:
Yes.
Connect D0 to D0, D1 to D1, Gnd to Gnd, +5 to +5 if not seperately powered.
On the host board, jumper reset to Gnd.
Within the IDE, select File:Preferences and check the Verbose output check boxes.
Start the download - when the IDE finishes compiling it will show "Compiled xxxx of 32xxx bytes" something along those lines.
When you see that, press reset on the 2nd board. The download should start. May take a couple of tries to find the right timing.
Then, invest in a tool - an FTDI module - and stop this nonsense 8)
Awesome, I will give this a shot tonight.
Thanks!
Just a quick message to say thanks to CrossRoads for telling me how to do this. It works perfectly and has saved me so much time and effort.
Nick Gammon, I wanted to avoid buying any extras bits because this might be the only time it's required. Thanks for the link though, looks like there are some useful bits there!
