File Exchange

image thumbnail

Auto flush

version 1.0 (702 KB) by

Demonstrates auto flushing using an ultrasonic sensor.

19 Downloads

Updated

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.

Comments and Ratings (3)

Hi Ihab, yes it is possible to run the S-Function on the Arduino UNO.

can i run this s function on arduino uno?

Do i need to specify data in the model explorer for the chart?

Updates

1.0

Change title

MATLAB Release
MATLAB 8.5 (R2015a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video