Pushbutton controlling brightness of LED strips with Arduino

Hello, I am new to everything Arduino and need a lot of help.

I’m working on controlling a NeoPixel LED strip with a single pushbutton using an Arduino. I want the LEDs to start at a low brightness, and with each button press, gradually increase the brightness of the lights.

Diagram of the circuit image + code would be greatly appreciated :slight_smile:

Hi
Please be aware, that the forum is not a place where they do your homework for you.
We only can help you, but you still need do it yourself.

Did you try to write a code? Please insert it to the forum.

Hi @newbie2arduino ,
I see this is your third copy of your post in this forum with the same question, thing @b707 gave you a propper and respectful answer, keep in mind this is a forum.
Good Luck!
Gaby.//

Welcome to the forum.
Can you tell us what Arduino programming you have done so far?
Do you have any code written?
Do you have a circuit diagram to show us?

Have you Googled;

arduino neopixel tutorial

Tom.. :smiley: :+1: :coffee: :australia:

@newbie2arduino ,

Your other topic on the same subject deleted.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

Start by installing the Adafruit Neopixel library and play around with the buttoncycler example.

Once you understand how that works you can modify the code to change the brightness rather than the animation mode.

Eventually graduate to the FastLED library for more features.

Be aware that you MUST power the LED strip with an external power source capable of providing the required current. Do Not power the strip from the Arduino.

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