Fan RPM-Signal readout


Hey everyone!

As I off-topicly mentioned in Gummix' thread (Temperature controlled PWM Fan), I'm desperately trying to get a readout of a fan's RPM-Signal. Everything I got from the rpi-GPIO-Node could not be interpreted in any way to make sense - at least not to me. I'm not even sure if the processing of the readout in Node-RED is fast enough to accomplish that, the Rasperry Pi 3 should be. Has anyone faced this topic? Any hints?

By the way... I'm using the Arctic F14 PWM fan.



Hi there,
Can you please provide us with a sample of data that you get from your fan ?
Btw, correct me if I'm wrong but I'm not so sure your fan is "sending" proper data to read in the first place :thinking:
If I remember correctly you have to read the fan's signal duty cycle to get a percentage over maximum potetial usage...



Maybe use a Arduino with Firmdata connected to a Raspberry?



Well, that sounds familiar. I drop some data here as soon I'm back home, tomorrow. With the duty-cycle method it worked on the Arduino, already, but it doesn't after transferring this idea to Raspberry with Node-RED. Probably, because I do it wrong. The stuff I read about these signals is often pretty conflicting. Some say you have to evaluate the duty cycle, some say it's just a hall-sensor and you have to count the peaks per minute (the last thing seems not right to me, now).

Yeah,but that would be my third-best solution, if I can't work this out with the help of the forum. My second idea is to read it out on another level outside of node red and pass this to the software. But first things first :wink:

I really can't believe, that this is due to the limitations of the Raspi-Hardware, after reading this:
Okay, he only tested the output, but...



Sorry for this sketchy... sketch :smile: But I opened some old electronic course and this is duty cycle @chkdsk






That link is great! I told you about the annoying noise. It's gone since I generate the signal using the exec node to set up the pwm frequency and generate the pwm signal.

Since my vacation is over now, I need to find the time to handle the rest, but I keep going!