Show Posts
|
|
Pages: [1] 2 3
|
|
1
|
Using Arduino / LEDs and Multiplexing / Re: Code for a Hue Ramp using ShiftBrites
|
on: May 02, 2011, 02:07:36 pm
|
|
For a quick test I counted from 0 to 2(pi). Then just set my colors 120 degrees out of phase (3 phase color)
for angle=0 to 6.28 * cycles Red=1023*(sin(angle)+1) Geen=1023*(sin(angle+120)+1) Blue=1023*(sin(angle+240)+1)
Perhaps that will help you. (Hopefully my math is right, lol) The angle step size should be increased so each shiftbright won't appear to have the same color. This depends on how many shiftbrights you have. Just clock out one word at a time, the shiftbrights will send the data down the line by themselves.
Sorry if I made any mistakes, I'm going by memory.
|
|
|
|
|
5
|
Using Arduino / LEDs and Multiplexing / Re: 8x8 RGBMatrix SparkFun, creating an animation. Need Help.
|
on: March 14, 2011, 08:42:42 am
|
|
That's version 5 library with the v5 firmware for the matrix modules. When you power the matrix's, does a number or a series of RGB dots in the corner appear? If you have dots, then you will probably want to reprogram the matrix's. You'll need an ICSP programmer or an Arduino to reprogram the matrix's firmware.
From what I remember, people were having problems when using more than one matrix. A data byte would get lost or added between the modules. I think people turned to controlling each module individually which I'm assuming worked but wasn't optimal.
If you need v4 libraries or whatnot, pm me. I have backups of previous versions if it's helpful.
|
|
|
|
|
7
|
Using Arduino / Project Guidance / Re: Eagle layout help for connector
|
on: February 16, 2011, 10:53:16 am
|
|
I'm not an expert but I have made some parts in Eagle. You most likely need to modify the library part and add two holes to the drill layer.
If the connector holes are electrically connected, you may need a keepout or restrict (I don't remember which) area so the copper area doesn't interfere.
Dave
|
|
|
|
|
14
|
Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino Xbee Shield problem
|
on: November 20, 2010, 10:39:18 am
|
|
Does it work with it plugged in to usb power?
Either... 1:The external power doesn't have enough current. 2:Defective shield. 3:Defective xbee.
Does the arduino boot without the radio module installed? If yes, then the radio is bad, if not then there's a problem with the shield.
Of course all of this is assuming you have nothing else being powered by your external source.
|
|
|
|
|
15
|
Forum 2005-2010 (read only) / Troubleshooting / Arduino Duemilanove - R8?, R9?
|
on: January 13, 2011, 09:22:33 pm
|
|
Hi, On the Duemilanove board there are two resistors, R8, R9. They are in series between the ftdi and the atmega connecting the tx and rx lines.
Why are they there?
The ftdi is driven with 5vdc and so is the atmega, so it's not for a voltage drop that I can see.
Can I jump them out? I'm asking this because I have two Sparkfun xbee shields that don't communicate while connected to a pc and I believe it's due to these resistors.
Oh, and yes, I pulled the atmega before attempting communication.
Thanks, Dave
|
|
|
|
|