Skip to content

STEM Workshop. Simple proximity tracking of two uriBeacon displayed on traffic lights. Running node.js on a Raspberry Pi

License

Notifications You must be signed in to change notification settings

ukBaz/beaconWorkshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beaconWorkshop

Overview

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:

Hardware

Setup new Raspberry Pi

Install Bluez

sudo apt-get install bluetooth bluez-utils libbluetooth-dev

Install node.js

sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb
sudo dpkg -i node_latest_armhf.deb

Install node.js packages

npm install uri-beacon-scanner
npm install onoff
npm install debug

Running the code

sudo node tracker.js "uri_for_beacon1" "uri_for_beacon2"

Task list Done

  • Add code
  • Add workshop manual
  • Background print colour white

@ukBaz

  • Test code works with variables at top
  • New image of directory listing
  • Write introduction presentation
  • Move from uriBeacon to Eddystone Beacon

@soniacaldwell

  • 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.

unassigned

  • Create image for all workshop machines

About

STEM Workshop. Simple proximity tracking of two uriBeacon displayed on traffic lights. Running node.js on a Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published