This talk is about how I manage to do localisation using 3 Raspberry Pis(RPis) as beacons. Each RPi is also equipped with a 8x8 RGB LED grid that is controlled via the iPad. This was given at both iOS Dev Scout and iOS Conf SG 2017.
Setup Instructions for Raspberry Pi
Download Raspbian Stretch Lite and burn to SD card.
Connect RPi to LAN, HDMI to screen and boot from SD card
Fully update Pi
sudo apt update sudo apt upgrade sudo reboot
- Configure settings
Change all relevant settings but the most important is to enlarge file system and enable SSH. Change password if you need to.
You might want to add
/boot/config.txt. It has an added side effect of capping the CPU frequency to the minimum.
sudo apt install git python-pip python-dev libpython2.7 clang git clone https://github.com/yeokm1/ble-localiser
Follow instructions to setup for pi-led-changer
Follow instructions to setup for pi-broadcaster
Make programs start on boot:
cd ~/ble-localiser chmod +x starter.sh sudo mv starter.service /etc/systemd/system/ sudo systemctl enable starter.service