0
Offline
Newbie
Karma: 0
Posts: 49
Arduino rocks
|
 |
« on: February 08, 2013, 09:13:21 am » |
hello
ive recently bought and set up a colorduino with a Leonardo.
Im installed the latest Lincomatic colorduino library, but i cant get the first plasma program to work. My LED RGB matrixjust cycles from solid 100% R to G to B every second.
Does anyone have any experience with colorduino and knows what the problem is? ive wired it correctly
RX to RXD TX to TXD RESET to DTR VDD to 5v GND to GND
HELP!
thanks
Vahakn
|
|
|
|
|
Logged
|
|
|
|
|
Tucson, AZ
Offline
Sr. Member
Karma: 4
Posts: 269
|
 |
« Reply #1 on: February 08, 2013, 09:29:41 pm » |
I think that you didn’t upload the code into the colorduino… the R G B every one second is the factory code that comes by default. When you uploaded the code in the arduino software, did you saw the message “Upload Complete” ?
Remember to take out the ATmega microchip from the Arduino before you upload a new code into the colorduino.
Hope it helps
|
|
|
|
« Last Edit: February 08, 2013, 09:42:34 pm by kd7eir »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 49
Arduino rocks
|
 |
« Reply #2 on: February 12, 2013, 08:29:12 am » |
I was not aware I had to remove the chip from the Arduino. I have an UNO. I removed the chip and tried to upload and now I get this error when I try to upload: avrdude: stk500_getsync(): not in sync: resp=0x00
Do I leave the chip out all the time when I use the colorduino?
I have a Leonardo also, but the chip is not removable. Am I UNABLE to use this Arduino board?
Thanks for your response.
Vahakn
|
|
|
|
« Last Edit: February 14, 2013, 10:58:51 am by vahakn »
|
Logged
|
|
|
|
|
Tucson, AZ
Offline
Sr. Member
Karma: 4
Posts: 269
|
 |
« Reply #3 on: February 12, 2013, 10:00:11 am » |
I used a Mega2560 to program my Colorduino, it also does not have a removable chip.
Maybe these steps will work with your Leonardo.
This is essentially a serial passthrough. When you put the rx of the 2560 to the rx of the colorduino you are actually putting the tx of the the mega to the colorduinos rx, allowing you to upload using the regular arduino bootloader present on the colorduino, and by holding the reset you prevent the mega from responding allowing the colorduino to do so instead.
Again, not sure if this will work with a Leonardo as I do not have a Leonardo to test it with.
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.
|
|
|
|
« Last Edit: February 12, 2013, 10:04:28 am by kd7eir »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 49
Arduino rocks
|
 |
« Reply #4 on: February 12, 2013, 01:43:25 pm » |
Hi thanks for the suggestions i dont have a MEGA. I have 2 UNOs and a LEONARDO. surely one of them is supported.
any more help would be greatly appreciated
Vahakn
|
|
|
|
|
Logged
|
|
|
|
|
Tucson, AZ
Offline
Sr. Member
Karma: 4
Posts: 269
|
 |
« Reply #5 on: February 12, 2013, 08:42:12 pm » |
The instructions should work for any Arduino. The pin numbers may be different, but the concept is exactly the same. Connect your Uno exactly as indicated in my previous post, including the capacitor between Reset and 5V.
Uno Colorduino ----------------------- RX0 (pin 0) ->> RXD TX0 (pin 1) ->> TXD RESET ->> DTR 5V ->> VDD GND ->> GND
Reset -> 4.7uF capacitor -> 5V
Then upload the sketch, as soon as the size of the sketch appears in the window, hold down the RESET switch on the Uno until the upload completes.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 49
Arduino rocks
|
 |
« Reply #6 on: February 14, 2013, 06:26:59 am » |
Hi I'll try your suggestion
Do you mean: [see attached]
thanks sorry for dumbness
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 49
Arduino rocks
|
 |
« Reply #7 on: February 14, 2013, 09:58:21 am » |
Ok Ive treid the above but no joy.
I just still get: avrdude: stk500_getsync(): not in sync: resp=0x00
which blows.
checklist: 1. Arduino is wired as the diagram sent in previous post 2. Everything has power 3. ATMEGA chip is removed 4. Uno is selected in board type in Arduino Environment 5. Correct USB port is selected in Arduino Environment
Something is happening because when I click upload, one line of lights flashes briefly once or twice.
eek! Vahakn
|
|
|
|
|
Logged
|
|
|
|
|
Tucson, AZ
Offline
Sr. Member
Karma: 4
Posts: 269
|
 |
« Reply #8 on: February 14, 2013, 10:48:59 am » |
You may want to post about this in the programming forum - there are people there that have a lot of experience with the not in sync issue.
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
Tesla Member
Karma: 89
Posts: 6377
-
|
 |
« Reply #9 on: February 14, 2013, 12:54:00 pm » |
You may want to post about this in the programming forum - there are people there that have a lot of experience with the not in sync issue.
This is NOT a programming issue. (Nor is it an LEDs and Multiplexing issue.) It seems to me to be an installation and troubleshooting issue.
|
|
|
|
|
Logged
|
|
|
|
|
|