Package: mini-afsd
mini_afsd is a program for controlling a miniturized additive friction stir deposition (AFSD) machine.For Python 3.7+Source Code:https://github.com/RyTheGuy355/MiniAFSDCodeContentsIntroductionInstallationQuick StartContributingLicenseAuthorIntroductionThis repository contains code for controlling a miniturized AFSD machine and
is used by theYu group at Virginia Tech.Communication with the machine is achieved usingFluidNC,
and future modifications to the firmware or code inputs can be helped by looking
through FluidNC’s documentation.InstallationDependenciesDriver DependenciesTheLJMdriver from LabJack must be installed to interface with the
LabJack for measuring the thermocouple outputs, which can be downloaded fromhttps://labjack.com/support/software/installers/ljm.The driver needed for computers to properly connect to the serial
port’s USB interface is available fromhttps://oemdrivers.com/usb-cp2104-usb-to-uart-driver.
(Change this in the future if the connector changes)Python Dependenciesmini_afsd requiresPythonversion 3.7 or later
and the following Python libraries:labjack-ljmmatplotlib(>=3.4)pyserialAll of the required Python libraries should be automatically installed when
installing mini_afsd using any of the installation methods below.Installing PythonPython can be installed multiple ways:If on Windows, the easiest way is to useWinPython. The recommended
installation file (as of June 10, 2022) is WinPython64-3.10.4.0 (or WinPython64-3.10.4.0dot if you don’t
want any preinstalled libraries).UseAnaconda, which comes with many libraries preinstalled.Install from Python’s official source,https://www.python.org/. Follow the instructions listed athttps://packaging.python.org/en/latest/tutorials/installing-packages/#requirements-for-installing-packagesto ensure Python and the Python package managerpipare correctly installed.Stable Releasemini_afsd can be installed frompypiusingpip, by running the following command in the terminal:pip install -U mini_afsdDevelopment VersionThe sources for mini_afsd can be downloaded from theGitHub repo.
To install the current version of mini_afsd from GitHub, run:pip install https://github.com/RyTheGuy355/MiniAFSDCode/zipball/mainOptional DependenciesWhile not needed, an Arduino IDE (available fromhttps://www.arduino.cc/en/software)
can be used when connected to the serial port of the mill to get more detailed feedback
on the messages sent to and from the port.Quick StartFor default usage, mini_afsd can be ran from the a terminal (the command line if
Python was install universally, from an Anaconda terminal if Python was installed with
Anaconda, or from the WinPython Command Prompt if Python was installed using WinPython) using:python -m mini_afsdTo list out the various options when using mini_afsd from the terminal, simply do:python -m mini_afsd -hAlternatively, mini_afsd can be used from a Python file by doing the following:frommini_afsdimportControllerController().run()ContributingContributions are welcomed and greatly appreciated. For information on
submitting bug reports, pull requests, or general feedback, please refer
to thecontributing guide.Licensemini_afsd is all rights reserved. For more information, refer to thelicense.AuthorRyan Gottwald <insert_email_here>