This project establishes a Bluetooth RFCOMM connection between a controller and a user interface, enabling the control of servo motors. Servos can be used to control various devices, from car mirrors to robotic arms.
-
SERVO APP Main menu window.
-
Fast Controls Quickly move the servo to 0, 90, or 180 degrees.
-
Slider Control Smooth and precise servo movement.
-
Save User Requests the current position from the server, saves it, and stores the user's name in a JSON file on the user's side.
-
Load User Load user settings and position. It moves the servo to the position saved with "Save User."
- Bluetooth Classic / RFCOMM communication.
- Two sliders for controlling two servo motors.
- Servos can be controlled via either software or hardware PWM signals.
- User-friendly GTK GUI for controlling the servos.
- Supports digital mode servo control.
- WiringPi: This library is used for the low-level control for Raspberry.
- Bluetooth: The connection is build with the low level bluetooth libary with.
- Gtk: The graphical user interface is built using the Gtk library, providing a smooth and interactive control experience.
To get started with this project, follow these steps:
- Installation: Set up the required libraries and dependencies.
- Usage: Learn how to use the software and control the servos.
- Troubleshooting: Find solutions to common issues.
- Contributing: Contribute to the project and make it better.
- License: Understand the project's licensing terms.
To use this servo controller, you need to install the required libraries:
sudo apt install libgtk-4-dev # Install for the GUI
sudo apt install wiringpi # Install for the pin control
sudo apt-get install libbluetooth-dev # Install for communication