This repository contains the source code for an RGB control application developed in Python using the customtkinter, colorpicker, serial_connection, and microphone libraries. The application allows users to control the color of RGB LEDs connected to an Arduino board, either through a graphical color picker or by voice commands.
- Arduino Connection: Automatically detects available USB ports and allows connection to the Arduino board for sending color change commands.
- Color Picker: Includes an intuitive color picker that lets users select the desired LED color while displaying the result in real-time.
- Voice Commands: The application supports voice commands in Portuguese and English to change LED colors. Colors like "red," "green," "blue," and others are recognized.
- Color Display and RGB Code: Displays the selected color and its RGB code, with an option to copy the RGB code to the clipboard.
- Connection Alerts: Shows visual alerts if there is any issue connecting to the Arduino board.
- Python 3.x
- Python Libraries: customtkinter, colorpicker, serial_connection, microphone, and other dependencies as needed.
- Arduino board with connected RGB LEDs.
- KY-037 module.
Clone this repository. Install the required dependencies.
python rgb_control_app.py
- Connect your Arduino board, select the correct port in the application interface, and start controlling the RGB LEDs.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
This description provides a clear overview of the project, its features, and how to use it, making it ideal for the main page of your GitHub repository.