![]() It seems like access to the official Light Link protocol is restricted and I wasn’t able to find anything related to it. I couldn’t find any blobs in your repository so I assume your implementation is the only software on the JN5168 there are not parts from the original Innr firmware running on it, right? They way I understand it is that your firmware runs as a standalone firmware on a JN5168. Could you maybe help me to understand this. But I’m also interested in the things you did and I don’t quite understand everything (but I’m also not familiar with the ZigBee ecosystem). I stumbled upon your project while trying to find a cheap way of integrating my RGB strips to my hue system. JN51xxProgrammer.exe -s COM3 -eraseeeprom=fullĪfter executing the command the eeprom should be erased and you should see a screen similar to the one below. To erase the eeprom execute the command below, where COM3 should represent the port you are using. This removes the saved device settings such as the network it belongs to. If you want to create a fresh device, or change the light type, I recommend to erase the eeprom before programming it. For the Mesh Bee you can do this by connecting SPIMISO to ground while powering the device.ĭownload the NXP programmer ( here) and the binary you want to load. With the breakout boards this is easy, while holding the program button you reboot the chip by pressing the reset button, after the reset you can release the program button. To put the JN5168 in programming mode, pin 22, SPIMISO has to be low while booting the device. For this the JN5168 needs to be in programming mode. With the hardware in place it is time to load the firmware. That’s it, that’s all there is to know about the hardware. At the time I only had a common anode LED available, so I had to invert the PWM signals, which means, this binary only works with a common anode LED, or a driver that requires an inverted signal. This zip contains the color light binary, three timers are used (red, green and blue). By default, this timer is activated on DIO13. This is zip contains the binary for the monochrome dimmable light. The binaries are available in zipped format:ĭownload: Light_DimmableLight_JN5168. I created two binaries, both of them use the JN5168 on board timers to generate PWM signals required to drive the LED’s. UPDATE: I moved all the downloads and connection info to a new page: ZLL – tl dr So, I modded the board by breaking the TX and RC traces and soldered wires to the correct pins en solve the bug.Ĭompleted board with TX/RX bug corrected The binaries Now, this is something I will forget at some point and it will cost me valuable time before I will realise this was indeed the case. Also, there is a bug in this board, the TX and RX are reversed. I changed the header for connecting with the FTDI to be male, this way I can plug the FTDI connector directly to the module without additional wiring. To the next board I made two small changes. The first board was killed in action after accidentally powering it with 5v instead of 3.3v. I ordered the breakouts here, and soldered them according to the guide here. ![]() I decided to order some JN5168 modules and breakout boards, which also turned out to be a bit cheaper. ![]() Since the Mesh Bee’s do not expose all pins of the JN5168, and I was having some trouble loading firmware (turned out to be a bad UartSBee). JN5186 module connected to Philips Hue using custom color light firmware, driving an RGB LED The hardware I will open source the entire project with a future post. ![]() ![]() In this post I describe the hardware, software and process to run the custom binaries ( download here) yourself. Both binaries use the PWM output of the JN5168 for controlling the levels, which makes them suitable for driving led’s directly or through an external driver. Using the NXP Light Link demo project as starting point, I managed to created two custom binaries, one for a monochrome dimmable light and one for a dimmable color light. For the past few weeks I have been doing just that, creating custom firmware that connects to a Philips Hue. In my previous posts I described how I was able to connect a Mesh Bee with cloned firmware to a Philips Hue and how the cloned firmware provided me with the key to connecting custom firmware to my Philips Hue. Pushed the sources to GitHub, available here I put all the relevant info on this page, and I will keep it updated. Now supporting Multi Endpoint Lights (RGB is coming). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |