Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Other projects • How to read RPM pulses from an Aux 12V fan on RPi zero?

$
0
0
Hello All,

I have been checking the forums for this question, but didn't find my answer.
I would appreciate if you could please help me with.

I have a 3-wire 12V DC fan connected to RPi Zero W via a relay module. The thrid wire of the fan is producing RPM pulses which I want to use as an indicator to check the status of the fan if it is on or not.
- First, I did a search and found it that I shouldn't connect the third wire directly to the GPIOs because might have a similar voltage as input voltage of the fan. Is this correct? if so, how would be the safest way to connect to read the pulses?
- Second, it would be much appreciate if you could give me an example of py codes to do this.
- Third, I have several sensors connected to RPi, does this reading of the pulses can affect the reading from sensors? e.g. delay etc.

Many thanks

Statistics: Posted by miladb — Sun Feb 23, 2025 1:18 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles