Changes

Jump to navigation Jump to search

X729-Software

630 bytes added, 01:11, 23 July 2023
no edit summary
{{GD Template Impl}}
<big>Although this installation tutorial is still available, but we strongly recommend that you use [[X729-script]] new tutorial, and we no longer maintain this page.</big>
 
==Setup script==
The following test is base on * [https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2023-05-03/2023-05-03-raspios-bullseye-arm64.img.xz 2023-05-03-raspios-bullseye-arm64.img.xz]
* [https://www.raspberrypi.com/software/operating-systems/ 2022-09-22-raspios-bullseye-armhf.img.xz]
* [https://www.raspberrypi.com/software/operating-systems/ 2022-09-22-raspios-buster-armhf.img.xz]
PS: To buster version, the default user name is 'pi, but bullseye version, You you need to manually create a new user. In our example script, the new user name we created is 'pi'. If you create your own user name, you need to modify the corresponding user name directory in the script.
For Example: You may need to change '/home/pi/' => '/home/XX/', 'XX' is user name you created.
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install i2c-tools python3-smbus python-smbus sudo apt-get -y install pigpio python-pigpio python3-pigpiorpi.gpio
sudo apt-get -y install python3-pip python3-pil
#sudo apt-get -y install pigpio python-pigpio python3-pigpio
2.1 Once you have logged into your Raspberry Pi from the command line, run the command to see all the connected devices
70: -- -- -- -- -- -- -- --
</PRE>
Explaination:
<PRE>
#36 - the address of the battery fuel gauging chip
#3c - address of oled display,This value only exists when the oled is inserted,check if the OLED displayis inserted in the correct direction if you don't found the above i2c port
#40 - TI INA219 12-bit current/voltage/power monitor
#68 - the address of the RTC chip
3.2. Install script&reboot:
cd x729
chmod +x *.sh
sudo bash pwr.sh
#Reboot the Raspberry Pi or long press on-board button switch to turn off
sudo rebootnow
3.3 Powering off the Raspberry Pi from software
x729off
6.3 Run the command and comment out these five lines:
sudo nano /lib/udev/hwclock-set
[[File:X729-7.png|none]]
Return to [[X729]] or [[X729-hardware]]
<!--Add review function! -->

Navigation menu