WasatchPhotonics / SiG-BLE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

This is a simple script which makes a USB-connected Wasatch Photonics spectrometer accessible via BLE (Bluetooth Low Energy).

Dependencies

  • Wasatch.PY for spectrometer interface
  • pybleno for BLE interface ("only tested on Linux Raspbian" :-)

Invocation

Run the BLE service:

$ sudo PYTHONPATH=/path/to/Wasatch.PY python -u main.py

(Sudo required because pybleno uses raw sockets).

About


Languages

Language:Python 100.0%