Skip to content

Nondzu/nano-pwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nano-pwm

PC fan controller based on arduino nano


This controller have 3 independent PWM channels with 25 kHz according to PC fan specification.
Serial port (9600bps) is use to communicate with arduino nano.
AT COMMAND:
  • set PWM:
    AT+PWM=$value - set pwm value for all channels
    AT+PWM=($channel, $value) - set pwm $value for $channel

  • read RPM info:
    AT?RPM - get RPM values from all channels

Each command must finish be new line character \n

example:
AT+PWM=50 - set all channel PWM to 50%
AT+PWM=(0,90) - set channel 0 to 90% PWM.
AT+PWM=(2,50) - set channel 2 to 50% PWM.
AT?RPM - get rpm value from all channels


SCHEMATIC:

Schematic will be available soon. PWM and tachometer pins can by connecting directly to arduino. Additional items are not necessary (resistor or transistors). here is connection info:

FAN PWM (OUTPUT):
PIN 9 - PWM output for channel 0
PIN 10 - PWM output for channel 1
PIN 3 - PWM output for channel 2

FAN tachometer (INPUT):
PIN 4 - RPM CHANNEL 0
PIN 5 - RPM CHANNEL 1
PIN 6 - RPM CHANNEL 2

About

Arduino nano pwm controller for PC fan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published