{"id":24358421,"url":"https://github.com/saeed-dev2/rc_servo_control_system","last_synced_at":"2026-05-09T19:41:20.399Z","repository":{"id":272334479,"uuid":"901683039","full_name":"Saeed-dev2/RC_Servo_Control_System","owner":"Saeed-dev2","description":"A firmware for controlling servo motors using a CT6B RC receiver. Implements up/down, roll, and pitch actions with precise servo angle mapping and real-time feedback via serial monitoring. Designed for smooth integration with RC-controlled robotic systems.","archived":false,"fork":false,"pushed_at":"2025-02-03T14:59:18.000Z","size":272,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T15:50:15.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Saeed-dev2.png","metadata":{"files":{"readme":"readme","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-11T05:51:35.000Z","updated_at":"2025-02-03T14:59:21.000Z","dependencies_parsed_at":"2025-01-13T19:32:15.283Z","dependency_job_id":"e3e6f5c5-31b5-4c6a-bcaa-2fe71fd8b7ea","html_url":"https://github.com/Saeed-dev2/RC_Servo_Control_System","commit_stats":null,"previous_names":["saeed-dev2/rc_servo_control_system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeed-dev2%2FRC_Servo_Control_System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeed-dev2%2FRC_Servo_Control_System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeed-dev2%2FRC_Servo_Control_System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saeed-dev2%2FRC_Servo_Control_System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saeed-dev2","download_url":"https://codeload.github.com/Saeed-dev2/RC_Servo_Control_System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243179903,"owners_count":20249187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-18T20:10:58.119Z","updated_at":"2026-05-09T19:41:20.361Z","avatar_url":"https://github.com/Saeed-dev2.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-Servo Control System with CT6B Integration\n\nThis project demonstrates a multi-servo control system integrated with the CT6B radio transmitter. It provides seamless functionality for controlling servos via RC signals, enabling actions such as up-down motion, rolling, and pitching.\n\n## Overview\n\nThe firmware is designed to control four servos connected to a microcontroller using input signals from the CT6B radio receiver. This system is ideal for robotics applications where precise motion control is required. The code includes:\n\n- Servo initialization.\n- Mapping RC inputs to servo angles.\n- Smooth motion transitions.\n\n## Components\n\nThe firmware consists of the following key components:\n\n- **Servo Initialization**: Configures initial positions and movement ranges for the servos.\n- **CT6B Input Handling**: Processes signals from the CT6B receiver channels.\n- **Motion Control Logic**: Implements up-down, rolling, and pitching actions based on input signals.\n- **Serial Debugging**: Outputs signal values for debugging and monitoring.\n\n## Setup and Installation\n\n### Prerequisites\n\n- **Arduino IDE** (preferred).\n- **Servo Library**: Ensure the Servo library is included in your Arduino environment.\n\n### Hardware Requirements\n\n- **Microcontroller**: Arduino-compatible board (e.g., Arduino Uno).\n- **CT6B Radio Receiver**: For signal input.\n- **Servos**: Four servos for motion control (connected to specified pins).\n- **Power Supply**: Ensure adequate power for both servos and the microcontroller.\n\n### Wiring Diagram\n\n| Component           | Pin Configuration   |\n|----------------------|---------------------|\n| **Servo LF**         | Pin 6              |\n| **Servo RF**         | Pin 5              |\n| **Servo LB**         | Pin 4              |\n| **Servo RB**         | Pin 3              |\n| **CT6B Channel 1**   | Pin 7              |\n| **CT6B Channel 2**   | Pin 8              |\n| **CT6B Channel 3**   | Pin 9              |\n| **CT6B Channel 4**   | Pin 10             |\n| **CT6B Channel 5**   | Pin 11             |\n| **CT6B Channel 6**   | Pin 12             |\n\n### Installation Steps\n\n1. Clone or download the firmware code into your Arduino environment.\n2. Open the project in **Arduino IDE**.\n3. Verify that the Servo library is installed.\n4. Connect the components as per the wiring diagram.\n5. Upload the code to your Arduino-compatible board.\n\n## Usage\n\n- **Initialization**: Servos are initialized to their default positions (down and up limits).\n- **Up and Down Motion**: Controlled via Channel 6 input (mapped to predefined angles).\n- **Rolling Motion**: Controlled via Channel 4 input.\n- **Pitching Motion**: Controlled via Channel 3 input.\n- **Debugging**: Monitor real-time channel values in the Serial Monitor.\n\n## Configuration and Settings\n\n- Servo angle limits are defined for each motion:\n  - **Upside-Down Down Position**: `usuDP_*` variables.\n  - **Upside-Down Up Position**: `usuUP_*` variables.\n- Channel inputs are processed using `pulseIn()` for signal reading.\n- Adjust the **angle mapping** in the `map()` function to match your specific servo range requirements.\n\n## Troubleshooting\n\n- **No Servo Movement**:\n  - Check wiring and servo connections.\n  - Verify signal inputs via Serial Monitor.\n- **Incorrect Motion**:\n  - Recalibrate the angle mapping in the `map()` function.\n  - Ensure the CT6B transmitter is properly configured.\n- **Signal Issues**:\n  - Confirm the receiver is powered and transmitting signals.\n\n## Files and Descriptions\n\n| File               | Description                                      |\n|--------------------|--------------------------------------------------|\n| `main.ino`         | Contains the primary firmware logic and setup.   |\n| `Servo.h`          | Standard Arduino library for servo control.      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaeed-dev2%2Frc_servo_control_system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaeed-dev2%2Frc_servo_control_system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaeed-dev2%2Frc_servo_control_system/lists"}