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!


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.

Join 4,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

Learn “How Computers Work” with Bill Gates, Ladyada and more – From Code.org !

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

Maker Business — Prototyping PCBs with Particle, a guide from a pro in the field #makerbusiness

Wearables — From mat to hat

Electronics — Even lower power!

Biohacking — Nectome’s Brain Preservation and Backup Service Plan

Python for Microcontrollers — Scott ([email protected]) on the Amp Hour podcast!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !

No Comments

No comments yet.

Sorry, the comment form is closed at this time.