@ā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
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.
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?
Spoiler
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.
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.
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
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.
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ā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