You just received a brand new ActPack 4.1! We'll walk you step-by-step through how to connect your ActPack and read sensor data and/or make the motor move.
Download the Git for Windows client here.
apt-get install git
Install the appropriate version of Python for Windows from here.
sudo apt install python3
Make a virtual enviroment:
Open the start menu, and open "Git Bash." Run the following to create your enviroment:
mkdir ~/.venvs python -m venv ~/.venvs/flexsea_demos_env
mkdir ~/.venvs python3 -m venv ~/.venvs/flexsea_demos_env
Activate the newly created virtual environment:
Clone the repository:
git clone https://github.com/DephyInc/Actuator-Package.git cd Actuator-Package/Python/flexsea_demo
Install the dependencies
pip install .
Hold the button until the ActPack turns on. (User Interface)
- Secure your ActPack to a working surface.
- Connect your ActPack to your power supply with an XT30 connector. Apply a voltage > UVLO.
- Hold the button until the ActPack turns ON.
Connect your ActPack to your computer with a USB-C cable.
Always use a USB Isolator to protect your computer.
Make a copy of the default parameter file to a new file called
params.yaml. This will hold the configuration settings for your ActPack program.
Record the serial port assigned to your ActPack (e.g. COM5 or /dev/ttyACM0) in params.yaml under general > ports.
Run the read_only demo program to read data from your actpack.
flexsea_demos read_only params.yaml
Run Other Demos To see a list of the available demo names:
Visualize data in the console and in the Matplotlib outputs
- Use our scripts as a starting point for your own experiments!