Fan-4020-PWM-5V

From Waveshare Wiki
Revision as of 02:55, 2 July 2019 by Waveshare-eng11 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Fan-4020-PWM-5V
Fan for Jetson Nano, support PWM controlling
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

4G/3G/2G/GSM/GPRS/GNSS HAT for Raspberry Pi, Based on SIM7600E-H

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

Mail.png Contact your seller (fast response and most recommended)

or send emails to [email protected] (not fast enough but please be patient) for help.

Our working time: 09:00-18:00 (UTC+8 Monday to Saturday)