Pages: [1]   Go Down
Author Topic: Programming Colorduino with Mega2560 serial passthrough  (Read 702 times)
0 Members and 1 Guest are viewing this topic.
Tucson, AZ
Offline Offline
Sr. Member
****
Karma: 4
Posts: 272
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I spent several days trying in vain to program my Colorduino using my Mega2560.
None of the tutorials that I found seemed to work for me.

This is what I came up with that worked right away:

Mega2560           Colorduino
-----------------------
RX0 (pin 0)  ->>  RXD
TX0 (pin 1)  ->>  TXD
RESET         ->>  DTR
5V              ->>  VDD
GND           ->>  GND

Mega2560
Reset -> 4.7uF capacitor -> 5V

When I uploaded the sketch, as soon as the size of the sketch appeared in the window, I held down the RESET switch on the Mega2560 until the upload completed.

I am now happily able to program my Colorduino using my Mega2560.
« Last Edit: June 10, 2012, 02:40:28 am by kd7eir » Logged

Offline Offline
Edison Member
*
Karma: 4
Posts: 1722
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So basically you just passed the serial along to the colorduino, not isp
when you put the rx to the rx of the colorduino you are actually putting the tx of the 8/16u2 onboard the mega to the colorduinos rx, allowing you to uploud using the regualt arduino bootloader present on the colorduino, and by holding the reset you prevent the mega from responding to the 8/16u2 allowing the colorduino to do so instead
« Last Edit: June 10, 2012, 02:33:49 am by winner10920 » Logged

Tucson, AZ
Offline Offline
Sr. Member
****
Karma: 4
Posts: 272
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you clarifying that.  I edited the title of my post to reflect what I was actually doing.
Logged

Pages: [1]   Go Up
Jump to: