中文 | English
Welcome to the Smart Agriculture Central Control Panel Solution repository for QuecPython! This repository provides a comprehensive solution for developing smart agriculture central control panel applications using QuecPython.
QuecPython has introduced a GUI solution for a Smart Agriculture Central Control Panel based on the U-235 Development Board. The features include weather forecast, agricultural environmental data monitoring, real-time data display, historical data curves, agricultural equipment control, alarm and fault event notifications, system settings, and more.
The U-235 development board comes with the default onboard EC600U module and an externally connected 5-inch screen with a MIPI interface and a resolution of 854*480. Additionally, it features a variety of sensors and peripheral interfaces onboard. For more details, you can refer to the U-235 EVB User Guide.
The Smart Agriculture Central Control Panel uses LVGL to draw the graphical interface. LVGL is a lightweight, open-source embedded graphics library. QuecPython integrates LVGL and utilizes NXP's GUI Guider as a graphical interface design tool. It can automatically generate QuecPython code, significantly improving the efficiency of graphical interface design on embedded platforms.
- Environmental Data Display: Provides real-time data for various environmental parameters in agriculture.
- Device Status Display: Used to monitor and display the operational status of various devices and sensors.
- System Settings: A crucial part of user configuration and personalization for their agricultural management system.
- Device Control: A crucial component for managing and operating various farm equipment.
- Parameter Settings: Allows users to customize and adjust various environmental and equipment operation parameters.
Before you begin, ensure you have the following prerequisites:
-
Hardware:
- A QuecPython U-235 development board
- USB Data Cable (USB-A to USB-C)
- PC (Windows 7, Windows 10, or Windows 11)
-
Software:
-
Clone the Repository:
git clone https://github.com/QuecPython/solution-Agriculture-Control-Panel.git cd solution-Agriculture-Control-Panel
-
Flash the Firmware:
Follow the instructions to flash the firmware to the development board.
-
Connect the Hardware:
- Insert the SIM card into the SIM card slot.
- Connect the antenna.
- Use a USB data cable to connect the development board to the computer's USB port.
-
Download Code to the Device:
- Launch the QPYcom debugging tool.
- Connect the data cable to the computer.
- Press the PWRKEY button on the development board to start the device.
- Follow the instructions to import all files within the
code
folder into the module's file system, preserving the directory structure.
-
Run the Application:
- Select the
File
tab. - Select the
main.py
script. - Right-click and select
Run
or use the run shortcut button to execute the script.
- Select the
solution-Agriculture-Control-Panel/
├── code/
│ ├── about_screen.py
│ ├── Agri_ui.py
│ ├── alarm_screen.py
│ ├── dev1_screen.py
│ ├── dev2_screen.py
│ ├── EventMesh.py
│ ├── img/
│ │ ├── mp-1092957702.png
│ │ ├── mp1105200495.png
│ │ ├── (Some pictures are omitted here)
│ │ └── mp996516799.png
│ ├── main.py
│ ├── main_screen.py
│ ├── monitor_screen.py
│ ├── screen.py
│ ├── setting1_screen.py
│ ├── setting2_screen.py
│ ├── weather_screen.py
│ └── welcome_screen.py
├── docs/
│ ├── en/
│ │ └── media/
│ │ ├── Agriculture-Control-Panel.png
│ │ ├── GUI-Guider.png
│ │ └── U235-EVB.png
│ └── zh/
│ └── media/
│ ├── Agriculture-Control-Panel.png
│ ├── GUI-Guider.png
│ └── U235-EVB.png
├── LICENSE
├── README.MD
└── README_ZH.MD
Click for details of the smart agriculture central control panel solution's implementation.
We welcome contributions to improve this project! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add your feature'
). - Push to the branch (
git push origin feature/your-feature
). - Open a Pull Request.
This project is licensed under the Apache License. See the LICENSE file for details.
If you have any questions or need support, please refer to the QuecPython documentation or open an issue in this repository.