Skip to content

LARC-CMU-SMU/sensortag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

collect lux values from CC2650STK

It works on the Raspberry Pi 3 Model B, which includes a Bluetooth Low Energy receiver. It requires the TI SensorTag CC2650STK.

Setup

# 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

Configuration

update the config.py with sensor tag addresses

SENSORTAG_ADDRESS

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

Run script

python record2.py

About

collect lux values from sensortag ble

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages