Skip to content

replaydost1903/arm-motion-control

Repository files navigation

🛠️ System Overview

The objective of this system is to control a mechanical arm connected to a DC motor based on movement data received from a motion sensor. Using a custom-designed PC interface, users can send commands to define:

  • The number of rotations to the left or right,
  • And the time required for one full rotation.

The system supports two operating modes:

  • Manual Mode
  • Automatic Mode
    Details of each mode will be described later.

Screenshot 2025-06-05 230225 1

💻 User Interface

  • Developed using Visual Studio with C#.
  • Provides control over:
    • The motor (direction, speed, mode),
    • Other hardware components: LED, buzzer, motion sensor, and speaker. 1

🔌 Communication

  • Physical Layer: RS485 (wired)
  • Protocol: UART
  • Ensures reliable communication between the PC interface and the motor control system. 1

🔄 Power Loss Recovery

In the event of a power failure (e.g., system shutdown or power interruption), the system typically requires manual reinitialization via the PC interface.
To eliminate this dependency:

  • All commands sent from the interface are stored in the internal flash memory of the microcontroller.
  • Upon power restoration, the system automatically reads the stored commands and resumes operation from the last known state.

🔋 Power Supply

  • The system operates with a 12V DC power source.
  • A 12V 6A AC-DC converter supplies power to the system components.
    (See the diagram below for the connection schematic.)

About

Motor & Sensor Control via UART-RS485 – 2024 Summer Internship Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published