中文 | English
Welcome to the SMS control led Solution for QuecPython! This warehouse provides an open source project focusing on LED control and SMS notification functions, which is suitable for remote control and status reporting to improve the efficiency of equipment management.
- Introduction
- Features
- Getting Started
- Directory Structure
- Usage
- Contribution
- License
- Support
QuecPython has introduced a remote control method for LED lights, such as SMS control LED on and off.
With the QuecPython-encapsulated interface, remote control of lights can be easily achieved in just a few steps, eliminating the need for traditional manual switching.
-
**Identify custom verification code ** : If you want to control the device, you need to send a command (LIGHT) with the correct verification code to the device to improve device security.
-
LIGHT L1 ON : The mobile phone sends verification code (LIGHT) + Custom device number (L1) + Device action (ON) to enable L1 device to turn on lights
-
LIGHT L1 OFF : The mobile phone sends verification code (LIGHT) + Custom device number (L1) + device action (OFF) to turn off the light of the L1 device
Before you begin, ensure you have the following prerequisites:
- Hardware:
- A QuecPython wearable 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/aaronchenzhihe/SMS_LED.git cd LED_SMS
-
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_t.py
script. - Right-click and select
Run
or use the run shortcut button to execute the script.
- Select the
solution-LED_SMS/
├── code/
│ ├── _main.py # Startup control module
└── README.md # Company of Heroes Readme
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.