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.
For complete details, see the project here.
MATLAB 8.5 (R2015a)
MATLAB Search Path
arduino support package