Skip to content

A web-based control panel for managing a 6-axis robot arm with real-time motor control and pose saving functionality.

Notifications You must be signed in to change notification settings

ABDULRAHMAN-ALSAADI/Robot-Arm-Control-System-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

🤖 Robot Arm Control System

A web-based control panel for managing a 6-axis robot arm with real-time motor control and pose saving functionality.

🌟 Features

  • 🎛️ Interactive Control Panel - Control 6 servo motors with smooth sliders

  • 💾 Save & Load Poses - Store your favorite robot positions with custom names

  • ▶️ Run/Stop Control - Start and stop robot movements with visual feedback

  • 📊 Real-time Status - Monitor current robot position and running status

  • 🔄 Database Integration - All poses and status saved in XAMPP - MySQL database

🛠️ Technologies Used

  • Frontend: HTML5, CSS3, JavaScript (Vanilla)

  • Backend: PHP

  • Database: MySQL

  • Server: XAMPP (Apache + MySQL)

  • Hardware: ESP32 compatible (ready for integration)

📦 Installation

Prerequisites

  • XAMPP or similar LAMP/WAMP stack

  • Modern web browser

  • Basic knowledge of PHP and MySQL

Setup Steps

1- Clone this repository

2- Start XAMPP

  • Start Apache and MySQL services

3- Create Database

4- Configure Database Connection

  • Update database credentials in PHP files if needed:
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "robot_control";

5- Deploy Files

🎮 How to Use

Basic Controls

  • Move Sliders ⤵️ - Adjust each motor position (0-180 degrees)

  • Enter Move Name ✏️ - Give your pose a descriptive name

  • Save Move 💾 - Store the current position to database

  • Run ▶️ - Execute the current motor positions

  • Stop ⏹️ - Stop robot movement and save stopped position

🔌 Hardware Integration

This system is designed to work with ESP32 microcontrollers. The robot status is stored in the database and can be read by your ESP32 using HTTP requests:

  • Get current pose: GET /get_run_pose.php

Access the current pose at http://localhost/robot_control/get_run_pose.php

  • Get stopped pose: GET /update_status.php

Access the stopped pose at http://localhost/robot_control/update_status.php

🚀 Screenshots

Screenshot 2025-07-24 224746 Screenshot 2025-07-26 150037 Screenshot 2025-07-26 150258

About

A web-based control panel for managing a 6-axis robot arm with real-time motor control and pose saving functionality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published