Auto flush

Demonstrates auto flushing using an ultrasonic sensor.
1.4K Downloads
Updated 6 Jul 2015

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

I went into one of the toilets in a mall. Saw the auto flushing and couldn't stop thinking about it. So here it is.
This model illustrates auto flushing in the men’s toilet (or women's). When it detects human presence, it will flush once before peeing begins. When the process is completed, it will flush again. Flushing is represented by a rotating DC motor.

Cite As

Techsource Technical Team (2024). Auto flush (https://www.mathworks.com/matlabcentral/fileexchange/51956-auto-flush), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Stateflow in Help Center and MATLAB Answers
Communities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Change title