Key
Components

Acrylic Box, waterproof, use it to contain Raspberry Pi and other electronic components

Dupont wires, it is used to connect between sensors and Raspberry Pi to transmit data

Timing Switch is used to control the amount of time of operating, preventing Raspberry Pi from overheating

The VL53LOX is a time-of-flight (ToF) sensor. It can provide accurate distance measurement regardless of the target reflectance. It has the capacity to measure absolute distances of up to 2 m, with a resolution of 1mm
Raspberry Pi Pico W acts as a brain of the whole system. It receives the data sent by ToF sensor, process it, and send the data packages to the server for further handling

My
Website
This is my website's HomePage. It looks simple; however, constructing it isn't simple at all

Front-end

HTML defines the structure of a webpage. It organizes content using elements like <div>, <a>, <img>, and <span>, providing the foundational layout and structure of the site.
CSS is used for styling and formatting webpages. It controls the appearance of HTML elements, such as colors, fonts, spacing, and layout, making the website organize correctly.


JavaScript adds interactivity to a website. It enables dynamic content, user input handling, animations, and functions like form validation.
Back-end
PHP is a server-side scripting language used for backend processing. It handles tasks like form submissions, database connection


MySQL is a relational database management system used to store, organize, and manage data.
Python is Python is a versatile programming language, and will be used for database examine, and email sending.

The
Structure

Data recording
The relational database is written in MySQL, it contains 10 tables and is connected by primary keys and secondary keys, table to table.
Data Transmitting
Every day, the system generates a new password. Only the correct password allows modifications to the database and ensures successful data submission.

Key
Update
​Unfortunately, System Version 1.0 has some problems when operating, it failed to solve the restroom crisis perfectly, and even lead to an increase of the cleaner. Therefore, after some months of working, here comes Version 2.0.
Group Managing
Each restroom is categorized by the building and floor it is located in.
​
Cleaners will select the general area they are responsible for, so they receive tasks from the closest restrooms within their selected range.


"Your mission, should you choose to accept it"​
When cleaning or restocking is needed, the system first sends an email to the nearest cleaner.
​
If the task isn’t addressed by the nearby cleaner, the email is forwarded to cleaners farther away, continuing until the task is completed.
Finally

The paper will be replaced within 10 minutes
Patent
The tissue dispenser has been applied for utility model patent.
​
The website along with the code has been successfully registered for software copyright.

(Software Copyright)

(Utility Model Patent, In Process)

