This repository contains all hardware descriptions and software to build and control the SLAC Acute Shortage Ventilator (ASV) developed to battle against the Covid crisis on a global scale.
All information on the project can be found at:
Documentation can also be found in the ASV IP folder directory of this repository
The content in this repository is licensed under a BSD 3-clause License. See LICENSE.txt for detail.
- Install Anaconda3 (64-bit) for Windows 10 from here: https://www.anaconda.com/products/individual and open a Anaconda Prompt
conda install -y -c conda-forge git pyinstaller pyserial pyqt pyqtgraph
git clone https://github.com/slaclab/pabv_control
cd pabv_control
- We now use submodules for various libraries, run this to pull them
git submodule update --init --recursive
bootstrap.py
board_compile.py
- Windows 10 64-bit
- Windows 10 32-bit
- Linux 64-bit
- MacOSX 64-bit
- Excutables built on Windows 10 32-bit may run on Windows 10 64-bit. Windows 7 or 8 support would require a native build.
- simply run the packaging scripts
pkg_gui.py
board_list.py
- this will create a standalone executable that can be copied to a USB stick
= example filename: dist\client_py_Windows_64bit_v0.0.2-50-g3790d7b.exe
Example output for an UNO
Port Type Board Name FQBN Core
COM3 Serial Port (USB) Arduino Uno arduino:avr:uno arduino:avr
board_upload.py COM3 ambu_control_flow_cal
Example output:
Uploading sketch ambu_control_flow_cal to port COM3
- In Anaconda Prompt
cd pabv_control/python_client
python client.py