Search found 11 matches

by maxus1998
Wed Jan 08, 2020 9:03 pm
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 24
Views: 28681

Re: PWM controlled fan tacho wrong

I swapped the 1nf capacitor now for a 680pf and the values read by the ESP32 seems to be fine. The Corsair fan reaches right around 2000RPM and the noctua one about 1600RPM, both values are the manufacturer specifications for the maximum speed. I can't spot any difference on the oscilloscope when us...
by maxus1998
Tue Jan 07, 2020 10:41 pm
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 24
Views: 28681

Re: PWM controlled fan tacho wrong

Adding the 1nf capacitor did indeed help. The values seem quite realistic but a bit high now. I read 3000rpm ok my 400-2000 rpm fan, while the slower noctua one looked fine.
I will try to use a slightly higher value capacitor tomorrow and get some new measurements with the capacitors.
by maxus1998
Tue Jan 07, 2020 5:04 am
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 24
Views: 28681

Re: PWM controlled fan tacho wrong

I am happy to use those additional 8 resistors, I am just not sure if it is the correct solution,

What exactly do you mean with scope readings? Did you just miss my post with the pictures or would you want to see something else?
by maxus1998
Mon Jan 06, 2020 9:42 pm
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 24
Views: 28681

Re: PWM controlled fan tacho wrong

I discovered that using a longer cable from the pull up resistor to the reading pin seems to bring correct readings. Because of this I tried using a 330 Ohm Resistor instead of the longer cable which also seemed to work... My goal is to turn this into a PCB. Would I need to add those resistors there...
by maxus1998
Mon Jan 06, 2020 2:16 pm
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 24
Views: 28681

Re: PWM controlled fan tacho wrong

I got a proper oscilloscope now so here are some readings

100PWM
100PWM 50mV.jpg
100PWM 50mV.jpg (13.41 MiB) Viewed 14853 times
255PWM
255PWM 50mV.jpg
255PWM 50mV.jpg (14.79 MiB) Viewed 14853 times
PWM Cable unplugged
FULL 50mV.jpg
FULL 50mV.jpg (11.07 MiB) Viewed 14853 times
The measurings have been taken with channel 1 connected to the Pulled up tacho signal (where the cable would go to the ESP32)
by maxus1998
Mon Jan 06, 2020 8:24 am
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 24
Views: 28681

Re: PWM controlled fan tacho wrong

Yes it is
by maxus1998
Sun Jan 05, 2020 12:10 am
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 24
Views: 28681

Re: PWM controlled fan tacho wrong

I now used a arduino nano as cheap oscilloscope to look at what I get

Here is the screenshot of the result.
rpm.PNG
rpm.PNG (52.38 KiB) Viewed 14957 times
(Detected frequency is fluctuating between 24.4 and 25.6 Hz, forgot to turn it on in the screenshot. Fan should be around 800 RPM)
Does this show anything related to my problem?
by maxus1998
Fri Jan 03, 2020 9:47 am
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 24
Views: 28681

Re: PWM controlled fan tacho wrong

I tinkered around some more and found out I can in fact get correct speed readings for the fan if I use a seconds jumper cable on the tacho line and touch/thumbe around the two jumper cables. The effect gets lost when I crank up the fan to more than 150 (out of 255). Is there a more practical soluti...
by maxus1998
Wed Jan 01, 2020 6:30 pm
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 24
Views: 28681

Re: PWM controlled fan tacho wrong

Esp_sprite I too think that will reveal the cause which is that the signal while in essence is correct is noisy or has bounce. Without a scope it could be tested by rotating very slowly to by hand an reporting the rpm. Tom Meyers As I wrote in my previous (not yet published by moderators) post, I d...
by maxus1998
Wed Jan 01, 2020 12:21 pm
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 24
Views: 28681

Re: PWM controlled fan tacho wrong

Unfortunately I don't have that gear. All I have to measue is a digital multimeter.
But when used in my pc, both fans seems to work correctly.

Maybe ordering some cheap oscilloscope or asking to use one in the office could be possible though...