Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

🤖 StepperController

ArduinoMotorsDriversShieldLicense

A lightweight library for controlling stepper motors for 3D planar tilting applications.

🎯 Project Goal

This library was developed to control a 3D planar tilting mechanism that interfaces with a 3D viewer. By sending simple serial commands, the system allows precise control of the tilting platform's orientation, creating an immersive physical representation of 3D models being viewed in software.

✨ Core Features

  • 🎮 Control multiple NEMA 17 stepper motors via serial commands
  • 🔄 Simple command interface for external software integration
  • 📊 Set motor speeds and accelerations
  • 🔌 Designed for Arduino Mega 2560 with RAMPS 1.4 shield and A4988 drivers

🛠️ Hardware

The system uses:

  • Arduino Mega 2560
  • RAMPS 1.4 shield
  • 4x NEMA 17 stepper motors
  • 4x A4988 stepper motor drivers

📦 Library Structure

stepper_control/
├── include/ # Header files
├── src/ # Implementation files
├── examples/ # Example sketches
└── stepper_control.ino # Main sketch

🚀 Serial Commands

CommandDescription
statusShow motor status
move <motor> <steps>Move motor by steps
speed <motor> <speed>Set maximum speed
stop <motor>Stop specific motor
stop_allStop all motors
emergency_stopEmergency stop all motors

Type help for a complete list of commands.

🔄 Integration

The library is designed to be controlled via serial commands from a 3D viewer application, allowing physical movement to be synchronized with on-screen models.

📜 License

This project is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages