Difference between revisions of "Fan-4020-PWM-5V"
From Diustou Wiki
(Created page with " {{Infobox item |images=300px|link=https://{{SERVERNAME}}/fan-4020-pwm-5v.htm |platform=4G |categories=Jetson |brand=Waves...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Product | |
− | {{ | ||
|images=[[File:Fan-4020-PWM-5V-3.jpg|300px|link=https://{{SERVERNAME}}/fan-4020-pwm-5v.htm]] | |images=[[File:Fan-4020-PWM-5V-3.jpg|300px|link=https://{{SERVERNAME}}/fan-4020-pwm-5v.htm]] | ||
|platform=4G | |platform=4G | ||
|categories=[[:Category:Mini PC|Jetson]] | |categories=[[:Category:Mini PC|Jetson]] | ||
|brand=Waveshare | |brand=Waveshare | ||
− | | | + | |interfaces={{Category|PWM}} |
}} | }} | ||
== Introduction == | == Introduction == | ||
Fan for Jetson Nano, support PWM controlling | Fan for Jetson Nano, support PWM controlling | ||
− | |||
− | |||
== How to use == | == How to use == |
Latest revision as of 18:06, 23 March 2021
| |||||||||||||||||||
| |||||||||||||||||||
|
Introduction
Fan for Jetson Nano, support PWM controlling
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
|
|
|