Friday, September 30, 2016

Color Switcher for Controlling RGB LEDs via Java

Thanks to Diego for sending this in – and for providing all the necessary code and instructions available here on GitHub.

 

If you want to make this first you need to have a java ide, i recoment eclipse since is the one i use and you need the arduino ide from the harware poin you also need any kind of arduino with serial usb communication as many RGB LED’s neopixel, i use this ones from adafruit , a ~470 ohm resistor and last if you have too many LED’s you may need 5v power supply for 32 LED’s you dont need one.


Featured Adafruit Products!

NewImage

NeoPixel Stick – 8 x 5050 RGB LED with Integrated Drivers: Make your own little LED strip arrangement with this stick of NeoPixel LEDs. We crammed 8 of the tiny 5050 (5mm x 5mm) smart RGB LEDs onto a PCB with mounting holes and a chainable design. Use only one microcontroller pin to control as many as you can chain together! Each LED is addressable as the driver chip is inside the LED. Each one has ~18mA constant current drive so the color will be very consistent even if the voltage varies, and no external choke resistors are required making the design slim. Power the whole thing with 5VDC (4-7V works) and you’re ready to rock. Read more.

No comments:

Post a Comment