Skip to content

sdsu-its/tap-tracker-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tap Tracker - Arduino

Tap Tracker is a IoT Business Event Management System that allows events (from clients, like the one described in this Repo) to log events to the centralized server. The server then aggregates the data, which can be presented in a variety of forms.

Components

The Tap Tracker is based on the Adafruit HUZZAH ESP8266. Other components include:

A Serial Programmer is needed to program the HUZZAH, several tested options are listed below.

Software

The Arduino Client can be run in 2 different modes.

  • Multi-Button Mode - This mode allows 2 buttons to be connected to the HUZZAH, each reporting different events.
  • Single Button Mode (SBM) - This mode uses a single button to cycle through the event options, till the desired type is selected.

2 Examples, that you can use with your Tap Tracker instance, are provided.

  • TapTracker.ino uses 2 buttons with RG 2-lead LEDs.
  • TapTrackkerSBM.ino uses a single button to toggle through the different types.

Configuration

WiFi

  • ssid - Network SSID
  • pass - WPA or WPA2 PSK

Tap Tracker Server

  • STATION_ID - Unique Station Identifier (int); used to identify the device with the server
    • Make sure the Device ID is registered with the Tap Tracker Server
    • The form is located on the Web UI under Devices > Create Device
  • SERVER - Server Domain Name, should not contain a '/'
  • CONTEXT - Server Context, everything after the '/'

NTP

  • ntpServerName - NTP Server to use for Time/Date Information
    • Info on the NTP Pool is available on their website.
  • timeZone - The Java String of the Timezone the device will be in.

Hardware

  • BTN1 - Pin to which Button 1 is connected

  • BTN2 - Pin to which Button 2 is connected, Can be ignored in SMB

  • B1R - Pin to which the Red LED for Button 1 is connected

  • B1G - Pin to which the Green LED for Button 1 is connected

  • B2R - Pin to which the Red LED for Button 2 is connected, Can be ignored in SMB

  • B2G - Pin to which the Green LED for Button 2 is connected, Can be ignored in SMB

Packages

No packages published

Languages

  • Other 100.0%