California is suffering from a debilitating drought. When hasn't it, am I right? Convert grass to gravel and ficus to cacti are all proposed options. The absolute solution? Desalinization pla--er, I mean, stop pissing away water!
Standard toilets use up to 6,500 mL (1.6 gal) of water to flush a standard person's 400 mL of urine twice a standard day.
Hack most existing toilets with the Arduino Flush-Less and reduce waste by up to half with out replacing a single toilet.
With just 1,825 AFL units installed, we could save 1,000,000 gallons a year, exclamation point.
Recipe
// Arduino Flush-Less (1.0) _ TV Miller // CapacitiveSensor Library _ Paul Badger // PFOD _ Dr. Matthew Ford
int tankOFF = 120; // Tank Servo Position OFF int tankON = 0; // Tank Servo Position ON int flushOFF = 180; // Flush Servo Position OFF int flushON = 0; // Flush Servo Position ON int bowlvalve = 10; // Bowl Pin 10 int pooLED = 9; // LED Pin 9
void loop() { // Turn OFF All flushservo.write(flushOFF); // Flush CLOSED tankservo.write(tankOFF); // Tank CLOSED digitalWrite(bowlvalve, LOW); // Bowl CLOSED digitalWrite(pooLED, LOW); // LED OFF
// Read Sensors long tank_touch = deucetouch.capacitiveSensor(30); long flush_touch = flushtouch.capacitiveSensor(30);
// Deuce, Flush or Stand By if (tank_touch > 1500 && flush_touch < 500){ numbertwo(); } else if (flush_touch > 1500 && tank_touch < 500){ emptybowl(); } else ( delay(10) );
// Deuce void numbertwo() { digitalWrite(pooLED, HIGH); // LED ON digitalWrite(bowlvalve, HIGH); // Bowl OPEN tankservo.write(tankON); // Tank OPEN delay(13000); /* Adjust Per Model */ return; //Code To Lock Out NumberTwo()? }
// Flush void emptybowl() { digitalWrite(pooLED, HIGH); // LED ON flushservo.write(flushON); // Flush OPEN digitalWrite(bowlvalve, HIGH); // Bowl OPEN tankservo.write(tankON); // Tank OPEN delay(6000); flushservo.write(flushOFF); // Flush CLOSED delay(2000); digitalWrite(bowlvalve, LOW); // Bowl CLOSED delay(15000); /* Adjust Per Model */ return; }