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.
2  Using Arduino / LEDs and Multiplexing / Re: A Low Cost Approach to Graphical Waterfall on: May 02, 2011, 01:47:35 pm
That's cool!  Did you get the hardware completed?
3  Using Arduino / LEDs and Multiplexing / Re: RGB LED array (shiftbrite) at video rates on: April 08, 2011, 11:37:17 am
Every shiftbright gets 32 bits. (two control bits)
35.88fps
4  Using Arduino / LEDs and Multiplexing / Re: 8x8 RGBMatrix SparkFun, creating an animation. Need Help. on: March 15, 2011, 08:41:02 am
The tutorial you listed doesn't show reprogramming just connecting and driving..
Take a look at this..
http://www.sparkfun.com/tutorials/247

This is one you will like!  A tutorial on reprogramming matrix modules...
smiley
http://www.sparkfun.com/tutorials/200

Dave
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.
6  Using Arduino / Programming Questions / Re: RGB code with funny results on: February 16, 2011, 01:47:09 pm
Hi,
I'm not saying it's wrong but...
int potValue = analogRead(A0);
might need to be...
int potValue = analogRead(0);

Also, you are setting digital 0 as an input and initializing the serial port which uses the same pins.


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
8  Using Arduino / Project Guidance / Re: Do I need a motor shield to control a stepper motor on: February 16, 2011, 10:44:09 am
If it's a really tiny stepper then yes.  smiley  I doubt you'd be able to find that kind of motor though, so no, you are going to need something external to switch higher currents.
9  Using Arduino / Project Guidance / Re: The Gadget Show: GPS Guided RC Car - Arduino Controlled on: February 14, 2011, 10:26:45 am
I'm not in England!!!!   smiley-cry
10  Using Arduino / Project Guidance / Re: Motor Twitching - Using Motor Shield on: February 08, 2011, 03:21:47 pm
It still should work according to the examples.

If you are forced to enter a parameter then use...
AF_DCMotor motor4(4, MOTOR34_8KHZ);
The prototype is defaulting to that parameter...

You are using DC motors, right?
11  Using Arduino / Project Guidance / Re: Motor Twitching - Using Motor Shield on: February 08, 2011, 02:59:59 pm
I don't have a motor shield, but I believe you need to remove the frequency section if you are using dc motors.

AF_DCMotor motor4(4, MOTOR12_1KHZ);

Switched to...

AF_DCMotor motor4(4);
12  Using Arduino / Project Guidance / Re: Sourcing MLX10407 ICs for driving Aircores on: February 08, 2011, 02:25:15 pm
Try this..
http://www.futureelectronics.com/en/Search.aspx?dsNav=Ntk:PlainTextSearch|7215767|3|,Ny:True,Nea:True

13  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino Xbee Shield problem on: November 20, 2010, 10:56:33 am
Yea, I doubt both radios are bad.  Sounds like a power issue.  Any way of trying a different external power source?

I've only used usb power for my xbees.
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
Pages: [1] 2 3