Official FA Sparky PWM RGB LED Controller Thread

Ok!

So still stuck and this is getting retarded. I was finally able to figure out how to upload the firmware.

Apparently you have to group all the files together in one folder and open the .ino file in Arduino.

In any case, now that I figured that one out, I tried uploading the code and came up with the folllowing errors:

Mac:
avrdude: stk500_recv(): programmer is not responding

PC:
Same as above, but instead of programmer, it was out of sync 0x30 and other numbers in between

I dont understand why its doing this. Trying different systems and its just blah!

Mac: 10.7.2 Lion with FTDI cable driver 2.2.16
PC: Windows 7 64-bit FTDI cable driver 2.18. something.

If I’m using a 2x8 header, withthe common wires from the arc eyes plugged into the led slot on the sparky. And the button wires soldered directly to the button pcb.
Any idea why my buttons don’t seem to be “insulated” enought like I saw in a previous post? I’m getting dual button presses only when plugged into the sparky.

Checkout via SVN it will preserve folder structure as is in the repo.
That way all your files will be in sync.

Under the Tools menu
Board > "Arduino Pro or Pro Mini (5V, 16 MHz) w/ ATmega328"
Serial Port > pick your proper com port here

or, if you are modifying your boards.txt entry on your own



##############################################################
 
SparkyJr328.name=Sparky Jr (ATMEGA328p)
 
SparkyJr328.upload.protocol=arduino
SparkyJr328.upload.maximum_size=30720
SparkyJr328.upload.speed=57600
 
SparkyJr328.bootloader.low_fuses=0xFF
SparkyJr328.bootloader.high_fuses=0xDA
SparkyJr328.bootloader.extended_fuses=0x05
SparkyJr328.bootloader.path=atmega
SparkyJr328.bootloader.file=ATmegaBOOT_168_atmega328.hex
SparkyJr328.bootloader.unlock_bits=0x3F
SparkyJr328.bootloader.lock_bits=0x0F
 
SparkyJr328.build.mcu=atmega328p
SparkyJr328.build.f_cpu=16000000L
SparkyJr328.build.core=arduino
SparkyJr328.build.variant=standard


Secondly, if continue to receive stk500_recv(), make sure you have it plugged in the right way

Thanks 32teeth!

I tried both sides of the coin. And it still doesnt work! Bleh…

Im almost convinced that I am cursed with this thing! lol. What does this mean:

avrdude: stk500_getsync(): not in sync: resp=0x30

can you confirm you have changed both your tools->boards and tools->serial port ?

Yes.

Both the boards and ports were configured properly on both the Mac and PC side.

Is there anything I have to do for the programmer? AVPmkii? stuff like that?

The FTDI should suffice.
The AVRISPMKII would be if you are planning to program via ISP

Hey Sparky, sent you a PM some time ago about problems I was having with my Qanba and the sparky PWM since in the qanba’s 360 mode the triggeres are reversed.

Any way you could help me modify the code so that if it boots with LT and/or RT held down (button 7 and 8) it’ll reverse the LED patterns of those buttons?

What is ISP 32teeth? I dont have any options for FTDI in the programmer options in my Arduino program.

im getting this error

core.a(main.cpp.o): in function ‘main’:
C:]users\desktop\arduino-1.0\hardware\arduino\cores\arduino/main.cpp:1
1:undefined reference to 'setup’
c:\users\desktop\arduino-1.0\hardware\arduino\cores\arduino/main.cpp:1
4: undefined reference to ‘loop’

sorry this stuff is a little confusing to me

So I got the files to upload successfully (at least it said it was done" but the port is grayed out.
Any idea how to fix this?

Question, I have 64b win 7 but only sparky 3.0 for 32 will run? Is this a problem or would that work?

The FTDI breakout will not show up under programmers. It will show up under Tools>ports.
On PC it will be COM# where the number is > 3, on Mac it will show up as TTY

Lastly, I have been recieving multiple emails that the configurator 3.0 does not behave as intended with the FA Sparky.
The FA Sparky is loaded with 2.0!

If you wish to use the 3.0 Configurator, you MUST load Sparky 3.0 onto your FA sparky.
All the files are available through the SVN path in our downloads section @ sparky.32teeth.org

I figured as much, so i used tortoisesvn to checkout the files, then used arduino 1.0 to upload the cleareeprom, then uploaded the 3.0 sparky.
The configurator still does not work, I do not get the 3 lit up kicks.
also the 2.0 configurator does not work with the 2.0 sparky.

I managed to find a version of sparky that worked (as in each button lights up on button press) but i am unable to change the colors, either through configurator or through the sparkyconfig.h

At least you got yours to worrk Ernest :frowning:

i dunno i was getting frustrated so i started from scratch. Re chained the lights, made sure the scotchlocks on the power were crimped well (that turned out to be the prob causing multiple button presses) then made sure I had the ftdi plugged in right (which ended my “not in sync”) i even left it plugged in to xbox so i could make sure the inputs wouldnt mess up again (which they will if you put ftdi on backwards.)
uploaded the cleareeprom, then the dev version of sparky. other then that im stuck as 3.0 doesnt work, the paradise arcade 2.0 turns 7 lights white on press and one a different color. neither version of configurator works.
regular 2.0 causes whichever button i press to go dark, and all the others light up the specified color (which i would put into the sparkyconfig.h but only basic colors worked)
the configurator didnt work for me at any point :frowning: ill mess with it again later when im not so sick of it haha.

Thanks for the info Ernest…I think I will try your steps out later.

Maybe it’s time I ordered some UILA as all my work has been on ArcEye

Hey 32teeth has the fa sparky been tested with the 3.0 firmware?

i show a how too here
and an example here