The HHManh Linear Position Control Device User Manual provides setup, operation, and programming instructions for manual and automatic modes.
About this manual
This manual describes the linear position control system developed by HHManh. It explains the hardware layout, including the controller panel, encoder, limit switches, and motor driver, as well as the power connections for 220 VAC and 12 VDC.
The document also covers software setup using the Arduino Mega 2560, detailing how to install the Arduino IDE, connect the board via USB, and program the PID controller. Instructions for manual and automatic operation, knob adjustments for Kp, Ki, Kd, and serial plotting are provided.
What's inside
- Introduction
- System Description and Operation
- Manual Mode
- Automatic Mode
- Microcontroller Specification
- Input and Output
- Pin Connections
- Programming Software
- PID Algorithm
- Interrupt Routines
Specifications
| Digital I/O Pins | 54 |
|---|
| Analog Input Pins | 16 |
Frequently asked questions
How do I switch between manual and automatic modes?
Turn the mode selection switch to MAN position and press the MODE Confirm button for manual mode, or turn it to AUTO position and press the confirm button for automatic mode; LEDs indicate the active mode.
How can I adjust the PID parameters Kp, Ki, and Kd?
Use the dedicated knobs on the controller panel for Kp, Ki, and Kd; the current values are shown on the LCD display.
How do I connect the Arduino Mega 2560 to a PC for programming?
Connect the Arduino to the PC with a USB cable, install the Arduino IDE from the official website, and use the Serial Plotter (Ctrl + Shift + L) to view data.