PowerGlass Timer
The PowerGlass timer is a five-minute waterproof timer that you can use to keep track of time in the shower, while swimming, or anywhere else you need to keep track of time while your wet.
Supplies
- Waterproof box
- FeatherWing huzzah
- 2 8*8 led matrixes
- Battery and usb cable that can be powered by battery
Upload Files to Computer
https://learn.adafruit.com/adafruit-8x16-led-matri...
Follow the instructions in this link up to the end of usage.
Input Code to Featherwing Via Arduino System
Using the Arduino coding system, upload the following code to your Featherwing.
#include #include #include "Adafruit_LEDBackpack.h"Adafruit_8x16minimatrix matrix = Adafruit_8x16minimatrix();void setup() { // put your setup code here, to run once: //while (!Serial); Serial.begin(9600); Serial.println("16x8 LED Mini Matrix Test"); matrix.begin(0x70); // pass in the address}void loop() { // put your main code here, to run repeatedly:matrix.clear();matrix.drawRect(0,0, 8,16, LED_ON);matrix.writeDisplay(); // write the changes we just made to the displaydelay(6250);matrix.drawPixel(2,2, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,2, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,2, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,2, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,3, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,3, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,3, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,3, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,4, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,4, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,4, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,4, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,5, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,5, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,5, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,5, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,6, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,6, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,6, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,6, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,7, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,7, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,7, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,7, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,8, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,8, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,8, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,8, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,9, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,9, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,9, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,9, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,10, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,10, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,10, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,10, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,11, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,11, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,11, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,11, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,12, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,12, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,12, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,12, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(2,13, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(3,13, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(4,13, LED_ON);matrix.writeDisplay();delay(6250);matrix.drawPixel(5,13, LED_ON);matrix.writeDisplay();delay(6250);}
Battery Attachment
Using a battery and a usb cable, power your featherwing huzzah and insert it into your waterproof box. Every time you plug in the timer, the timer will start!