Workshop intended for use in STEM activity. Does simple proximity tracking of two uriBeacon with a Raspberry Pi and displays status using a simple traffic light system.
There are a couple of videos with background information:
- Short demo (https://youtu.be/1Y7YITl1CVw)
- Background talk (https://youtu.be/IiIx1xnXw0M)
- Raspberry Pi (Any model)
- Bluetooth 4.0 Dongle (e.g. http://www.adafruit.com/products/1327)
- uriBeacons (https://github.com/google/uribeacon)
- 2x PiStops Traffic Lights (http://4tronix.co.uk/store/index.php?rt=product/product&product_id=390)
sudo apt-get install bluetooth bluez-utils libbluetooth-dev
sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb
sudo dpkg -i node_latest_armhf.deb
npm install uri-beacon-scanner
npm install onoff
npm install debug
sudo node tracker.js "uri_for_beacon1" "uri_for_beacon2"
- Add code
- Add workshop manual
- Background print colour white
- Test code works with variables at top
- New image of directory listing
- Write introduction presentation
- Move from uriBeacon to Eddystone Beacon
- Review CLOSE/NEAR/FAR nomenclature => IMMEDIATE/NEAR/FAR
- Test code, typing from scratch - time test, debug tips
- ROLLING_AVERAGE to top level for third activity? Code done.
- Document third activity for changing rolling average. Not sure this will add a great deal.
- Test calcRangeAlt to see if that is a better candidate for the range algorithm. rssi1m tested and added.
- Create image for all workshop machines