loading

In our current climate of caloric disseminators, few observe before and after exhumation of waste. To clarify, using a resistance sensor and an Arduino, we have hacked your bowels.

  1. Arduino Uno
  2. Aluminum or Copper Strips
  3. 1K Ohm
  4. 1/4W Resistor
  5. 100K Ohm
  6. 1/4W Resistor
  7. 0.1uf Capacitor
  8. LCD Display [Optional]
  9. 10K Potentiometer
  10. 10 Ohm 1/4W Resistor

[Notations] The resistance sensor observed in the following multimedia is a first version testing sensor. Affixing it to a constantly drenched porcelain surface proved difficult and was temporarily remedied with Gorilla Tape.

A brass valve was added to the bowl fill line extending from the fill valve as to regulate the water level with in the bowl. Typical specs fill water to crest the rear siphon allowing waste to displace water in to the drainage line as to prevent over flow.

[Notations] The following is a non-smoothing sketch as our current coding for a smoothing sketch is currently being modified and tested in addition to a low pass filter PWM alternative.Resistance was measured between 60 and 100 fluid ounces and this variance was divided by the 40 fluid ounces, then multiplied by 1.0425 to obtain weight ounces.

Basic Sketch

#include
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

int sensorstart = 0; // Intial reading

void setup() {

sensorstart = analogRead(A0); // Store initial reading

lcd.begin(16, 2);

}

void loop() {

int sensorlive = analogRead(A0); // Live reading

int dif = (sensorlive - sensorstart); // Subtract start reading

float difsol = dif * 0.191; // Variance to fluid ounces per 40 oz measure

float difoz = difsol * 1.0425; // Convert fluid to solid ounces

if (difoz < 0){ lcd.setCursor(0, 0); lcd.print("0.00"); // Zero fluctuation

} else {

lcd.setCursor(0, 0);

lcd.print(difoz); // Print ounces }

lcd.setCursor(6, 0);

lcd.print("oz");

lcd.setCursor(11, 0);

lcd.print("Bowel");

lcd.setCursor(0, 1);

lcd.print(millis()/1000); // Seconds

lcd.setCursor(6, 1);

lcd.print("sec");

lcd.setCursor(11, 1);

lcd.print("Gauge");

delay(1000); // per second

}


Smoothing Sketch

// Bowel Gauge _ @TVMiller
#include
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

int ssr;

int sensorstart = 0;

void calibrate() {

lcd.setCursor(0, 0);

lcd.print("Calibrating...");

for (int x=0, x<10; x++) {

ssr = analogRead(A0);

sensorstart = sensorstart + ssr; delay(100); }

sensorstart = sensorstart / 10; // Average

lcd.clear();

}

void setup() {

lcd.begin(16, 2);

lcd.clear();

calibrate();

}

void loop() {

int sensorlive = analogRead(A0); // Live reading

int dif = (sensorlive - sensorstart); // Subtract calibrated reading

float difsol = dif * 0.191; // Variance to fl oz per 40 oz

float difoz = difsol * 1.0425; // Convert fluid to solid ounces

if (difoz < 0) {

lcd.setCursor(0, 0);

lcd.print("0.00"); // Remove negative fluctuations

} else {

lcd.setCursor(0, 0);

lcd.print(difoz); // Print OZ

}

lcd.setCursor(6, 0);

lcd.print("OZ");

lcd.setCursor(11, 0);

lcd.print("BOWEL");

lcd.setCursor(0, 1);

lcd.print(millis()/1000); // Print SEC

lcd.setCursor(6, 1);

lcd.print("SEC");

lcd.setCursor(11, 1);

lcd.print("GAUGE");

delay(100);

}

<p>Hilarious! You certainly hit on a fresh idea. (Pew.)</p>
<p>Oh, gauging bowel movements to get a window into one's intestinal health. So important.</p>
<p>Not intestinal health...it's only weighing how much your body loses. See above reply.</p>
http://bathroomreader.com/wp-content/uploads/2012/02/picard_wtf_riker_i_know.jpg
ok my above comment is childish but come on, who is really that concerned by calorie intake that they want to weight their movements??
<p>I am a fan of details and knowing exactly how many ounces I lost when I evacuated my bowels is fascinating and for those beefy people that seem &quot;invested&quot; in that info, it's rewarding. &quot;Hey, I deuced 2 lbs!&quot;</p>

About This Instructable

1,670views

4favorites

License:

Bio: Privateer
More by TVMiller:Arduino Splash Resistant Toilet Foamer Arduino Motion Mute 1992 Isuzu Trooper Windshield Wiper Single Button Hack 
Add instructable to: