Open main menu

Changes

X728-Software

685 bytes added, 01:09, 23 July 2023
no edit summary
{{GD Template Impl}}
<big>Although this installation tutorial is still available, but we strongly recommend that you use [[X728-script]] new tutorial, and we no longer maintain this page.</big>
 
<hr/>
 
The following test is base on [https://www.raspberrypi.com/software/operating-systems/ 2022-01-28-raspios-bullseye-armhf.zip]
4. Install script&reboot:
Firstly please select your x728 version, please use x728-v2.1.sh for x728 v2.1 and v2.2and '''v2.3'''
sudo bash x728-v2.1.sh
#New add buzzer support
Add a line at the end of the file that reads like this:
@reboot python /home/pi/x728bat.py
[[File:X728-crontab.png|800px]] Save and exit. In nano, you do that by hitting CTRL + X, answering Y and hitting Enter when prompted.
7. Power off command on Raspbian from software
[[File:X728-pld-2.jpg]]
 
PS:
 
1. X728pld.py is '''ONLY''' a sample code file, you can modify it according to your own needs
 
2. The buzzer is controlled by software. It is found that some customers do not know how to turn off the buzzer's warning sound. Here is a reminder.
 
[[File:X728-buzzer.png|800px]]
9. '''Testing Auto shutdown when AC power loss''' or power adapter failure
References:
*[https://www.instructables.com/Raspberry-Pi-Tutorial-How-to-Use-a-Buzzer/ Raspberry Pi Tutorial: How to Use a Buzzer]
*[https://github.com/arbowl/cyberdeck-battery-indicator/ Battery Indicator Script Share by Drew]
Return to [[X728]]