Skip to content
/ c15 Public

Configuration desktop app for C15 Defribillator

Notifications You must be signed in to change notification settings

julian-0/c15

Repository files navigation

C15 Config app

Multi-platform application to configure, calibrate and program C15 Defribillator of E&M electromedicina.

Works on Windows 10^ and Ubuntu 20.04^

Made with React, ElectronJs and Python

Demos

Discharge

descarga

CPU

cpu

ECG

ecg

Audio

audio

Installing for windows

  1. Install stlink driver
  • Download (Need ST account)
  • Unzip it
  • Execute as admin stlink_winusb_install.bat
  1. Download C15 exe installer
  • Execute it

Development enviroment for windows

  1. Install python 3.9.0
  1. Download requirements.txt
  2. pip install -r requirements.txt
  3. Add microcontrollers drivers.
  • py -3.9 -m pyocd pack -u -i stm32l4p5zgtxp
  • py -3.9 -m pyocd pack -u -i stm32f405rgtx
  1. Activate python virtual enviroment
  • venv\Scripts\activate
  1. Install stlink driver
  • Download (Need ST account)
  • Unzip it
  • Execute as admin stlink_winusb_install.bat
  1. Unzip c15/scripts/pythonUtils/managed_packs.rar
  2. Build python executable
  • cd scripts && pyinstaller controller.spec && cd ..

Important

Be sure to use python 3.9.0

  1. Start electron app
  • npm start

Build installer for windows

One line builder

  • npm run build-all-windows
  • The installer .exe will be located in dist directory

Two steps builder

  1. If you made changes on python script you need to rebuild the executable
  • cd scripts && pyinstaller controller.spec && cd ..
  1. Then pack the entire app
  • npm run build-windows