Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 2 KB

README.md

File metadata and controls

35 lines (24 loc) · 2 KB

Speckle Raspberry Pi

Python scripts for processing images with the Pi Camera in order to measure the heart-rate (HR) from a person using laser speckle techniques and optical fiber, including Bluetooth Low Energy (BLE) communication. We present here the main files to make the Raspberry Pi Zero W (with PiCamera connected) work with this purpose.

Getting started

bluez_components8.py

This code includes the setup for the BLE communication system, using dbus, and creates all the classes concerning BLE Applications, Services and Characteristics.

HR9.py

This file is intended to create the actual Application and Services that is going to be used.

battery_management.py

This program works with the I2C bus for communicating with a MAX17260 IC for battery management. In the main thread, it reads the battery level each minute. For the I2C communication it is used smbus.

Speckle_Embedded_v8.py

This one is the master program. While it includes the processing mechanisms for extracting the HR value, consisting of one process for real-time signal acquisition and other one for signal processing, it also includes in its main thread the calling for all the other processes using multiprocessing.

Libraries

Authors

  • Alvaro Robledo
  • Ignacio Sánchez

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details