close-circle
Close
0%
0%

Arduino Bowel Gauge

Measure Calories Leaving The Body

Similar projects worth following
close
Measure Calories Leaving The Body

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

[Notation] 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.

HackADay "Skull and Wrenches" logo used with(out) permission by HackADay.com

HackADay - We Asked For It Arduino Bowel Gauge

Element14 - 10 Awesome Arduino Projects

  • 1 × Arduino Uno
  • 1 × LCD Display
  • 1 × 100K R
  • 1 × 1K R
  • 1 × 0.1 uf C

View all 7 components

  • Arduino Sketchers

    Vije Miller04/16/2016 at 19:10 0 comments

    // Bowel Gauge _ @TVMiller
     #include <LiquidCrystal.h>
     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);
    }

  • 69/074

    Vije Miller03/10/2014 at 23:24 0 comments

    LCD was fried (don't ask) which was ordered and arrived. Currently testing a low pass filter versus coded smoothing to level the inevitable erratic sensor.

View all 2 project logs

  • 1
    Step 1

View all instructions

Enjoy this project?

Share

Discussions

Jarrett wrote 04/16/2016 at 20:53 point

Gonna install one in my hackspace and hook it up to a leaderboard

  Are you sure? yes | no

Vije Miller wrote 04/16/2016 at 21:12 point

Some one takes a new lead, begin.println("BOOM"); and colorful LED celebration, Twitter update...love it.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates