-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pwm frequency 500Hz #8
Comments
Hi, "classic" arduinos are not powerful (fast) enough to generate high
frequency pwm signals, esp32 based boards are. Still, with arduinos you are
generally going to get close a decent result as long as the fans are not
too picky (I tried noctua fans I had around and they worked just fine), but
we are talking about frequencies way out of specifications, so you cannot
be sure which ones are going to work. If your project needs reliability you
can try an esp32 or going straight to a pwm controller board. Theoretically
you are not supposed to control and monitor pwm fans straight with/from
pins without mosfets and stuff, so take this library as a quick and dirty
hack
Il lun 29 lug 2019, 21:18 Steph71 <[email protected]> ha scritto:
… Hi,
I am trying this library on my arduino nano, but I can see, that the PWM
Frequency is ~500Hz.
But its supposed to be ~ 25kHz right ?
Am I missing something here ?
Best Regards
Stephan
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8?email_source=notifications&email_token=AAWEF2PYX5LQ4MIQOVOVOALQB47BVA5CNFSM4IHVNVVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCD5QDA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWEF2IMFXMPIIE6YVE6WGTQB47BVANCNFSM4IHVNVVA>
.
|
Hi, thanks for your quick reply. actually there are libraries which can generate the 25kHz PWM on an arduino (eventually not 6 in parallel) e.g.: https://code.google.com/archive/p/arduino-pwm-frequency-library/ however, those do not include the monitoring code. and you are right the direct coupling of the controller an the fan output might cause reliability issues. are you aware of any of the shelf modules, that can provide spec compliant and reliable interfacing between PC fan and generic microcontrollers. Actually I would assume, this to be a very generic components for a lot of projects .... Best Regards EDIT: Just stubled over that : sounds interesting will probably give it a try. |
Hi, I saw some of those libraries, I always assumed they would mess up
timings due to changing the registries (
https://forum.arduino.cc/index.php/topic,117425.0.html) if you were to use
millis and such. Never actually tried them though.
Unfortunately I didn't find PWM interface modules to connect to
microcontrollers, only standalone ones. Some had ways to communicate with
them via serial interface IIRC, though I didn't buy one of those due to
their size. I ended up with a standalone one, I'm not entirely satisfied,
but it does the job.
Have a nice day :)
Il giorno mar 30 lug 2019 alle ore 09:51 Steph71 <[email protected]>
ha scritto:
… Hi, thanks for your quick reply.
actually there are libraries which can generate the 25kHz PWM on an
arduino (eventually not 6 in parallel) e.g.:
https://code.google.com/archive/p/arduino-pwm-frequency-library/
or
https://github.com/marceloaqno/4-Wire-FAN-Arduino
however, those do not include the monitoring code.
and you are right the direct coupling of the controller an the fan output
might cause reliability issues.
are you aware of any of the shelf modules, that can provide spec compliant
and reliable interfacing between PC fan and generic microcontrollers.
Actually I would assume, this to be a very generic components for a lot of
projects ....
Best Regards
Stephan
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8?email_source=notifications&email_token=AAWEF2JUXV35N7KXPN42AITQB7XIBA5CNFSM4IHVNVVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3DDS2Q#issuecomment-516307306>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWEF2NN2ECTWLYUAADE3I3QB7XIBANCNFSM4IHVNVVA>
.
|
Hi,
I am trying this library on my arduino nano, but I can see, that the PWM Frequency is ~500Hz.
But its supposed to be ~ 25kHz right ?
Am I missing something here ?
Best Regards
Stephan
The text was updated successfully, but these errors were encountered: