Giter Site home page Giter Site logo

restroomtogo's Introduction

RestroomToGo

Introduction

There is only one washroom in Lincoln Appliance Service Centre office, and it is located in the middle of the building between the front shop and back shop. Although there is already a light hanging on the wall beside the washroom that is used to indicate the availability of the washroom, the light is not visible to all staff working in their own cubicles. Only some can see it directly. Now, via this project, all staff will be able to check the availability of the washroom from their computers and mobile phones if the devices have connected to the office's local network.

Design

Structure diagram

Notes: The "Reset button" in the above diagram is actually the button that is used to re-configure Wi-Fi connection.

Hardware

  1. Ai-Thinker NodeMCU-8266 v1.2 Development board x1
  2. Micro push button x1

Wiring Diagram

20230921003825

GPIO-2 Built-in LED indicator (Mode: OUTPUT)

GPIO-4 Wi-Fi config button (Mode: PULLUP-INPUT)

GPIO-5 Washroom status sensor (Mode: PULLUP-INPUT)

Application Information

mDNS: restroom

Access Link: http://restroom.local/

Wi-Fi cfg SSID: RestroomCfgAP

Operation

Configure Wi-Fi connection

  1. When the gadget lost network connection, the built-in indicator will flash. Press the Wi-Fi config button will reset the network connection settings and activate the config AP "RestroomCfgAP". Use phone to connect to the AP and then go to the Wi-Fi connection configuration interface to config the Wi-Fi connection.
  2. Or, just press directly the Wi-Fi config button, it will reset the current Wi-Fi settings and activate the "RestroomCfgAP" and give a chance to re-set the Wi-Fi connection.

Check status

Open a browser on your device, and enter the link "http://resetroom.local/", you will see the current status. The webpage that shows you the status will refresh the status in every 2 seconds.

restroomtogo's People

Contributors

rickqinj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.