WC occupancy detector Arduino code.
This repo holds the Arduino "sketch" code used on the Arduino chip. The hardware we used is a Huzzah Feather ESP8266 chip, and the code may be highly customizable for this specific chip.
- Follow instructions on Huzzah Feather ESP8266 to get your dev environment running
- Edit
wifi_credentials.h
in this repo with the correct wifi netword name (SSID) and password - Install the code in this project onto an Arduino
- Connect a push button to the 12 & GND (ground) pins of the arduino chip (button "A"), and another button to the 14 & GND pins (button "B"). Press and hold any button to issue a server call and turn the in board led light on.