Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Iain
Published

Smooth RGB LED Transitions with Johnny-Five

A little tidbit on how to make smooth, step based colour transitions for RGB LEDs in Johnny-Five!

IntermediateProtip1.5 hours50,290

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
RGB Diffused Common Anode
RGB Diffused Common Anode
You can also use Common Cathode — just be sure to wire it properly!
×1
Resistor 330 ohm
Resistor 330 ohm
×3
Jumper wires (generic)
Jumper wires (generic)
×4
Breadboard (generic)
Breadboard (generic)
×1

Software apps and online services

Johnny-Five
Johnny-Five

Story

Read more

Schematics

Common Anode RGB LED

Code

Smooth JS RGB LED Transitions

The repository of code for the smooth RGB LED transitions as shown in this post. Feel free to use as a reference or fork!

Credits

Iain
5 projects • 71 followers
Hello! I'm Iain, a digital creator. I like making projects with code, art, and robots. Follow me for awesome projects and fun tidbits!
Contact

Comments

Please log in or sign up to comment.