Strobe Light

I need to make strobe light, very bright and should to be change the speed of RPM by preset program from low speed to high and back.
Thanks

Hello
Welcome to the Arduino fora.
Before you do anything else please take a moment to read General guidance
And
How to use this forum

Do you have a question?

TPAKTOP:
I need to make strobe light, very bright and should to be change the speed of RPM by preset program from low speed to high and back.
Thanks

Lots of words, not much detail.

By details we mean numbers.
How bright?
How fast?
How big a step between each speed?

Hi.

This will make a 50fps strobe light, but you might be using a different LED strip than me...

#include <Adafruit_DotStar.h>
#include <SPI.h>
#define NUMPIXELS 150 // Number of LEDs in strip
#define DATAPIN    4
#define CLOCKPIN   5

Adafruit_DotStar strip(NUMPIXELS, DATAPIN, CLOCKPIN, DOTSTAR_BGR); // I thought this was right

// we gon' flash... or no...
bool flash = true;

void setup() {

  strip.begin(); // Initialize pins for output
  strip.setBrightness(20); // check yourself before yo wreck your self...
  strip.show();  // Turn all LEDs off ASAP
  
}

void loop() {

    delay(20);                        // Pause 20 milliseconds (~50 FPS)

    if (flash) {
        for(int i=0; i<NUMPIXELS; i++) { 
           strip.setPixelColor(i, 0xffffff);
           flash = false;
        }
      } else {
        for(int i=0; i<NUMPIXELS; i++) { 
           strip.setPixelColor(i, 0x000000);
           flash = true;
        }
      }
    strip.show(); // Send Color Code
    
}

Very bright? 100 lumens? 10000 lumens? Peak or average? Beam angle?
RPM is for revolving things. Perhaps you mean flash frequency in hertz?
Max and minimum flash frequency?
Duty cycle?
Is LED suitable?

A set of requirements is a list of numbers/units, or the means to identify the values from a clear
description of the application.

For instance "very bright" means something totally different in daylight to nighttime or indoors.

For instance "very bright" means something totally different in daylight to nighttime or indoors.

And to different people. One of my friends has to wear sun glasses on what I consider to be normal light levels. However, he can see perfectly well at light levels I find far too dim to see much at all.

MarkT:
Very bright? 100 lumens? 10000 lumens? Peak or average? Beam angle?
RPM is for revolving things. Perhaps you mean flash frequency in hertz?
Max and minimum flash frequency?
Duty cycle?
Is LED suitable?

A set of requirements is a list of numbers/units, or the means to identify the values from a clear
description of the application.

For instance "very bright" means something totally different in daylight to nighttime or indoors.

MarkT:
Very bright? 100 lumens? 10000 lumens? Peak or average? Beam angle?
RPM is for revolving things. Perhaps you mean flash frequency in hertz?
Max and minimum flash frequency?
Duty cycle?
Is LED suitable?

A set of requirements is a list of numbers/units, or the means to identify the values from a clear
description of the application.

For instance "very bright" means something totally different in daylight to nighttime or indoors.

I wish the forum had a like button...

Here ya go

lardnicus:
I wish the forum had a like button...

It does. Over on the left. :grinning:

I can't see! Where?

It says Karma, it shows you like a post that that person has made.

Karma's not the same as Like.

True but what you are saying is that you like the person who made that comment, and you find their advice useful. Over time it builds up. By looking at the ratio of posts to Karma you get a feel for who to trust.

Also note that Karma has not always been a feature, I think I had made upwards of 20,000 posts before it was introduced.