Skip to content

mbennett/iot_status_indicator_keypad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iot_status_indicator_keypad

Keypad to change the status of the iot_status_indicator

IOT Status Indicator Keypad

Complimentary keypad IoT device to the IoT Status Indicator written by Scott Linenberger.

What You'll Need

You'll need the Arduino Code Editor or "IDE" (Integraged Development Environment). You'll also need an Adafruit IO account and an Adafruit IO compatible WiFi board (I like the Adafruit Feather Huzzah or Huzzah Breakout with ESP8266). Lastly, you'll need a Membrane 3x4 Matrix Keypad (The basic usage example uses an Adafruit Membrane 3x4 Matrix Keypad).

This guide assumes you are using an Adafruit Feather Huzzah and a Adafruit Membrane 3x4 Matrix Keypad. Again, you don't have to use these components, but these components have been thorougly tested with the IOT Status Indicator Keypad library.

Adafruit IO

You'll need an Adafruit IO account. Please see Scott's repository for details.

State Values

The IOT Status Indicator uses numeric values to represent each state. Here are a list of the states you can use with an AdafruitIO feed for the IOT Status Indicator.

Numeric Value LEDs Keypad
1 Solid Green 1
2 Solid Yellow 2
3 Solid Blue 3
4 Solid Purple 4
5 Solid Red 5
6 Pulsing Green 6
7 Pulsing Red 7
96 Animation Fire 8
97 Animation Police 9
98 Animation Cycle Colors *
99 Animation Party 0

Components

Here is a complete list of the components used for the sample IOT Status Indicator example.

WIRING THE IOT STATUS INDICATOR KEYPAD

TODO

Additional Libraries

TODO

Using the IOT Status Indicator Keypad Library

TODO

Important: make sure you have downloaded the additional libraries mentioned above! Without them, the IOT Status Indicator library will not compile.

Once you've added the library, you can open the usage example by using
File -> Examples -> iot_status_indicator_keypad-<version> -> basicUsage

In the example, set the values for the following variables

#define IO_USERNAME ""
#define IO_KEY ""
#define WIFI_SSID ""
#define WIFI_PASS ""

IO_USERNAME and IO_KEY need to come from your AdafruitIO account and WIFI_SSID and WIFI_PASS are your WiFi credentials. To find your Adafruit IO click on the yellow text that says "View AIO Key" on the Adafruit IO main page after you've logged in.

Viewing your IO Key

About

Keypad to change the status of the iot_status_indicator

Resources

Stars

Watchers

Forks

Packages