Jump to content

25 kHz PWM from either Rpi or Arduino Uno?

SnipeYa

I'm fairly new to this whole hobby electronics thing, I'm looking for a way to output a 25kHz PWM signal to a fan but neither the Arduino Uno or Raspberry Pi 3B seem to output that kind of frequency. 

Is there some kind of trickery I can use to boost either of these upto the required speed?

Link to comment
Share on other sites

Link to post
Share on other sites

I have no experience with that myself, but maybe this topic or this one can help for the Arduino.

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to comment
Share on other sites

Link to post
Share on other sites

You might want to read this article from the arduino website:

https://playground.arduino.cc/Code/PwmFrequency

TL:DR: No you cannot set a 25KHz PWM signal with hardware in the arduino. Bu either way, why do you need 25KHz for controlling a fan? The default 490Hz works very well for 99% of power control, specially if you add an LC filter on the output of your switching transistor

Quote or tag if you want me to answer! PM me if you are in a real hurry!

Why do Java developers wear glasses? Because they can't C#!

 

My Machines:

The Gaming Rig:

Spoiler

-Processor: i5 6600k @4.6GHz

-Graphics: GTX1060 6GB G1 Gaming

-RAM: 2x8GB HyperX DDR4 2133MHz

-Motherboard: Asus Z170-A

-Cooler: Corsair H100i

-PSU: EVGA 650W 80+bronze

-AOC 1080p ultrawide

My good old laptop:

Spoiler

Lenovo T430

-Processor: i7 3520M

-4GB DDR3 1600MHz

-Graphics: intel iGPU :(

-Not even 1080p

 

Link to comment
Share on other sites

Link to post
Share on other sites

13 hours ago, tikker said:

I have no experience with that myself, but maybe this topic or this one can help for the Arduino.

Thanks! I've already taken a look at those topics after Googling around the web. Turn's out there are some pitfalls to speeding up the Arduino output directly...But I've found people making their own stand alone fan controller circuits use "555 timer IC's" so I'm looking into them to see if I can control the 555 timer PWM output from the Arduino somehow.
 

57 minutes ago, dany_boy said:

You might want to read this article from the arduino website:

https://playground.arduino.cc/Code/PwmFrequency

TL:DR: No you cannot set a 25KHz PWM signal with hardware in the arduino. Bu either way, why do you need 25KHz for controlling a fan? The default 490Hz works very well for 99% of power control, specially if you add an LC filter on the output of your switching transistor

From what I've tried the fan doesn't seem to recognize the PWM output from the Arduino, Tried a ramping up and down between 0 and 255.

Apparently the desired signal is 25kHz but will work with anything between 21-28kHz thats why I was aiming for 25kHz. 
Referance: http://www.formfactors.org/developer/specs/rev1_2_public.pdf 

Sorry I still only have a very basic understanding of circutry (Think Minecraft redstone logic level of complexity), Could you explain how the LC filter would be used?

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×