01-10-2025, 03:13 PM
I will continue in this thread, although my question is a bit different.
I connect the tachometer wire from the fan to the digital input on the A2 board. The wiring diagram is attached. I have connected the FG wire to the digital input and the GND from the fan is connected to another device that shares a common power supply with the A2 board, so all GNDs are connected to each other. I know that there are pull-up resistors on the A2 board, which are needed to read the fan RPM.
I connected and checked the operation, and everything was fine. But lately I noticed that the RPM readout is working with problems, sometimes it shows 0 RPM, although the fan is working properly, sometimes it shows 50-150K, although the maximum fan RPM is 3200, the fan is working in normal mode at this time. I can't figure out what's wrong.
Also in the yaml code it was written like this:
but when I tried to add it, I got an error.
What can it be, what is the problem? Does the pullup resistor work and why can't I write it in the code?
I connect the tachometer wire from the fan to the digital input on the A2 board. The wiring diagram is attached. I have connected the FG wire to the digital input and the GND from the fan is connected to another device that shares a common power supply with the A2 board, so all GNDs are connected to each other. I know that there are pull-up resistors on the A2 board, which are needed to read the fan RPM.
I connected and checked the operation, and everything was fine. But lately I noticed that the RPM readout is working with problems, sometimes it shows 0 RPM, although the fan is working properly, sometimes it shows 50-150K, although the maximum fan RPM is 3200, the fan is working in normal mode at this time. I can't figure out what's wrong.
Also in the yaml code it was written like this:
Code:
- platform: pulse_counter
pin:
number: GPIO36
name: “Fan Supply RPM”
id: supply_fan_rpm
icon: mdi:speedometer
unit_of_measurement: “RPM”
update_interval: 1s
accuracy_decimals: 0
filters:
- multiply: 0.5
- exponential_moving_average:
send_every: 5
but when I tried to add it, I got an error.
Code:
mode:
input: true
pullup: true
What can it be, what is the problem? Does the pullup resistor work and why can't I write it in the code?