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

1192022242531

Comments

  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    Hello everyone,

    Streaming some Kaimana livecoding, rewriting some stuff come on over and chill.
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • 32teeth32teeth Joined: Posts: 909
    edited September 2016
    @Jasen Hicks I'm trying to extend out to a standard ws2811 LED strand that has a 3 pin connection. What the order of the pins on the 4 pin header on the Kaimana?

    Also, you code shows you are using PF0 for data? Is that correct? Digital IO 23 aka Analog IO A5

    Reference: https://github.com/armi0024/kaimana/blob/master/example/kaimana.h
    #define  PIN_LED     23
    

    So, simple ask
    1. Pin header pin out
    2. Data pin
    3. NeoPixel library okay?

    @JRDIBBS thanks for the great video. Any chance you can share your code?
    Post edited by 32teeth on
  • Jasen HicksJasen Hicks JasensCustoms.com Joined: Posts: 2,359
    32teeth wrote: »
    @Jasen Hicks I'm trying to extend out to a standard ws2811 LED strand that has a 3 pin connection. What the order of the pins on the 4 pin header on the Kaimana?

    Also, you code shows you are using PF0 for data? Is that correct? Digital IO 23 aka Analog IO A5

    Reference: https://github.com/armi0024/kaimana/blob/master/example/kaimana.h
    #define  PIN_LED     23
    

    So, simple ask
    1. Pin header pin out
    2. Data pin
    3. NeoPixel library okay?

    @JRDIBBS thanks for the great video. Any chance you can share your code?

    Data Pin for all Kaimana's is the same. The source code and wiki detail it out, but yes bit 0 on Port F is the LED OUT data.

    From the WIKI:

    fetch.php?cache=&media=kaimana_power_zones-v2.png

    I've wiped the code off of a Kaimana Khameleon and loaded Adafruits code on it with some tweaks for the data output line and it worked fine.

    2014 SRK Tech Talk Company of the Year Jasen's Custom Creations - Custom Joysticks, SuperGuns, Vinyl Graphics
    2014 SRK Tech Talk New Arcade Stick of the Year Panzer Fight Stick - Retired
    2015 SRK Tech Talk New Arcade Stick of the Year Panzer Fight Stick 2.0 - Hiatus
    2016 SRK Tech Talk New Arcade Stick of the Year Panzer Fight Stick 3 - Order Now!
    2016 SRK Tech Talk Member of the Year Co-Recipient

    Have a question? Use the JASENSCUSTOMS HELP DESK

    - Jasen's Customs Facebook, it's where the pictures are: Facebook
    - Follow me on Twitter to see what new things I am adding: Twitter
    - Learn something? I try to publish all of my creations and tutorials at: The TechBlog
  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    32teeth wrote: »

    @JRDIBBS thanks for the great video. Any chance you can share your code?

    All the code is at my github plus some neopixel work! You just wire up vcc, gnd and data in to the kaimana for it to work.

    https://github.com/javierorosario/kaimana

    If you find anything useful remember to credit!
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • 32teeth32teeth Joined: Posts: 909
    Thanks @JRDIBBS
    is the pinout the same for kameleon and mini?
    /------------------------|
    | LED | GND | VCD | VCD  |
    |------------------------|
    

    14240884_749723318501675_1750201902_n.jpg


    just looking for consistency as my project for a friend involves both the mini and the kameleon (fightstick with a rgb led strand)

  • armi0024armi0024 Dash Cancel Expert, paradisearcadeshop.com Joined: Posts: 1,826
    edited September 2016
    www.paradisearcadeshop.com Sanwa, Seimitsu and a ton of custom parts
    2015 Tech Talk Store of the Year and Product of the Year, OBS-MX buttons
    2014 Tech Talk Stick Mod of the Year, LVT3 TE2
    2013 Tech Talk Store of the Year and Product of the Year, Kaimana Led Controller
  • 32teeth32teeth Joined: Posts: 909
    @armi0024 thank you
    solves my issue. i was using standard Adafruit style
    /-----------------|
    | VCC | LED | GND
    |-----------------|
    

    now i will alter the wiring to
    /------------------------|
    | LED | GND | VCD | VCD  |
    |------------------------|
    
  • Finest_KOFinest_KO Joined: Posts: 173
    I am so mean to my sister
  • KunikuKuniku Joined: Posts: 351
    Hi Guys,

    After my initial issue with not knowing about needing the adaptor to get the RGB Joystick LED working, I finally managed to get the missing bits while on honeymoon in the US.

    I've installed the RGC LED into the joystick and then followed the Fundando installation guide to add the cables, adaptor and LED into the kaimana mini setup.

    LED order should then be JOY>K4>K3>K2>K1>P1>P2>P3>P4

    I updated the coding to include the joystick using the brightstick freecade site. Then in Auduino 1.6.5 I adjusted the LED definitions to set the LED_JOY to 0 and then continue through the order of the LEDs in the correct order.
    //LED INDEX
    #define  LED_P4         14
    #define  LED_P4_B       15
    #define  LED_P3         12
    #define  LED_P3_B       13
    #define  LED_P2         10    
    #define  LED_P2_B       11
    #define  LED_P1         9
    #define  LED_P1_B       9
    #define  LED_JOY        0xFF   
    #define  LED_K4         0      
    #define  LED_K4_B       1
    #define  LED_K3         2
    #define  LED_K3_B       3
    #define  LED_K2         4
    #define  LED_K2_B       5
    #define  LED_K1         6
    #define  LED_K1_B       7
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    The code verifies ok, then hit upload and the joystick doesn't light up and then LEDs for button presses are out of sync, pressing K4 lights up one K4 LED and one K3 LED and continues round the sequence out of sync.

    Any suggestions on what could be the issue?
    PLEASE don't tell me the RGB LED is broken, getting a replacement will be a nightmare...
  • liquidcourageliquidcourage Joined: Posts: 70
    Kuniku wrote: »
    Hi Guys,

    After my initial issue with not knowing about needing the adaptor to get the RGB Joystick LED working, I finally managed to get the missing bits while on honeymoon in the US.

    I've installed the RGC LED into the joystick and then followed the Fundando installation guide to add the cables, adaptor and LED into the kaimana mini setup.

    LED order should then be JOY>K4>K3>K2>K1>P1>P2>P3>P4

    I updated the coding to include the joystick using the brightstick freecade site. Then in Auduino 1.6.5 I adjusted the LED definitions to set the LED_JOY to 0 and then continue through the order of the LEDs in the correct order.
    //LED INDEX
    #define  LED_P4         14
    #define  LED_P4_B       15
    #define  LED_P3         12
    #define  LED_P3_B       13
    #define  LED_P2         10    
    #define  LED_P2_B       11
    #define  LED_P1         9
    #define  LED_P1_B       9
    #define  LED_JOY        0xFF   
    #define  LED_K4         0      
    #define  LED_K4_B       1
    #define  LED_K3         2
    #define  LED_K3_B       3
    #define  LED_K2         4
    #define  LED_K2_B       5
    #define  LED_K1         6
    #define  LED_K1_B       7
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    The code verifies ok, then hit upload and the joystick doesn't light up and then LEDs for button presses are out of sync, pressing K4 lights up one K4 LED and one K3 LED and continues round the sequence out of sync.

    Any suggestions on what could be the issue?
    PLEASE don't tell me the RGB LED is broken, getting a replacement will be a nightmare...

    @Kuniku I could be wrong, since I'm coming in late, but it looks like your LED order in your post doesn't match with the order in your spoiler (which I am assuming is what is defined in your header file).

    If LED_JOY is the first LED in your chain, it should be defined as 0 in your header file.

    Also, two additional thoughts:
    - It might be easier to troubleshoot if you define your led definitions chronologically in the order you installed them
    - You don't need to define buttons if you're not using them. You can omit them altogether.

    So it would be something like -

    #define LED_JOY 0
    #define LED_K4 1
    #define LED_K4_B 2
    // etc.
    #define LED_P4 15
    #define LED_P4_B 16
    #define LED_COUNT 17
  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    Kuniku wrote: »
    Hi Guys,

    After my initial issue with not knowing about needing the adaptor to get the RGB Joystick LED working, I finally managed to get the missing bits while on honeymoon in the US.

    I've installed the RGC LED into the joystick and then followed the Fundando installation guide to add the cables, adaptor and LED into the kaimana mini setup.

    LED order should then be JOY>K4>K3>K2>K1>P1>P2>P3>P4

    I updated the coding to include the joystick using the brightstick freecade site. Then in Auduino 1.6.5 I adjusted the LED definitions to set the LED_JOY to 0 and then continue through the order of the LEDs in the correct order.
    //LED INDEX
    #define  LED_P4         14
    #define  LED_P4_B       15
    #define  LED_P3         12
    #define  LED_P3_B       13
    #define  LED_P2         10    
    #define  LED_P2_B       11
    #define  LED_P1         9
    #define  LED_P1_B       9
    #define  LED_JOY        0xFF   
    #define  LED_K4         0      
    #define  LED_K4_B       1
    #define  LED_K3         2
    #define  LED_K3_B       3
    #define  LED_K2         4
    #define  LED_K2_B       5
    #define  LED_K1         6
    #define  LED_K1_B       7
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    The code verifies ok, then hit upload and the joystick doesn't light up and then LEDs for button presses are out of sync, pressing K4 lights up one K4 LED and one K3 LED and continues round the sequence out of sync.

    Any suggestions on what could be the issue?
    PLEASE don't tell me the RGB LED is broken, getting a replacement will be a nightmare...

    @Kuniku I could be wrong, since I'm coming in late, but it looks like your LED order in your post doesn't match with the order in your spoiler (which I am assuming is what is defined in your header file).

    If LED_JOY is the first LED in your chain, it should be defined as 0 in your header file.

    Also, two additional thoughts:
    - It might be easier to troubleshoot if you define your led definitions chronologically in the order you installed them
    - You don't need to define buttons if you're not using them. You can omit them altogether.

    So it would be something like -

    #define LED_JOY 0
    #define LED_K4 1
    #define LED_K4_B 2
    // etc.
    #define LED_P4 15
    #define LED_P4_B 16
    #define LED_COUNT 17

    This is the issue, the 0xff code is for when you do NOT want the LED to work. The suggestion of led order vs installed is great also, this will help you out when figuring out which led should be on with just a glance.
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • KunikuKuniku Joined: Posts: 351
    edited September 2016
    Sorry for the confusion, it was quite late here last night and I'm still a bit jetlagged from the honeymoon, I copied the old definition code and not the new one - as I'd just reinstalled the old one so that its at least working as it was (still no joystick LED though - but the old code was set to off)

    The new code did start with JOY - 0, K4a - 1, K4b - 2, K3a - 3, K3b - 4 etc etc
    //LED INDEX
    #define  LED_P4         15
    #define  LED_P4_B       16
    #define  LED_P3         13
    #define  LED_P3_B       14
    #define  LED_P2         11    
    #define  LED_P2_B       12
    #define  LED_P1         9
    #define  LED_P1_B       10
    #define  LED_JOY        0   
    #define  LED_K4         1      
    #define  LED_K4_B       2
    #define  LED_K3         3
    #define  LED_K3_B       4
    #define  LED_K2         5
    #define  LED_K2_B       6
    #define  LED_K1         7
    #define  LED_K1_B       8
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    
    Post edited by Kuniku on
  • NoryiaNoryia Joined: Posts: 53
    edited September 2016
    Does anyone have a suggestion for when the Kaimana Khameleon doesn't connect as a device in Windows? I've tried it on 3 different machines and I can put the device into Khamelon mode with Home-K1 but it never shows as a device in windows. I've tried it on 3 different windows 10 64bit machines and I always get the same result. No beeps to say a device is found, nothing added to device manager.

    I've tried connecting to the usb ports directly and to a powered usb 2.0 hub with no change.

    The board powers on and lights up the leds for the buttons. They respond to button presses.

  • KunikuKuniku Joined: Posts: 351
    Kuniku wrote: »
    Sorry for the confusion, it was quite late here last night and I'm still a bit jetlagged from the honeymoon, I copied the old definition code and not the new one - as I'd just reinstalled the old one so that its at least working as it was (still no joystick LED though - but the old code was set to off)

    The new code did start with JOY - 0, K4a - 1, K4b - 2, K3a - 3, K3b - 4 etc etc
    //LED INDEX
    #define  LED_P4         15
    #define  LED_P4_B       16
    #define  LED_P3         13
    #define  LED_P3_B       14
    #define  LED_P2         11    
    #define  LED_P2_B       12
    #define  LED_P1         9
    #define  LED_P1_B       10
    #define  LED_JOY        0   
    #define  LED_K4         1      
    #define  LED_K4_B       2
    #define  LED_K3         3
    #define  LED_K3_B       4
    #define  LED_K2         5
    #define  LED_K2_B       6
    #define  LED_K1         7
    #define  LED_K1_B       8
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    No suggestions on this?
  • Jasen HicksJasen Hicks JasensCustoms.com Joined: Posts: 2,359
    Noryia wrote: »
    Does anyone have a suggestion for when the Kaimana Khameleon doesn't connect as a device in Windows? I've tried it on 3 different machines and I can put the device into Khamelon mode with Home-K1 but it never shows as a device in windows. I've tried it on 3 different windows 10 64bit machines and I always get the same result. No beeps to say a device is found, nothing added to device manager.

    I've tried connecting to the usb ports directly and to a powered usb 2.0 hub with no change.

    The board powers on and lights up the leds for the buttons. They respond to button presses.

    Do you have arduino installed? Its likely a driver issue and can be difficult to troubleshoot. For example, they work on one of my OSX machines, and only one of my Windows machines. Additionally, it takes forever for the driver to install most of the time.
    2014 SRK Tech Talk Company of the Year Jasen's Custom Creations - Custom Joysticks, SuperGuns, Vinyl Graphics
    2014 SRK Tech Talk New Arcade Stick of the Year Panzer Fight Stick - Retired
    2015 SRK Tech Talk New Arcade Stick of the Year Panzer Fight Stick 2.0 - Hiatus
    2016 SRK Tech Talk New Arcade Stick of the Year Panzer Fight Stick 3 - Order Now!
    2016 SRK Tech Talk Member of the Year Co-Recipient

    Have a question? Use the JASENSCUSTOMS HELP DESK

    - Jasen's Customs Facebook, it's where the pictures are: Facebook
    - Follow me on Twitter to see what new things I am adding: Twitter
    - Learn something? I try to publish all of my creations and tutorials at: The TechBlog
  • NoryiaNoryia Joined: Posts: 53
    Do you have arduino installed? Its likely a driver issue and can be difficult to troubleshoot. For example, they work on one of my OSX machines, and only one of my Windows machines. Additionally, it takes forever for the driver to install most of the time.

    Yes I have 1.6.5 installed on the 3 different windows 10 machines and my windows 7 machine. I've tried my mac with 1.6.5 and it doesn't work either. It's not trying to install the driver at all and the system is never indicating that a new piece of hardware is being enumerated.

  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    Kuniku wrote: »
    Kuniku wrote: »
    Sorry for the confusion, it was quite late here last night and I'm still a bit jetlagged from the honeymoon, I copied the old definition code and not the new one - as I'd just reinstalled the old one so that its at least working as it was (still no joystick LED though - but the old code was set to off)

    The new code did start with JOY - 0, K4a - 1, K4b - 2, K3a - 3, K3b - 4 etc etc
    //LED INDEX
    #define  LED_P4         15
    #define  LED_P4_B       16
    #define  LED_P3         13
    #define  LED_P3_B       14
    #define  LED_P2         11    
    #define  LED_P2_B       12
    #define  LED_P1         9
    #define  LED_P1_B       10
    #define  LED_JOY        0   
    #define  LED_K4         1      
    #define  LED_K4_B       2
    #define  LED_K3         3
    #define  LED_K3_B       4
    #define  LED_K2         5
    #define  LED_K2_B       6
    #define  LED_K1         7
    #define  LED_K1_B       8
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    No suggestions on this?

    What does your wiring look like? you may be connecting and coding things in different ways
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    Noryia wrote: »
    Do you have arduino installed? Its likely a driver issue and can be difficult to troubleshoot. For example, they work on one of my OSX machines, and only one of my Windows machines. Additionally, it takes forever for the driver to install most of the time.

    Yes I have 1.6.5 installed on the 3 different windows 10 machines and my windows 7 machine. I've tried my mac with 1.6.5 and it doesn't work either. It's not trying to install the driver at all and the system is never indicating that a new piece of hardware is being enumerated.

    I've never had arduino fail on me but if you take the Khameleon out of the case and press the tact button on it it should change to kaimana mode. I know its a hassle but worth testing.
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • NoryiaNoryia Joined: Posts: 53
    JRDIBBS wrote: »

    I've never had arduino fail on me but if you take the Khameleon out of the case and press the tact button on it it should change to kaimana mode. I know its a hassle but worth testing.

    I have done that also and it changes into Kaimana mode but never connects to any of the computers.
  • KunikuKuniku Joined: Posts: 351
    JRDIBBS wrote: »
    Kuniku wrote: »
    Kuniku wrote: »
    Sorry for the confusion, it was quite late here last night and I'm still a bit jetlagged from the honeymoon, I copied the old definition code and not the new one - as I'd just reinstalled the old one so that its at least working as it was (still no joystick LED though - but the old code was set to off)

    The new code did start with JOY - 0, K4a - 1, K4b - 2, K3a - 3, K3b - 4 etc etc
    //LED INDEX
    #define  LED_P4         15
    #define  LED_P4_B       16
    #define  LED_P3         13
    #define  LED_P3_B       14
    #define  LED_P2         11    
    #define  LED_P2_B       12
    #define  LED_P1         9
    #define  LED_P1_B       10
    #define  LED_JOY        0   
    #define  LED_K4         1      
    #define  LED_K4_B       2
    #define  LED_K3         3
    #define  LED_K3_B       4
    #define  LED_K2         5
    #define  LED_K2_B       6
    #define  LED_K1         7
    #define  LED_K1_B       8
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    No suggestions on this?

    What does your wiring look like? you may be connecting and coding things in different ways

    I'll take a picture when I get home, but I've installed the joystick LED exactly as Fundando did in his installation video.

    RGB LED to barrier strip to the Kaimana Adaptor (swapping the green and red LED wires as he says to do) and then the Kaimana Adaptor is plugged in between the Kaiamana Mini and the first J2

    Rough Picture:

    http://imgur.com/a/tsTz2
  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    Kuniku wrote: »
    JRDIBBS wrote: »
    Kuniku wrote: »
    Kuniku wrote: »
    Sorry for the confusion, it was quite late here last night and I'm still a bit jetlagged from the honeymoon, I copied the old definition code and not the new one - as I'd just reinstalled the old one so that its at least working as it was (still no joystick LED though - but the old code was set to off)

    The new code did start with JOY - 0, K4a - 1, K4b - 2, K3a - 3, K3b - 4 etc etc
    //LED INDEX
    #define  LED_P4         15
    #define  LED_P4_B       16
    #define  LED_P3         13
    #define  LED_P3_B       14
    #define  LED_P2         11    
    #define  LED_P2_B       12
    #define  LED_P1         9
    #define  LED_P1_B       10
    #define  LED_JOY        0   
    #define  LED_K4         1      
    #define  LED_K4_B       2
    #define  LED_K3         3
    #define  LED_K3_B       4
    #define  LED_K2         5
    #define  LED_K2_B       6
    #define  LED_K1         7
    #define  LED_K1_B       8
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    No suggestions on this?

    What does your wiring look like? you may be connecting and coding things in different ways

    I'll take a picture when I get home, but I've installed the joystick LED exactly as Fundando did in his installation video.

    RGB LED to barrier strip to the Kaimana Adaptor (swapping the green and red LED wires as he says to do) and then the Kaimana Adaptor is plugged in between the Kaiamana Mini and the first J2

    Rough Picture:

    http://imgur.com/a/tsTz2

    OK then, double check the wires going to the terminal strip on both sides.

    Just to confirm, all the buttons should light up if your adapter in good since the order of the leds us correct. Your only problem should be the joystick doesn't light up right?
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • KunikuKuniku Joined: Posts: 351
    JRDIBBS wrote: »
    Kuniku wrote: »
    JRDIBBS wrote: »
    Kuniku wrote: »
    Kuniku wrote: »
    Sorry for the confusion, it was quite late here last night and I'm still a bit jetlagged from the honeymoon, I copied the old definition code and not the new one - as I'd just reinstalled the old one so that its at least working as it was (still no joystick LED though - but the old code was set to off)

    The new code did start with JOY - 0, K4a - 1, K4b - 2, K3a - 3, K3b - 4 etc etc
    //LED INDEX
    #define  LED_P4         15
    #define  LED_P4_B       16
    #define  LED_P3         13
    #define  LED_P3_B       14
    #define  LED_P2         11    
    #define  LED_P2_B       12
    #define  LED_P1         9
    #define  LED_P1_B       10
    #define  LED_JOY        0   
    #define  LED_K4         1      
    #define  LED_K4_B       2
    #define  LED_K3         3
    #define  LED_K3_B       4
    #define  LED_K2         5
    #define  LED_K2_B       6
    #define  LED_K1         7
    #define  LED_K1_B       8
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    No suggestions on this?

    What does your wiring look like? you may be connecting and coding things in different ways

    I'll take a picture when I get home, but I've installed the joystick LED exactly as Fundando did in his installation video.

    RGB LED to barrier strip to the Kaimana Adaptor (swapping the green and red LED wires as he says to do) and then the Kaimana Adaptor is plugged in between the Kaiamana Mini and the first J2

    Rough Picture:

    http://imgur.com/a/tsTz2

    OK then, double check the wires going to the terminal strip on both sides.

    Just to confirm, all the buttons should light up if your adapter in good since the order of the leds us correct. Your only problem should be the joystick doesn't light up right?

    I'll double check the barrier strip lighting when I get home from work.

    But the RGB LED isn't doing anything, and the J2s, which are working fine with the old setup/coding, work but are all out of sync - so when I press K4 one LED from the K4 J2 lights up and one LED from the K3 J2 lights up and so on around all the buttons.
  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    edited September 2016
    Kuniku wrote: »
    JRDIBBS wrote: »
    Kuniku wrote: »
    JRDIBBS wrote: »
    Kuniku wrote: »
    Kuniku wrote: »
    Sorry for the confusion, it was quite late here last night and I'm still a bit jetlagged from the honeymoon, I copied the old definition code and not the new one - as I'd just reinstalled the old one so that its at least working as it was (still no joystick LED though - but the old code was set to off)

    The new code did start with JOY - 0, K4a - 1, K4b - 2, K3a - 3, K3b - 4 etc etc
    //LED INDEX
    #define  LED_P4         15
    #define  LED_P4_B       16
    #define  LED_P3         13
    #define  LED_P3_B       14
    #define  LED_P2         11    
    #define  LED_P2_B       12
    #define  LED_P1         9
    #define  LED_P1_B       10
    #define  LED_JOY        0   
    #define  LED_K4         1      
    #define  LED_K4_B       2
    #define  LED_K3         3
    #define  LED_K3_B       4
    #define  LED_K2         5
    #define  LED_K2_B       6
    #define  LED_K1         7
    #define  LED_K1_B       8
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    No suggestions on this?

    What does your wiring look like? you may be connecting and coding things in different ways

    I'll take a picture when I get home, but I've installed the joystick LED exactly as Fundando did in his installation video.

    RGB LED to barrier strip to the Kaimana Adaptor (swapping the green and red LED wires as he says to do) and then the Kaimana Adaptor is plugged in between the Kaiamana Mini and the first J2

    Rough Picture:

    http://imgur.com/a/tsTz2

    OK then, double check the wires going to the terminal strip on both sides.

    Just to confirm, all the buttons should light up if your adapter in good since the order of the leds us correct. Your only problem should be the joystick doesn't light up right?

    I'll double check the barrier strip lighting when I get home from work.

    But the RGB LED isn't doing anything, and the J2s, which are working fine with the old setup/coding, work but are all out of sync - so when I press K4 one LED from the K4 J2 lights up and one LED from the K3 J2 lights up and so on around all the buttons.

    Ok so why don't we start from a good config? Get that original config working without the joystick. Once you confirm they are working plug the joystick led at the end of the LED chain rather than in the beginning, then we start messing around with the code to map it, which will probably be just changing the assigned number in the definitions.

    Noryia wrote: »
    JRDIBBS wrote: »

    I've never had arduino fail on me but if you take the Khameleon out of the case and press the tact button on it it should change to kaimana mode. I know its a hassle but worth testing.

    I have done that also and it changes into Kaimana mode but never connects to any of the computers.

    This is definitely strange, is this the first time you connect it to load code or has it worked before? Use a different USB cable just to eliminate that possibility.
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • KunikuKuniku Joined: Posts: 351
    JRDIBBS wrote: »
    Kuniku wrote: »
    JRDIBBS wrote: »
    Kuniku wrote: »
    JRDIBBS wrote: »
    Kuniku wrote: »
    Kuniku wrote: »
    Sorry for the confusion, it was quite late here last night and I'm still a bit jetlagged from the honeymoon, I copied the old definition code and not the new one - as I'd just reinstalled the old one so that its at least working as it was (still no joystick LED though - but the old code was set to off)

    The new code did start with JOY - 0, K4a - 1, K4b - 2, K3a - 3, K3b - 4 etc etc
    //LED INDEX
    #define  LED_P4         15
    #define  LED_P4_B       16
    #define  LED_P3         13
    #define  LED_P3_B       14
    #define  LED_P2         11    
    #define  LED_P2_B       12
    #define  LED_P1         9
    #define  LED_P1_B       10
    #define  LED_JOY        0   
    #define  LED_K4         1      
    #define  LED_K4_B       2
    #define  LED_K3         3
    #define  LED_K3_B       4
    #define  LED_K2         5
    #define  LED_K2_B       6
    #define  LED_K1         7
    #define  LED_K1_B       8
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    No suggestions on this?

    What does your wiring look like? you may be connecting and coding things in different ways

    I'll take a picture when I get home, but I've installed the joystick LED exactly as Fundando did in his installation video.

    RGB LED to barrier strip to the Kaimana Adaptor (swapping the green and red LED wires as he says to do) and then the Kaimana Adaptor is plugged in between the Kaiamana Mini and the first J2

    Rough Picture:

    http://imgur.com/a/tsTz2

    OK then, double check the wires going to the terminal strip on both sides.

    Just to confirm, all the buttons should light up if your adapter in good since the order of the leds us correct. Your only problem should be the joystick doesn't light up right?

    I'll double check the barrier strip lighting when I get home from work.

    But the RGB LED isn't doing anything, and the J2s, which are working fine with the old setup/coding, work but are all out of sync - so when I press K4 one LED from the K4 J2 lights up and one LED from the K3 J2 lights up and so on around all the buttons.

    Ok so why don't we start from a good config? Get that original config working without the joystick. Once you confirm they are working plug the joystick led at the end of the LED chain rather than in the beginning, then we start messing around with the code to map it, which will probably be just changing the assigned number in the definitions.

    Ok I'll try that as well as rechecking the barrier strip and see how it goes. Many Thanks!

  • NoryiaNoryia Joined: Posts: 53
    edited September 2016
    JRDIBBS wrote: »
    This is definitely strange, is this the first time you connect it to load code or has it worked before? Use a different USB cable just to eliminate that possibility.

    It has never worked when connecting to a machine in Khameleon mode. I've tried multiple USB cables and different usb ports on each of the machines. When it's connected and NOT in Khameleon mode the passthrough works correctly. When I either use the 'home-k1' button combination OR press the button on the board it disconnects from windows and never enumerates as a new device. I've ordered a Kaimana mini to see if that works any better. I'm hoping to hear back from Paradise at some point as it sounds like a hardware failure.
  • KunikuKuniku Joined: Posts: 351
    edited September 2016
    JRDIBBS wrote: »
    Kuniku wrote: »
    JRDIBBS wrote: »
    Kuniku wrote: »
    JRDIBBS wrote: »
    Kuniku wrote: »
    Kuniku wrote: »
    Sorry for the confusion, it was quite late here last night and I'm still a bit jetlagged from the honeymoon, I copied the old definition code and not the new one - as I'd just reinstalled the old one so that its at least working as it was (still no joystick LED though - but the old code was set to off)

    The new code did start with JOY - 0, K4a - 1, K4b - 2, K3a - 3, K3b - 4 etc etc
    //LED INDEX
    #define  LED_P4         15
    #define  LED_P4_B       16
    #define  LED_P3         13
    #define  LED_P3_B       14
    #define  LED_P2         11    
    #define  LED_P2_B       12
    #define  LED_P1         9
    #define  LED_P1_B       10
    #define  LED_JOY        0   
    #define  LED_K4         1      
    #define  LED_K4_B       2
    #define  LED_K3         3
    #define  LED_K3_B       4
    #define  LED_K2         5
    #define  LED_K2_B       6
    #define  LED_K1         7
    #define  LED_K1_B       8
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    No suggestions on this?

    What does your wiring look like? you may be connecting and coding things in different ways

    I'll take a picture when I get home, but I've installed the joystick LED exactly as Fundando did in his installation video.

    RGB LED to barrier strip to the Kaimana Adaptor (swapping the green and red LED wires as he says to do) and then the Kaimana Adaptor is plugged in between the Kaiamana Mini and the first J2

    Rough Picture:

    http://imgur.com/a/tsTz2

    OK then, double check the wires going to the terminal strip on both sides.

    Just to confirm, all the buttons should light up if your adapter in good since the order of the leds us correct. Your only problem should be the joystick doesn't light up right?

    I'll double check the barrier strip lighting when I get home from work.

    But the RGB LED isn't doing anything, and the J2s, which are working fine with the old setup/coding, work but are all out of sync - so when I press K4 one LED from the K4 J2 lights up and one LED from the K3 J2 lights up and so on around all the buttons.

    Ok so why don't we start from a good config? Get that original config working without the joystick. Once you confirm they are working plug the joystick led at the end of the LED chain rather than in the beginning, then we start messing around with the code to map it, which will probably be just changing the assigned number in the definitions.

    Right I'm home, fed and sat down with my stick so shall try @JRDIBBS ideas...

    I've solved a small problem, turns out the reason I had no joystick lighting at all was because I had wired into the Barrier Strip incorrectly. Now that I've wired that right I at least have lighting.

    However I think the coding is off.

    I've had to stick with wiring the joystick in BEFORE the J2 chain, as I don't have a wire to chain off of the last J2 to the Kaimana Adaptor, I only have harnesses with 4 pin connectors on. So it has to stay in front. However troubleshooting should be somewhat easier now I at least have lighting.

    I'm using the following LED Definitions:
    //LED INDEX
    #define  LED_P4         1
    #define  LED_P4_B       2
    #define  LED_P3         3
    #define  LED_P3_B       4
    #define  LED_P2         5    
    #define  LED_P2_B       6
    #define  LED_P1         7
    #define  LED_P1_B       8
    #define  LED_JOY        0   
    #define  LED_K4         15     
    #define  LED_K4_B       16
    #define  LED_K3         13
    #define  LED_K3_B       14
    #define  LED_K2         11
    #define  LED_K2_B       12
    #define  LED_K1         9
    #define  LED_K1_B       10
    #define  LED_SELECT     0xFF
    #define  LED_SELECT_B   0xFF
    #define  LED_HOME       0xFF
    #define  LED_HOME_B     0xFF
    #define  LED_START      0xFF
    #define  LED_START_B    0xFF
    #define  LED_COUNT      17
    

    using the wiring from before Everything lights up and starts the idle animation. After I press something the LEDs all change to their "unpressed" purple, but as before the LEDs are out of sync and the last LED in the sequence stays red all the time.

    Moving the joystick does nothing. P4 actives 1 P4 LED and the Joystick, P3 activeates the other P4 LED and 1 P3 LED and it continues around until K4 only activates one of its LEDs.

    If I use the same code and definition without the joystick in place the LEDs work perfectly.

    If I use the old code (just button LEDs) the button LEDs work as they should and the joystick just stays the one colour.

    Video showing the Setup using the Code that includes the joystick (definitions above) without the joystick LED attached and then with it attached:

  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    edited September 2016
    Kuniku wrote: »
    ssssssnip

    Glad you got that out of the way! Now we enter the world of "what the hell are you doing man?" lol Did you create a new code file or just use the same one?

    General ideas on why this is happening :
    The indexing of the leds is breaking when you add the joy to the chain. Why? It probably has to do with the way the SWITCHES (NOT the leds) are defined in the code. @Jasen Hicks what button order is your site expecting?

    I wish I had a set of j2s to be of more help out but I just have regular js at the moment
    Post edited by JRDIBBS on
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • Jasen HicksJasen Hicks JasensCustoms.com Joined: Posts: 2,359
    @JRDIBBS - K4,K3,K2,K1,JOY,P1,P2,P3,P4,SEL,HOME,START
    2014 SRK Tech Talk Company of the Year Jasen's Custom Creations - Custom Joysticks, SuperGuns, Vinyl Graphics
    2014 SRK Tech Talk New Arcade Stick of the Year Panzer Fight Stick - Retired
    2015 SRK Tech Talk New Arcade Stick of the Year Panzer Fight Stick 2.0 - Hiatus
    2016 SRK Tech Talk New Arcade Stick of the Year Panzer Fight Stick 3 - Order Now!
    2016 SRK Tech Talk Member of the Year Co-Recipient

    Have a question? Use the JASENSCUSTOMS HELP DESK

    - Jasen's Customs Facebook, it's where the pictures are: Facebook
    - Follow me on Twitter to see what new things I am adding: Twitter
    - Learn something? I try to publish all of my creations and tutorials at: The TechBlog
  • KunikuKuniku Joined: Posts: 351
    JRDIBBS wrote: »
    Kuniku wrote: »
    ssssssnip

    Glad you got that out of the way! Now we enter the world of "what the hell are you doing man?" lol Did you create a new code file or just use the same one?

    General ideas on why this is happening :
    The indexing of the leds is breaking when you add the joy to the chain. Why? It probably has to do with the way the SWITCHES (NOT the leds) are defined in the code. @Jasen Hicks what button order is your site expecting?

    I wish I had a set of j2s to be of more help out but I just have regular js at the moment

    I used the same code file from last week when I first started trying to add the RGB LED, just a simple everything is purple, turns yellow on activation with home, sel, start off using the definitions above.
  • NoryiaNoryia Joined: Posts: 53
    JRDIBBS wrote: »

    This is definitely strange, is this the first time you connect it to load code or has it worked before? Use a different USB cable just to eliminate that possibility.

    Update: I got a Kaimana Mini in today and was able to install drivers for it immediately.
  • johnhandyjohnhandy Joined: Posts: 193
    @Noryia
    I had the same problem with a Khameleon and it turns out it was not programmed correctly. It's been a while since I've played with my board, but I believe there's an LED to indicate whether it's in PS360 or or programming mode. If that light isn't on, you should probably contact the vendor for an RMA/exchange.
  • KunikuKuniku Joined: Posts: 351
    JRDIBBS wrote: »
    Kuniku wrote: »
    ssssssnip

    Glad you got that out of the way! Now we enter the world of "what the hell are you doing man?" lol Did you create a new code file or just use the same one?

    General ideas on why this is happening :
    The indexing of the leds is breaking when you add the joy to the chain. Why? It probably has to do with the way the SWITCHES (NOT the leds) are defined in the code. @Jasen Hicks what button order is your site expecting?

    I wish I had a set of j2s to be of more help out but I just have regular js at the moment

    @JRDIBBS I used the same code file from last week when I first started trying to add the RGB LED, just a simple everything is purple, turns yellow on activation with home, sel, start off using the definitions above

    Thoughts?
  • YojimbroYojimbro Joined: Posts: 5
    Hello! I've been working on getting my LED's working on-off for the better part of a year but I am at a roadblock and I'm throwing in the towel and asking for help.
    I am currently using 8 Kaimana J2 LEDs indexed and the Khameleon with a PS360+.
    I've gotten it soldered together, it doesn't seem to be defective because the LED1/power light works, as well as the 2 & 3 that indicate which mode its on and the little button on the board switches between them fine.
    I've also set up Arduino 1.6.5 and uploaded the Kaimana_master example ino file - Set to Leonardo and port Com3(Leonardo) - to the Khameleon without a problem.
    Everything seems fine with both the hardware and software but I cannot get any of the LED's to work at all, I've tried multiple indexing paths and nothing will even give me a sign of life.
    If they were at least working but not lighting up in the correct order or something similar I would keep troubleshooting it myself but I'm not savvy enough to figure out what the problem is.
    Any help would be greatly appreciated, thank you!
  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    Kuniku wrote: »

    Really stumped here, one last test you can do, only leave the Joystick LED connected and change the index to 0, then test the joystick on its own. Let's confirm the LED adapter works correctly.
    Yojimbro wrote: »
    Hello! I've been working on getting my LED's working on-off for the better part of a year but I am at a roadblock and I'm throwing in the towel and asking for help.
    I am currently using 8 Kaimana J2 LEDs indexed and the Khameleon with a PS360+.
    I've gotten it soldered together, it doesn't seem to be defective because the LED1/power light works, as well as the 2 & 3 that indicate which mode its on and the little button on the board switches between them fine.
    I've also set up Arduino 1.6.5 and uploaded the Kaimana_master example ino file - Set to Leonardo and port Com3(Leonardo) - to the Khameleon without a problem.
    Everything seems fine with both the hardware and software but I cannot get any of the LED's to work at all, I've tried multiple indexing paths and nothing will even give me a sign of life.
    If they were at least working but not lighting up in the correct order or something similar I would keep troubleshooting it myself but I'm not savvy enough to figure out what the problem is.
    Any help would be greatly appreciated, thank you!

    First things first, If you connect the Khameleon on its own to the usb does it turn on the leds? Check that you are connecting the Kaimana to the DIN side of the J not the DOUT and that the chain follows DIN->DOUT until the last J
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • KunikuKuniku Joined: Posts: 351
    JRDIBBS wrote: »
    Kuniku wrote: »

    Really stumped here, one last test you can do, only leave the Joystick LED connected and change the index to 0, then test the joystick on its own. Let's confirm the LED adapter works correctly.

    So set everything else to 0xFF and just test the Joystick on its own? Shall try that after work tonight!
  • TizTozBriBruTizTozBriBru Joined: Posts: 253
    When I have a little more spending money I'm gonna get one of these to do a cycling rainbow. I don't know how I didn't see this in any of the other 3 years it's been here...
  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    When I have a little more spending money I'm gonna get one of these to do a cycling rainbow. I don't know how I didn't see this in any of the other 3 years it's been here...

    One of us, one of us, one of us...

    In other of news, I got an indexable LED strip and am driving 30 leds succesfully! Trying anything above that causes issues which im sure is all code based but real life is happening so i only work 15 mins on them some days. Anyone get their stuff working?
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
  • KunikuKuniku Joined: Posts: 351
    @JRDIBBS I've not got long left at work so hopefully can get home and test my setup before long =D
  • YojimbroYojimbro Joined: Posts: 5
    edited October 2016
    JRDIBBS wrote: »
    First things first, If you connect the Khameleon on its own to the usb does it turn on the leds? Check that you are connecting the Kaimana to the DIN side of the J not the DOUT and that the chain follows DIN->DOUT until the last J

    Sorry, very busy. I tried disconnecting the entire string and made sure each one was DI to DO with the last D1 plugging into the Khameleon itself, fired it up by the USB connector on the Khameleon and nothing.
    But I did find something new, after that failed I didn't disconnect the power but instead the LEDs; after I rechecked them all I plugged the strand back in and it killed the LED1 and LED3 on the Khameleon board until I disconnected them again - could it be drawing too much power or bleeding it somehow?
    Thanks for the help so far, I'm making some progress now.
  • JRDIBBSJRDIBBS Neighborhood Modder Joined: Posts: 469
    Yojimbro wrote: »
    JRDIBBS wrote: »
    First things first, If you connect the Khameleon on its own to the usb does it turn on the leds? Check that you are connecting the Kaimana to the DIN side of the J not the DOUT and that the chain follows DIN->DOUT until the last J

    Sorry, very busy. I tried disconnecting the entire string and made sure each one was DI to DO with the last D1 plugging into the Khameleon itself, fired it up by the USB connector on the Khameleon and nothing.
    But I did find something new, after that failed I didn't disconnect the power but instead the LEDs; after I rechecked them all I plugged the strand back in and it killed the LED1 and LED3 on the Khameleon board until I disconnected them again - could it be drawing too much power or bleeding it somehow?
    Thanks for the help so far, I'm making some progress now.

    It sound like either too much power draw (are you using a relatively modern computer?) or a crossed connection (triple check that din-dout). Can you plug just 1 J and see if it turns on?
    I mod so you can play!
    Joysticks, buttons and PCBs, all at paradisearcade.com!
    The Man @ MightyJRMods- PM me for fixes and mods in the USA www.mightyjrmods.com
    Kaimana Guru, check out my GitHub for layouts, animations and more!
    Member of the Church of Dremel and the Cult of Hot Glue.
    No mod is finished until you wrangle that wiring!
Sign In or Register to comment.