Difference between revisions of "Fan-4020-PWM-5V"

From Waveshare Wiki
Jump to: navigation, search
(Created page with " {{Infobox item |brief=Fan for Jetson Nano, support PWM controlling |img=link=https://www.waveshare.com/fan-4020-pwm-5v.htm |platform=4G |...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  
 
{{Infobox item
 
{{Infobox item
|brief=Fan for Jetson Nano, support PWM controlling
 
 
|img=[[File:Fan-4020-PWM-5V-3.jpg|300px|link=https://www.waveshare.com/fan-4020-pwm-5v.htm]]
 
|img=[[File:Fan-4020-PWM-5V-3.jpg|300px|link=https://www.waveshare.com/fan-4020-pwm-5v.htm]]
 
|platform=4G
 
|platform=4G
Line 13: Line 12:
  
 
== Introduction ==
 
== Introduction ==
4G/3G/2G/GSM/GPRS/GNSS HAT for Raspberry Pi, Based on SIM7600E-H
+
Fan for Jetson Nano, support PWM controlling
 
{{Amazon|{{#urlget:amazon|default}}=display
 
{{Amazon|{{#urlget:amazon|default}}=display
 
|More = [https://www.waveshare.com/fan-4020-pwm-5v.htm More]}}
 
|More = [https://www.waveshare.com/fan-4020-pwm-5v.htm More]}}
Line 43: Line 42:
  
 
== FAQ ==
 
== FAQ ==
 +
{{FAQ|What functions do the four wires of Fan-4020-PWM-5V separately?|
 +
'''Black''' -> GND; '''Red''' -> Vcc; '''Blue''' -> Tach; '''Yellow''' -> PWM
  
 +
The color of Tach and PWM may be different among different batch, it is all to the actual products.
 +
|||}}
 
{{Service00}}
 
{{Service00}}

Latest revision as of 07:24, 22 August 2019

Fan-4020-PWM-5V
Fan-4020-PWM-5V-3.jpg
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Primary Attribute
Category: Jetson
{{{userDefinedInfo}}}: {{{userdefinedvalue}}}
Brand: Waveshare
Website
English: Waveshare website
Chinese:
Onboard Interfaces
PWM
Related Products

Introduction

Fan for Jetson Nano, support PWM controlling

More

How to use

Hardware connection

Please connect the Fan to Fan interface of the Jetson Nano Developer Kit, note the direction.

Software setting

  • Running fan: you can use the command below to run the fan in full speed
sudo sh -c 'echo 255 > /sys/devices/pwm-fan/target_pwm' 

【Note】You can change the 255 to other value (0~255) to change the speed of fan

  • You can also set the fan ran when booting by creating and modifying rc.local file
sudo vi /etc/rc.local
  • Add statements below to rc.local file and save
#!/bin/bash
sleep 10
sudo /usr/bin/jetson_clocks
sudo sh -c 'echo 255 > /sys/devices/pwm-fan/target_pwm'
  • Modify file permission
sudo chmod u+x rc.local
  • Then reboot and testing
sudo reboot

【Note】if you are strange to the vi editor, you can also install nano and use it for editing:

sudo apt-get install nano
sudo nano /etc/rc.local

FAQ

Question:
What functions do the four wires of Fan-4020-PWM-5V separately?
Answer:

Black -> GND; Red -> Vcc; Blue -> Tach; Yellow -> PWM

The color of Tach and PWM may be different among different batch, it is all to the actual products.



Please contact us by Email/Skype/WeChat for technology support. Because of jet lag, our response may be late, you can just leave your questions, we will reply to you as soon as possible in working time.

Service email.png [email protected]
Service skype.png [email protected]
Service wechat.png Webchat Linzeru.png
Service time.png 09:00 - 18:00 (UTC+8 Monday to Staturday)