Skip to content

TobseF/Arduino-Countdown-Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

💣 ExitGame Bomb - ⏲ Countdown Timer

Arduino ESP8266WiFi aREST SoftwareSerial

This countdown timer is part of an ExitGame where payers have to deactivate a bomb by coding challenges.
The timer runs a second based countdown in the format "00:00".
The countdown can be controlled by a REST interface.

7-Segment-Image

💡 Hardware

The code runs on an Arduino compatible Adafruit Feather HUZZAH with ESP8266.
It controls a SparkFun 7-Segment Serial Display. So wee don't need to manual control each segment. Instead serial data can be sent.

🔌 Endpoints

Name Method Param Description
start GET time [ms] Starts the countdown timer with the given time.
stop GET time [ms] Stops the countdown timer and displays the finish time.
resume GET - Restarts the countdown.
disable GET - Deactivates the timer, so all lights are off.

🔧 Setup

  1. Install Arduino IDE
  2. Setup the Arduino IDE for the Adafruit Feather HUZZAH
  3. Install the aREST lib:
    Tools > Manage Libraries.. Search & install aREST (v2.7.5 by Marco Schwartz)
  4. Open the timer.ino in the Arduino IDE.
  5. Change the variables ssid and password to match your W-LAN credentials.
  6. Verify, Compile & Upload the sketch to the board.
  7. Connect the the Feather board with the 7-Segment Serial Display. Add a 5V power supply:
    The timer shows "Connecting" and "Ready" after connecting to a WLAN.
Feather - PIN Connect 7 Segment - PIN
VCC USB
GND GND
RX 16
  1. Test the timer by sending a GET to it's IP with start?time=120000.

About

⏲ Countdown timer for Arduino and the SparkFun 7-Segment Serial Display controlled by REST

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy