Advice for circuit with a push/pull rotary encoder to control brightness, hue/color, and saturation of a ring LED

Hello all and thank you so very much for your time in advance. I very new to design of circuits so bear with me...

My goal is to create ring LED module that is controlled by a single encoder knob in 3 states.

  1. In the base state of the rotary encoder is to control brightness of a PWM RGB LED
  2. I would like the second state (either push or pull) to control the hue or selected color of the LED
  3. I would like the third state (either push or pull) to control the value of the saturation of the color of the LED

Any and all guidance from specific gear to the general direction for programming such a device would be extremely appreciated.

Again, thank you any and all who have anything to add help me achieve this goal.

<3

-Mike

Hello nasstronaut

Welcome to the worldbest Arduino forum ever.

This is a nice project to get started.

Keep it simple and stupid firstly.

Follow the example code that comes with the library or
run some tutorials for the hardware selected.
If you are happy with the results of the tutorials you can merge these to your project.

Have a nice day and enjoy coding in C++.

1 Like

Thank you so much for your timely response. So C++ is your suggested method of code delivery. This is a huge help for a start.

I found some of the hardware I am looking, but I wondering what specific hardware would be the most cost effect to achieve the aforementioned results for which I am looking?

Any insight as to what specifically I would need besides a 5v power supply and an RGB ring LED?

For instance what sort of device would I need to delivers these control messages? I was hoping to use a 360 rotary encoder so it continuously returned back to the same color every rotation, but reset to only reach maximum saturation and/or brightness/dimness levels by turning the rotary knob up or down.

The rotary encoder knob is usually, or often, a pushbutton switch, too. That could be used to establish your modes (position, click, hue, click, saturation, click, brightness).
Play around with, get the numbers going in SerialMonitor.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.