The problem was that the hall effect sensor or tach signal was incredibly noisy.
Arduino pwm fan control.
The circuit utilizes the mode 10 pwm phase correct on timer 1 ocr1a pin 9 and icr1 pin 10.
The microcontroller controls the speed of an electric fan according to the requirement allows dynamic and faster control and the lcd makes the system user friendly.
The noise made it impossible to measure the fan s rotation.
The blue led seen on the prototype board is just for verifying correct circuit operation and also can be removed.
The arduino throttles the fans using pid logic and drives them through pwm.
It then becomes a matter of telling the fan pwm to raise or lower the speed based on the temperature.
The temperature and fan speed are reported through a 8 digit 7 segment display fitted on a rack mounted aluminium bar.
The system uses a temperature sensor to control four fans that are driven by an arduino controller.
A question came up on irc regarding how to pwm a 3 pin pc fan with an arduino using analogwrite.
I simply want to control a 4 wired fan or maybe several with an arduino board.
Getting temperature values from a digital or analog temperature sensor on an arduino is fairly simple.
I found the following diagram that seems to be what i am looking for in order to hook the fan up to the arduino.
Beginner full instructions provided 24 154.
Many projects that use a temp sensor but never the most simple thing.
Temperature based fan speed control monitoring with arduino.
I have been wondering about this project and how to control my 4 pin pwm fans.
The frequency values can be adjusted between 125 hz 8 mhz as well as a variable duty cycle.
However i am looking at controlling the fan speed with the arduino via the pwm pins.
4 wired fan control pwm control a pwm fan with arduino.
I o pin 9 on the arduino board is directly connected to fan control input and by reading the state of 3 push buttons on pins 2 3 4 different pwm values are sent to the fan.
I am looking at getting 2 80x10mm pwm fans.
Controlling the fan was seemingly straightforward.
I had 5 laying around and thought mine as well give it a shot.
The ultimate project is to control the fan based on temperature.
There is some information out there.