Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.69 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.69 KB

TO BE FILLED

Gymkhana Run Timer

Run timer on ESP8266 with web interface. Based on DonKracho's project.

About

Measures time of a single run: from start to finish. After first interrupt of sensors. After powering up, ESP8266 creates access point SSID with web server with IP WEB_SERVER_IP (default: 192.168.1.1). Just connect to AP, execute favourite browser and enter WEB_SERVER_IP).

web interface of timer in initial state

Hardware

  • MCU ESP8266 (e.g. board Wemos D1 mini);
  • E3F-R2NK (photoelectric sensor with IR transmitter, NPN, NO);
  • Mini360 buck converter (to power from 12V batteries) or boost up converter (to increase voltage to power the sensor - the detection distance is too short at 5V).

Features

  • Indicator of sensor's signal presence (useful thing during sensor and reflector installation);
  • Current number of run and time;
  • List of all runs;
  • Best run;
  • Customizable time threshold via web UI (after interruption, the system ignores further interrupts during threshold_ms milliseconds).

web interface of working timer

Arduino IDE settings

For Chinese WEMOS D1 mini choose board LOLIN(WEMOS) D1 R2 & mini

Dependencies

I used the following setup and libs:

Lib Version Source
1) ESP8266WebServer 1.0 esp8266 board
2) ESP8266WiFi 1.0 esp8266 board
3) WebSockets 2.3.6 lib manager