đź’ˇ Blync 2: driving it from the terminal

Following on from the first part of the Blync hack, I want to be able to control the color from a terminal. Let’s create a simple protocol Command Input in byte Output in byte Default mode 0..7: 0 (AUTO) no output Get current RGB value 0..7: 1 (GET) 0..7: Red as [0..255] 8..15: Green as [0..255] 16..23: Blue as [0..255] Set RGB value 0..7: 2 (SET) 8..15: Red as [0..255] 16..23: Green as [0..255] 24..31: Blue as [0..255] 0..7: 1 (ACK) Here is the demo code in Python using pyserial. ...

March 5, 2014 Â· 1 min Â· 143 words Â· ticapix

🎛️ Blync 1: reverse-engineering the USB cube

There is a funny little USB gadget called the Blync identified by VID: 0x1130, PID: 0x0001. It’s a glowing RGB cube, but it has two defects for me: the driver is only available for Windows only 7 colors are available Let’s fix it. Software hack That’s the easy part. Plug your Blync under Windows running in a virtual machine. Start Wireshark under the Linux host Dump USB packets Think Replay packets in Python And Voilà: https://github.com/ticapix/blynux ...

March 3, 2014 Â· 3 min Â· 521 words Â· ticapix