דברים שרואים מכאן לא רואים בכלל
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
The Dod 5e5883872d Site-specific config files il y a 1 mois
HuzzahAPDistance Site-specific config files il y a 1 mois
static Site-specific config files il y a 1 mois
templates Site-specific config files il y a 1 mois
.gitignore Site-specific config files il y a 1 mois
README.md Site-specific config files il y a 1 mois
app.py Initial commit il y a 1 mois
requirements.txt Initial commit il y a 1 mois
run.sh Site-specific config files il y a 1 mois

README.md

Eye of Beholder

A work about false narratives, dead journalists, and not-so-innocent bystanders.

to be continued

Install distance sensor server (on Adafruit Feather HUZZAH ESP8266 board)

$ cd HuzzahAPDistance
$ cp config.h.example config.h # and edit it with SSID and Password for the AP (pick something hard to guess)

Upload to the Huzzah board, and connect it to HC-SR04 distance sensor:

  • gnd to gnd
  • 3v3 to vcc
  • 12 to trig
  • 13 to echo

[to do: fritzing diagram]

Test distance sensor server

Connect PC to the WiFi network you’ve defined at config.h

Browse to http://192.168.115.23. You should see a report of list of current client MAC addresses (typically, only yours), and a link to a JSON end point that returns distance.

Install web server (on linux PC)

$ virtualenv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
$ cd ../static/js
$ cp config.js.example config.js # and edit it according to room size, etc.

Run web server

$ ./run.sh

Browse to http://localhost:5000 to see the work.

Browse to http://localhost:5000/p to see distance as a progress bar (this can help callibrate static/js/config.js)