It works on the Raspberry Pi 3 Model B, which includes a Bluetooth Low Energy receiver. It requires the TI SensorTag CC2650STK.
# clone the repository
git clone https://github.com/LARC-CMU-SMU/sensortag
# go to cloned repository
cd sensortag
# create a virtual envirentment
python3 -m venv venv
# activate the virtual envirenment
source venv/bin/activate
# install bluepy
pip install bluepy
update the config.py with sensor tag addresses
The MAC address of the SensorTag can obtained by typing the following into the terminal.
sudo hcitool lescan
Turn on the SensorTag. You should see:
24:71:89:E6:AD:84 CC2650 SensorTag
python record2.py