Official FA Sparky PWM RGB LED Controller Thread

Here’s a diagram I came up with for wiring the sparky to uila and ps360+. I posted it elsewhere on the main page but wasn’t sure if its the right place for it.

Does anyone kno if the Sparky PWM can work with the Q4 raf?

It probably can but I personally haven’t done it coz currently I’m trying to build custom sticks from scratch. I’m sure someone on here has done it, I cant see why it wouldnt work. It’s just a case of rewiring the buttons through the sparky and figuring out where the power is on the Qaraf.

So despite all the trouble I’ve seen here with the sparky I went ahead and ordered one from focusattack and am pretty excited. Can anyone tell me what ftdi cable and what other cabling I would need with the package from focusattack to program it?

You can use this FTDI breakout here: https://www.sparkfun.com/products/9716
with a USB mini B to USB B cable or alternatively use this:
https://www.sparkfun.com/products/9718
an FTDI to USB Cable since you already have the pins on the board.

You will also need the “configurator” to program the colors, found here:
http://sparky.32teeth.org/downloads.html

The first page has a ton of info posted by 32teeth that can help you program the board, so refer to his tutorial posts should you need help.

Hmm, would this this do the trick? http://www.ebay.com/itm/FTDI-Basic-6-PIN-3-3-5V-For-Arduino-Free-USB-Cable-/230820610037?pt=LH_DefaultDomain_0&hash=item35bdfafff5

It’s a wee bit cheaper, chinese made which always makes me hesitant, but much less expensive.

Also is it safe to run it at the 5v it comes with standard or do I have to get it to run at 3v?

you could use that, just make sure it’s configured to 5v.

So can anyone clear up for me how to update the sparky fw?I got a https://www.sparkfun.com/products/9716 and am trying to update a sparky pwm that I just received from focus attack.

Here are some more of my questions:
What (if any) of the v 3.0 source code do I have to change to get the sparky to work and be configurable?
How in the configurator do you specify to stay lit up, then change to another color on button press?
Is it confirmed that the Uila S white wire is not necessary? should I just cut it off as shown in the tut vid?

Can anyone explain where “SparkyClass.cpp” is? I loaded the.pde from the configurator download and there is no “second tab” to select from?

Can anyone explain where “SparkyClass.cpp” is? I loaded the.pde from the configurator download and there is no “second tab” to select from?

The file that I was referring to would be the 3.0 firmware. Not configurator itself.

I figured that was the case thanks for confirming but, the svn is locked by password, where can we get the fw now? thanks for the response.

Have you tries getting the links from focus attack website? I remember going through this whole forum to find a working link.
Just tried http://sparky.32teeth.org, it sho
uld be under downloads/old stuff/arduino. Unfortunately I am using my phone browser and doesn’t seem to do anything.

Very very careless of me. Sorry, its right where everyone has been linking to and where you said, for some reason I thought it was just the configurator.

So anyone have a wiring diagram that makes use of the white wires of the uila? Do those allow for a button to be lit up, and then when pressed to change to a different color? Or is that a standard feature of the sparky without the white wire of the uila?

Sparky doesnt control the white flash. But if you want a brighter color you can wire the white to any of the rgb colors. Have not tried it myself but the effects might be interesting to see.

So I havent wired up my uilas yet, but how do you set both the color of the stick when it is not pressed AND another color when it is press? is it all in the configurator?

You can’t really do that the way you thinking. It is not adjustable to set two colors on same button using configurator. There were talks of adding effects but that menu seems to be on hold. If you want both light-on and change when button is pressed, the only way I see now would be to use one of the rgb per button to be always on and use another rgb color to activate on opposite activation. I know I am missing some info in there but is possible but not to your extent.

AWW dang… I thought that was the point of the uila flash. Anyone else know how to achieve flashing buttons? I’m not really clear on how to or if you can even do what you said…

And I manged to get my 1p button wired up and in the configurator, but no matter what color I chose in the configurator it would only be white. What does that mean? I did upload 3.0 to the sparky…

You might need to hookup all the buttons. The main thing is you need the 3 kicks to be working in order to go to programming mode on the sparky.

Alright so I wired it up completely, checked each color as I went to make sure every light had of its RGB working. The configurator doesn’t seem to allow me to set a very good green… Its always between yellow and cyanish to get a somewhat green, while if hit the lights without the configurator it can light a very vivid green with the default configuration. To make matters worse, If I save settings it only seems to save some of the buttons, others revert back to a default it seems… Anyone know how to resolve this?

I’m using the 32bit version on Windows 8 as admin. I would use the 64bit version but it wont launch and the one in the windows folder freezes.

Yeah, the program is not fully refined. The only way to get the exact colors would be to actually not use the configurator to select your colors, but instead use the 2.0 firmware and manually edit the hex values for colors within Arduino. The tab SparkyConfig.h is where your able to do so. If you downloaded the 2.0 firmware, included should be a file called ClearEEPROM.pde. Open that file with Arduino and flash to your sparky. Then flash a version of the 2.0 firmware with the edited SparkyConfig.h file. Reboot and it should retain your colors.
I have constantly edited this file to get the desired colors, flashing and rebooting every try. This mixed with configurator can achieve what you want.