Skip to content

xlmrami/ELL14-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ELL14 Rotational Mount Controller (MATLAB)

This repository provides a MATLAB class for controlling the ELL14 rotational mount via a serial port connection. The ell14 class simplifies interaction with the mount, enabling you to rotate it, home it, change step precision, and assign device addresses.

πŸ”Œ Requirements

  • ELL14 rotational mount connected via USB/serial
  • Correct COM port (check Device Manager under "Ports (COM & LPT)")
  • MATLAB R2019b or later

πŸ“ Class: ell14.m

Initialization

port = 'COM3';              % Replace with actual COM port
mount = ell14(port);        % Instantiate the controller

Main Methods

Method Description
setaddress(curr, new) Set/change the device address
rotate_foward() Rotate mount forward
rotate_Backward() Rotate mount backward
Home() Send the mount to home position
change_step(degree) Change step size in degrees (e.g., 0.5Β°)

πŸ’‘ Example Usage

mount = ell14('COM3');          % Connect to the device
mount.setaddress(1, 2);         % Set address from 1 to 2
mount.rotate_foward();          % Rotate forward
mount.rotate_Backward();        % Rotate backward
mount.change_step(0.5);         % Set step size to 0.5 degrees

βš™οΈ Serial Settings

  • Baud Rate: 9600
  • Data Bits: 8
  • Stop Bits: 1
  • Parity: None
  • Terminator: CR/LF

πŸ“¬ Contact

Developed by Rami Lameche
πŸ“§ [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages