Kaimana RGB LED Board thread, RGB animations and more! SRK Tech Talk 2013 Product of the Year!

Really happy with this. Have a Kaimana with everything wired up correctly. Button presses make different buttons light up then what is pushed. So I just need to adjust the code but I have never modified an Arduino persay. I installed the drivers and everything is connected. I downloaded the Arduino software. Lost on what to do from there, and the wiki page seems to be down. Can anyone point me to a guide or walk me through what steps to take in order to see the code. If I can find the code I can modify the simple pieces I need too.

So just looking for a start to finish to connecting to the arduino getting to the code, and then how to save it to the board.

Paradise’s LEDs come with resistors already installed so no need for that. However please note that most joysticks are only compatible with 3mm LEDs or LEDs of similar or smaller size due to the constraints of the hole size of a hollow shaft and the threading of the ball/battop. Should you want RGB LEDs then you would need PAS’s RGB LED Joystick reviewed in their store thread, or use SMD LEDs to get the job done.

Find this line of code first within the arduino sketch:
// Map function names to LED index numbers
// specific to ParadiseArcadeShop.com Kaimana board (PS360+LED)
// change or expand as needed
#define LED_JOY 0
#define LED_HOME 1
#define LED_GUIDE 1
#define LED_SELECT 2
#define LED_BACK 2
#define LED_START 3
#define LED_P1 4
#define LED_P2 5
#define LED_P3 6
#define LED_P4 7
#define LED_K1 8
#define LED_K2 9
#define LED_K3 10
#define LED_K4 11

change the value of each LED based upon the order of your chained buttons, where 0 is the first button in the chain. Say for example you chain from 1p -> 2p -> 3p -> 4p> ->4k ->3k ->2k ->1k
then your code would look like:
(Ignore the following as it is filler)

#define LED_JOY 8
#define LED_HOME 11
#define LED_GUIDE 11
#define LED_SELECT 10
#define LED_BACK 10
#define LED_START 9

#define LED_P1 0 (first in chain)
#define LED_P2 1 (second)
#define LED_P3 2(3rd)
#define LED_P4 3(4th)
#define LED_K1 7(eighth in chain)
#define LED_K2 6 (seventh in chain)
#define LED_K3 5 (sixth)
#define LED_K4 4(5th in chain)

Where do I find this sketch. That is what I am having trouble. Do I have to select a certain board and com port through tools. If not how do I find the appropriate sketch?

Shoot me over what you are trying to do, we might be able to help out. It’s possible to reduce the sizing on things with some creative approaches. We’ve been able to run multiple animations.

You can go as many lights as you would like, as long as you supply the power, this is exactly why the LED power circuit was separated from the board power.

@larc you can buy the 5mm led, but you will need to buy a Hoku ball top and the appropriate 10mm threaded shaft to RGB the joystick. these will fit the larger LEDs

Check the 1st page, 2nd post

Awesome well I am halfway there but I got this error.

Binary sketch size: 13,916 bytes (of a 28,672 byte maximum)
Found programmer: Id = ā€œBĆ™ā€; type =
Software Version =
avrdude: error: buffered memory access not supported. Maybe it isn’t
a butterfly/AVR109 but a AVR910 device?

So I moved it to another USB port, and tried upload and it gave me a not connected to the right port error message. I then selected Com 6 and tried again and it intitates, attempts to install the arduino leonard driver which I had manually done and checked was ok before starting. Then it fails and gives the error above.

May be different for others, but this seemed to fix the problem.
First: you must find the COMx used for your ā€œArduino Leonardoā€ in the ā€œDevice Managerā€ of Windows.
Second: make double click to see the properties of the device, and go to the "Port configuration tab"
Third: enter in ā€œAvanced Optionsā€ and deactivate ā€œUse FIFO buffersā€, and accept all changes.

Which got me to the done uploading step. But at least in my best impression after modifying the code the changes seem not to have applied. All the operations are as before.

Ok figured out where I was messing up kinda. I modified both fields to this

// Map function names to default LED index numbers
// specific to ParadiseArcadeShop.com Kaimana board (PS360+LED)
// change or expand as needed
//
// KAIMANA->LED_JOY->LED_HOME->LED_SELECT->LED_START->LED_P1->LED-P2->LED_P3->LED-P4->LED_K1->LED-K2->LED_K3->LED-K4
//
#define LED_JOY 8
#define LED_HOME 9
#define LED_GUIDE 9
#define LED_SELECT 10
#define LED_BACK 10
#define LED_START 11
#define LED_P1 4
#define LED_P2 3
#define LED_P3 2
#define LED_P4 1
#define LED_K1 5
#define LED_K2 6
#define LED_K3 7
#define LED_K4 0
#endif

#ifdef LED_ORDER_JWYDER
// Map function names to LED index numbers
// example for just K4-K1 and P1-P4 are connected first to the Kaimana board
// submitted by jwyder
//
// KAIMANA->LED-K4->LED_K3->LED_K2->LED_K1->LED-P1->LED_P2->LED-P3->LED_P4->LED_JOY->LED_HOME->LED_SELECT->LED_START
//
#define LED_K4 0
#define LED_K3 7
#define LED_K2 6
#define LED_K1 5
#define LED_P1 4
#define LED_P2 3
#define LED_P3 2
#define LED_P4 1
#define LED_JOY 8
#define LED_HOME 9
#define LED_GUIDE 9
#define LED_SELECT 10
#define LED_BACK 10
#define LED_START 11
#endif

And everything is working as expected except for K2. On the stick upon pressing it will not light. I know the led is working because it will show lit in idle mode but depressing the button will not activate it.

It was working before when everything was mismatched pressing a different button caused it to light.

Try setting K2’s LED to another button and see if a press from the other button lights it up. This will test if you’ve got it in the right ā€œnumberā€ for the LED in the order you’re setting it to. (This happened to me, repeatedly)

Terrible as it sounds, check the wiring going into the Kaimana and make sure the button is hooked in correctly. Unless pressing K2 was lighting up an LED back in the old sketch, that’s likely the issue. (This also happened to me, to the point I almost thought I had a bad board until I realized I’d put a grounding wire into the Kaimana board input)

Speaking of which, the Nightmare Stick sketch is done!
https://www.dropbox.com/sh/a56zkzg8h...iEuvAMPfJpwxJa

It’s really amateur, using mostly if/else statements. I’m sorta proud I figured out all the bits to make things pulse though, and the idle time (That had me stumped for a little bit until I figured out the while loop @_@). I’ll probably still have to go in and get the timing right on the pulses for the focus to make it match the actual time it takes to get to level 3 before resetting.

Anyone who wants to look it over, please do and suggest improvements. This is a literal babby’s first coding project to me. If anyone wants to use it I think I labeled and noted it enough to make it easy to customize, the throw, focus, and normal button colours are pretty clearly marked.

I hope to add some stuff for the joystick once I get a hollow shaft for it. The Hoku’s going to look crazy on this thing @w@

Here’s the sketch in action. Ignore K1, I crushed an one of the two LEDs on it with my gorilla hands and am waiting to replace it.

Thanks @armi0024 just sent you a PM.

@dochelixā€Œ we can replace that LED with your next order, just remind us. AWESOME JOB

@liquidcourageā€Œ I will try to review this week.

Not nearly done with finishing up the cable management but just wanted to show off my build thus far.

[quote=ā€œmichael_zerocade, post:273, topic:165332ā€]

Not nearly done with finishing up the cable management but just wanted to show off my build thus far.

[/quote]

your video listed as private

Sorry Fixed

Would anyone be able to link me to @wahoo747 's code he uploaded for MvC3? The first link 404’s for me and the second updated one takes me to my personal dropbox and searches for the file there. Any help is appreciated.

Sup guys long time no post. I have whatever the most recent sketch is im trying to change one of the Idle animations back to its orginal state (the one that reads the hadouken input and also tatsu). The animation for the current one has all the buttons at one time glowing to different colors and what i liked before was having it to where the colors go around in a rainbow circle type of thing. Thanks for the help =D.

Edit: Also on the marvel setting how do i switch the tag buttons (K2/K3) to P4/K4. I play a mvc2ish layout for umv3 so my buttons are like
NA-L-H-A1
NA-M-S-A2.
Im tinkering with it now so i might figure this stuff out in a tad. . . . prob not though >.>

@armi0024 the kaimana wiki linked from the kaimana product page is down. I was trying to update some of my animations and was looking for that info. Any chance of getting the wiki back online soon?

Shoot we need to fix that!
http://support.paradisearcadeshop.com/doku.php?id=kaimana_led_controller
@ZonbiPandaā€Œ

Thanks @armi0024 !!!