Control Fan on 100% xx secs 50% xx secs

Hi Guys,

I've very new to this, but is possible to use an Arduino Uno to pulse a fan in an on-off-on-off format, but I need for example on 100% xx seconds, 50% xx seconds, 100% xx seconds, 50% xx seconds, 100% xx seconds (and other values like 75% etc).

So basically to pulse the fan when activated.

See the BlinkWithoutDelay example in the IDE

Yes.

Also, checkout PWM. Words like "arduino control fan with pwm" in a search thingy could net useful results.

Most of the PWM stuff I've seem is more along the lines of start fan as minimum speed then turn it up speed as temp increases, rather than what i'm after :-/ i'm very new as this so even looking at the BlinkwithoutDelay code i'm still a little lost (will have a look on youtube later).

Thanks So far :slight_smile:

This is the first time xxxx has posted — let’s welcome them to our community!

I’m staggered at how many members can’t read, or understand the headers and section titles…
This is in no way a Tutorial for others to follow.

1 Like

I have moved your topic to a more appropriate forum category @scott40k .

In the future, please take some time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

1 Like

Hi,
Although it seems like it, you didn't say so, so I'll ask.
Does your fan allow speed adjustment by PWM variation or does it have a selector switch that changes the speed?

I haven't purchased the Fan yet as I was waiting to hear what people's suggestions were so I could get either a DC or PWM (3 or 4 wire) for this depending on what people advise.

I have the UNO, USB Cable, a dev board and a load of jumper wires (as well as some general parts from my bits box like LEDs and a few different resistance resistors).

But surely you can glean from such code how to just make a fan blow at half speed indefinitely.

Then find or write any way to blink an LED. Without delay() preferred, but you could make a start by seeing if you could "blink" you fan off and half-on, say instead of an LED on/off with the same program.

Be it a noob style delay / act / delay literal step-by-step thing or using the blink without delay model.

Sooner later you will want to take the time to fully understand BWOD as it is affevtionately referred to around here, maybe now is the time to, um, take the time.

a7

1 Like

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