Arduino PC Fan Control using a rotary encoder

preview_player
Показать описание
Hi! A few weeks ago, I found this old Computer fan that was about to be thrown away.

I took a look on the net, and I found out that it can be controlled by Arduino.

So, this gave me the input, to create this tutorial on how to program Arduino to pilot a fan. The components I used are:
- #Arduino #ArduinoNano,
- #RotaryEncoder,
- 12 Volt Power Supply and
- I2C OLED display.

The rotary encoder, connected to the D3 PIN of Arduino, when rotated, increases the voltage of the blue wire of the fan. This action, makes the fan spin faster or slower. The video shows a direct effect of it.

As showed in the video, the connections are very simple.

The schematics and the sketch, are available to whoever request them on my YouTube chat. I will just need an email address to send them over.
Рекомендации по теме
Комментарии
Автор

Where is the code? I looked at the link you provided the other guy and I can't seem to find it.
(EDIT)
I found it. How can I eliminate the small oled display and add a push button to turn on the fans? I have a dual concentric rotary with push button. I want the push button to turn the fans on and then one portion of the concentric rotary to control fan1 and the other concentric rotary to control fan2. Thanks

Nick-xehu
Автор

Hello i´m Patrick, i am very interessted for the CODE!!! 😃

spielzeugwolfchen