Ultrasonic stethoscope is a device build on top of Arduino Due, PyQtgraph and NVidia CUDA. Device allows to get HQ sound (about 666 samples per second) and record ultrasonic range up to 333 kHz. Device is supposed to use for medical diagnostics of heart and lungs deseases.
This repo contains software for ultrasonic stethoscope and academic paper describing this project.
- Download and install Anaconda
- Install pyFFT and last version of pyserial (install it from conda forge channel)
Activate Anaconda environment and run app: python app.py
(on windows just double-click Stethoscope.bat
)
- Input Signal
- Ultrasonic mic
- Amplifier
- ADC (Arduino Due)
- App: gets data from ADC, plots hi-fps soundwawe in realtime, record data to file
- App: send data to NVidia CUDA Server
- CUDA Server: calculates fft very fast and sends fft.png (plot of signal's spectrum) back to client's app
- download and install miniconda
- Anaconda Prompt == conda root env
install.bat
- он после gui установки miniconda активирует root enviroment, потом создает новую в текущей папке и- активирует, все устанавливает
stethoscope.bat
- активрирует и запускает
git clone https://github.com/tandav/ultrasonic-stethoscope.git
cd ultrasonic-stethoscope
python3 -m venv .steth
source .steth/bin/activate
pip install -r requirements.txt
python3 app.py # run