Make a Saint Valentin Love Cup bought for $1 prettier by adding some RGB LED (Red, Green, Blue or multi-color). The Love Cup is USB programmable with C# or VB.NET.

caption (optional)

But I did not want to use a Raspberry PI or an Arduino, I wanted to make it a kind of programmable USB Device.

Nusbio is a hardware + software platform to make simple programmable USB device with any .NET languages. It is little bit like the Raspberry PI Gpios, but for Windows and .NET.

I used RGB LED of type APA 102, mostly because they are supported out of the box by Nusbio and the LED strip is very easy to connect. I used a one meter 60 LEDs strip.

The APA 102 protocol communication is SPI without the select pin. The 4 pins are

----------------------------------- SPI STRIP | Nusbio ----------------------------------- GND | GND 5V (VCC) | VCC DI Data In | Gpio1 CI Clock In | Gpio0





Nusbio device web site: Nusbio.