Open main menu

Changes

X-C1 Software

38 bytes removed, 23:38, 25 June 2021
no edit summary
sudo ./uninstall_ubuntu.sh
</pre>
 
== For myNode OS ==
'''Install'''
 
login to mynode teminal via Putty or Xsheel tool, the default user name is admin, password is bolt, then run the following command: or you can install app in mynode, setting/Applications/Manage/APPs, select 'Web SSH', then click 'install' button
<pre>
sudo apt-get update
sudo apt-get install python-smbus
sudo apt-get install pigpio python-pigpio
git clone https://github.com/geekworm-com/x-c1
cd x-c1
chmod +x *.sh
sudo bash x-c1-mynode.sh
sudo pigpiod
python /home/admin/x-c1/x-c1_pwm_fan_control.py&
</pre>
Sorry, you need to log in via SSH every time you restart Mynode, otherwise the .bashrc file will not be executed. We are not familiar with mynode. We will still find a solution to make .bashrc run automatically when pi4 reboot.
 
===How to start PWM fan when pi 4 boots===
But we hope that the script can be executed automatically when the Raspberry Pi board boots, we can use crontab system command to achieve it. please refer to the following
Save and exit (CTRK + O and ENTER to save it). In nano editor, you do that by hitting CTRL + X, answering Y and hitting Enter when prompted.
== for myNode OS ==
login to mynode teminal via Putty or Xsheel tool, the default user name is admin, password is bolt, then run the following command: or you can install app in mynode, setting/Applications/Manage/APPs, select 'Web SSH', then click 'install' button
sudo apt-get update
sudo apt-get install python-smbus
sudo apt-get install pigpio python-pigpio
git clone https://github.com/geekworm-com/x-c1.git
cd x-c1
chmod +x *.sh
sudo bash x-c1-mynode.sh
sudo pigpiod
python /home/admin/x-c1/x-c1_pwm_fan_control.py&
 
Sorry, you need to log in via SSH every time you restart Mynode, otherwise the .bashrc file will not be executed. We are not familiar with mynode. We will still find a solution to make .bashrc run automatically when pi4 reboot.
== How to read the fan RPM?==
X-C1 don't support read fan RPM!
<!--Add review function! -->