Arduino code for ws2812 addressable LED project - Controlled by Rotary encoders & Potentiometers


I’m looking to make a control box that controls the lights on a strip of 100 WS2812 LED’s. 2 Rotary Encoders (R.E.), and 2 Potentiometers (Pots) will be used to control the lighting effects via an Arduino Mega using the FastLED library.

Detail: (See attached Picture)

4 control knobs (2 Rotary Encoders, 2 Potentiometers). Info about the function of each below.

Rotary Encoder 1 (Mode selector)

3 modes to choose from -

1 - "Pattern mode"

2 - "User selection mode"

3 - "Audio Sensor mode"

Pattern Mode:

When Rotary Encoder 1 is set to Pattern mode, the other control knobs will behave as described below.

Rotary encoder 2:

This will select different patterns of light shows from the FAST LED library. The code should allow myself to copy/paste new patterns so that each click of the rotary encoder selects the next pre-defined pattern. Some examples include those found here:

[login to view URL]

Potentiometer 1:

This will control the overall strip brightness during all of the patterns that are being displayed

Potentiometer 2:

This will control the overall strip speed for the patterns being displayed, making them run faster or slower.

End of Pattern Mode

"User selection mode"

Description - The strip will display a solid color across all Led's, but the user will be able to select the color and control the brightness.

Rotary encoder 2:

This will be used to select from a large list of colors. I would like it to cycle through the full color wheel. Continuously turning this knob will rotate through all of the colors of the color wheel

Potentiometer 1:

This will control the brightness of the color being displayed across the stip

Potentiometer 2:

Open to cool ideas! Maybe a low pot value can make the light slowly strobe, or chase etc.

End of "User Selection Mode"

Audio sensor mode:

Description - The user will select this mode and ambient sound picked up by the arduino will make the LED's react to the sound (blinking, bouncing lights based on the sound input). The code should allow for other effects to be copy/pasted in such as the example below.


[login to view URL]

Rotary encoder 2:

This will change which audio reactive effect/pattern is being displayed by the LED's

Potentiometer 1:

This will control the brightness of the pattern

Potentiometer 2:

Not used.

The job should include advice and troubleshooting to make sure the signal does not bounce or have additional noise.

Please help me make something cool :)

Skills: Arduino, Electronics, Microcontroller, Electrical Engineering, C Programming

See more: source code hospital management system project vbnet, led project 12v dimmer, code online food market project, led project 74hc595, animation led project, led project circuit diagram, free source code hospital managment system project vbnet, vbnet code database desing church project, atmel rgb led project, circuit electronic led project, code employee management system project, code vb hr management project, arduino led beat controlled, arduino led project, arduino code adxl335 led matrix, pic microcontroller led project assembly code, ws2811 led strip arduino code, ws2811 led arduino code

About the Employer:
( 1 review ) West Kelowna, Canada

Project ID: #20093802

11 freelancers are bidding on average $81 for this job


Hello sir, I have experience in designing electronics circuits and can develop hardware compatible smartphone and PC based apps. I also have done a lot of IoT projects and can transform your idea into a fully working p More

$30 CAD in 13 days
(38 Reviews)

I would propose to use SD-card to store sequences In that case, you will be able to create literally ANY visual effect with any graphics adaptor or with the specialized editor. That will be faster, and will not requir More

$130 CAD in 7 days
(75 Reviews)

Hi, I have read your project description carefully. I have good experience with Arduino board and programming. I think that my professional knowledge and experience will provide you with help. If you give me a chance t More

$300 CAD in 3 days
(18 Reviews)

Hey; I have my own Hackerspace. We are working on arduino based projects with great efficiency. I have an extensive experience with WS2812B Addressable LEDs (FASTLED and Adafruit libraries). I have done similar jobs. More

$35 CAD in 5 days
(5 Reviews)

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned "I can do th More

$40 CAD in 7 days
(0 Reviews)

I previously did projects on arduino with led strips and encoders. I have experience of two years in arduino programming.I can easily complete your project on time.

$15 CAD in 6 days
(0 Reviews)

i have work experience in WS2812B LEDs. I can deliver this in 2weeks. As an Embedded Engineer i can support with this kinnd of cool things.

$200 CAD in 14 days
(0 Reviews)

i'm software engieneer i'm so intersting to help you with your project i have a great background in android I have many projects based on arduino like Smart meter, smart home using many sensors humidity, temperature More

$30 CAD in 1 day
(0 Reviews)

Peace be upon you I am Mechanical engineer which is about to graduate what you want to do seems cool and i like to join and try to help and mostly I will enjoy doing such project but honestly I cant promise if i can More

$50 CAD in 10 days
(0 Reviews)

Hello, I am an Electrical & Electronics Engineer and having 4 years of experience in Micro controller Programming like Arduino, ESP etc. I have completed lots of arduino based projects & can easily solve your project More

$28 CAD in 4 days
(0 Reviews)

hi bro i can help you to do your application i'm expert i arduino and lighting system connected with iot if you want cantact me :)

$30 CAD in 5 days
(0 Reviews)