Changes

Jump to navigation Jump to search

X729-Software

521 bytes added, 18:07, 19 November 2022
no edit summary
Python version is 3;
=='''1. Enable I2C funcion on Raspbian:'''==
Please reter to [[How to enable I2C]]
=='''2. Check & review I2C port'''==
2.1 Login via teminal window, then update & upgrade & install necessary software (python and i2c tool library)
=='''3. Setting up the power management script'''==
3.1 Download x729 setup scripts:
=='''4. Setting up the PWM cooling fan'''==
cd ~
cd x729
python3 read_fan_speed.py
=='''5. Test PLD/PLSD/buzzer function'''==
=='''6. Set and Read the RTC time'''==
6.1 Run the following command on your Raspberry PI to begin editing the /boot/config.txt file.
Once the time is set, make sure the batteries are inserted so that the time is saved. You only have to set the time once. That's it! Next time you boot the time will automatically be synced from the [[X729]].
 
==7. How to enable automatic shutdown when low voltage==
7.1 Run the command to read battery voltage and percentage
pi@raspberrypi:~/x729 $ sudo python3 bat.py
7.2 Change the battery low voltage to implement safe shutdown. default is less than 3.00Vdc.
pi@raspberrypi ~ $ sudo nano bat.py
[[File:X729-3.png|none]]
Note: the voltage range must be 2.5~4.1vdc.
 
[[File:X729-4.png|none]]
Save and exit. In nano, you do that by hitting CTRL + X, answering Y and hitting Enter when prompted.
==uninstall x729 script==

Navigation menu