Difference between revisions of "Fan-4020-PWM-5V"
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <div class="wiki-pages jet-green-color"> | |
{{Infobox item | {{Infobox item | ||
− | |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|{{Amazon_nolink|default={{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}|url=link=https://www.waveshare.com/fan-4020-pwm-5v.htm}}]] |
|platform=4G | |platform=4G | ||
|category=[[:Category:Mini PC|Jetson]] | |category=[[:Category:Mini PC|Jetson]] | ||
|brand=Waveshare | |brand=Waveshare | ||
− | |{{#urlget:amazon|default}}=display | + | |{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display |
|website_cn= | |website_cn= | ||
|website_en=[https://www.waveshare.com/fan-4020-pwm-5v.htm Waveshare website] | |website_en=[https://www.waveshare.com/fan-4020-pwm-5v.htm Waveshare website] | ||
Line 11: | Line 11: | ||
}} | }} | ||
− | + | = Introduction = | |
− | Fan for Jetson Nano | + | Fan-4020-PWM-5V is for Jetson Nano and supports PWM controlling. |
− | {{Amazon|{{#urlget:amazon|default}}=display | + | {{Amazon|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| 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 20: | Line 20: | ||
Please connect the Fan to Fan interface of the Jetson Nano Developer Kit, note the direction. | Please connect the Fan to Fan interface of the Jetson Nano Developer Kit, note the direction. | ||
===Software setting=== | ===Software setting=== | ||
− | *Running fan: you can use the command below to run the fan | + | *Running fan: you can use the command below to run the fan at full speed. |
sudo sh -c 'echo 255 > /sys/devices/pwm-fan/target_pwm' | sudo sh -c 'echo 255 > /sys/devices/pwm-fan/target_pwm' | ||
− | 【Note】You can change the 255 to | + | 【Note】You can change the 255 to another value (0~255) to change the speed of fan. |
− | *You can also set the fan | + | *You can also set the fan run when booting by creating and modifying rc.local file. |
sudo vi /etc/rc.local | sudo vi /etc/rc.local | ||
− | *Add statements below to rc.local file and save | + | *Add statements below to rc.local file and save. |
#!/bin/bash | #!/bin/bash | ||
sleep 10 | sleep 10 | ||
sudo /usr/bin/jetson_clocks | sudo /usr/bin/jetson_clocks | ||
sudo sh -c 'echo 255 > /sys/devices/pwm-fan/target_pwm' | sudo sh -c 'echo 255 > /sys/devices/pwm-fan/target_pwm' | ||
− | *Modify file permission | + | *Modify file permission. |
sudo chmod u+x rc.local | sudo chmod u+x rc.local | ||
*Then reboot and testing | *Then reboot and testing | ||
sudo reboot | sudo reboot | ||
− | 【Note】if you are strange | + | 【Note】if you are strange with the vi editor, you can also install nano and use it for editing: |
sudo apt-get install nano | sudo apt-get install nano | ||
sudo nano /etc/rc.local | sudo nano /etc/rc.local | ||
− | == 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 batches, it is all to the actual products. |
+ | |||}} | ||
+ | {{FAQ|What is the power of the fan? | ||
+ | |The operating current of FAN-4020-PWM-5V is 0.27A, 7500rpm. | ||
+ | ||}} | ||
+ | =Support= | ||
+ | {{Servicebox1}} |
Latest revision as of 07:28, 25 August 2023
| ||
Introduction
Fan-4020-PWM-5V is for Jetson Nano and supports 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 at full speed.
sudo sh -c 'echo 255 > /sys/devices/pwm-fan/target_pwm'
【Note】You can change the 255 to another value (0~255) to change the speed of fan.
- You can also set the fan run 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 with the vi editor, you can also install nano and use it for editing:
sudo apt-get install nano sudo nano /etc/rc.local
FAQ
Black -> GND; Red -> Vcc; Blue -> Tach; Yellow -> PWM.
The color of Tach and PWM may be different among different batches, it is all to the actual products.
{{{5}}}
Support
Technical Support
If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 AM GMT+8 (Monday to Friday)