P16414: Toilet Use Sensor
/public/

Integrated System Build & Test with Customer Demo

Table of Contents

Team Vision for System Level Demo with Customer

Calculate the power consumption of each individual sensor
Determine the battey configuration necessary to run the system for 45 days
Test temperature and soil moisture sensors to ensure they are fully functional
Have battery system fully functional and able to last 45 days based on hand calculations
Finish assembling and testing the entire system
Finish testing preferred pH sensor and determine a technique for the most accurate readings
Determine the rate of false positives for each use case and have them accepted by Sarah and Ed
Work on waterproofing of the box
Determine the required size of the box
Create user manual for field technician
Create build manual for Sarah
Finalize budget if anything has changed since week 8
Finish Excel Macro to display data easily
Fabricate/Solder board if necessary

Test Results Summary

The complete excel file with all the test plans can be found at the following link: Test Plans

Motion Sensor Testing
Old Broken Sparkfun Motion Sensor Data

Old Broken Sparkfun Motion Sensor Data

New Sparkfun Motion Sensor Data

New Sparkfun Motion Sensor Data

Adafruit Motion Sensor Data

Adafruit Motion Sensor Data

Radioshack Motion Sensor Data

Radioshack Motion Sensor Data

The complete Excel file containing all the data from the motion sensor tests can be found at the following link: Motion Sensor Data

The RadioShack sensor was also tested between 90 and 110 degrees Fahrenheit and all reading were "yes". This data is not plotted to allow for a cleaner display.

"yes" means the motion sensor sensed the falling golf ball. "no" means the motion sensor did not sense the falling golf ball. The ambient temperature is with relation to the brown cloth.

For the motion sensor tests, golf balls were heated or cooled to the given temperatures and dropped into the mock pit using tongs. The exact temperature of the golf balls was measured using the temperature gun that Ed supplied us with. The sensor system was inside of the box, which was inside of the mock pit. The brown cloth was around the mock pit to simulate being in the ground.

As you can see from the four motion sensor graphs, the RadioShack motion sensor requires the smallest delta T to detect a golf ball. The Adafruit motion sensor requires the next smallest delta T, and the Sparkfun motion sensor requires the largest delta T.

After testing the old and new identical Sparkfun motion sensors, the team has concluded that the old motion sensor is broken.

Battery Life Testing
Voltage drop over time for the two tests performed

Voltage drop over time for the two tests performed

The complete Excel file containing all the data from the battery life test can be found at the following link: Battery Life Data

The above graph shows the change in voltage coming from one pack of 3 AA batteries that was running the ATMega328p chip, SD Card, Temperature Sensor and Soil Moisture sensor. This is a good representation of how long the full system will last because the ATMega328p chip draws significantly more power than any of the individual sensors.

Overall, the data from both tests shows that the system will last for 13 days before the voltage drops below 3.3V. Both battery packs lost voltage at the same rate. The 3.3V threshold line is important because none of the sensors are rated for less than 3.3V.

Temperature Sensor Testing
Data from testing temperature sensor with Arduino Uno Board

Data from testing temperature sensor with Arduino Uno Board

Data from testing the temperature sensor as part of the battery life test

Data from testing the temperature sensor as part of the battery life test

The complete Excel file containing all the data from the battery life temperature sensor combined test can be found at the following link: Temperature Sensor Data

The first chart indicates testing done of the temperature sensor on its own while connected to the Arduino Uno board. The graph displays data retrieved from connecting the temperature sensor to the battery life test set up. Each peak indicates replacing the hot water that the sensor was placed in. Whenever possible, the temperature was read using the temperature gun supplied by our guide Ed Hanzlik. The measured temperatures correlate well with the recorded temperature from the sensor.

pH Meter Testing
Rapitest Meter Data at pH = 4

Rapitest Meter Data at pH = 4

Rapitest Meter Data at pH = 7

Rapitest Meter Data at pH = 7

Rapitest Meter Data at pH = 10

Rapitest Meter Data at pH = 10

2-Way Meter Data at pH = 4,7,10

2-Way Meter Data at pH = 4,7,10

The complete Excel file containing all the data from the pH meter tests can be found at the following link: pH Meter 11/04/16 Test Data

The Rapitest meter has a greater range than the 2-Way meter though, mainly in the case of pH = 7, has shown to read low after a period of time. For the first test this did not begin until two minutes had passed while for the next two it started after one minute.

The 2-Way meter, on the other hand, did not have as large a range as the Rapitest, especially in the lower pH ranges, which is more where we expect the pit pH fall. Additionally, because of the analog measurement system and small scale of the 2-Way, there is a much higher likelihood for human error and less precise readings. Another note from the test is that for the pH = 10 test, the needle was consistently above 10 on the scale despite the fact that the maximum reading on that meter is 10.

Engineering Requirements

CR ER# Importance Description Metric Direction/Range Target Marginal Comments Test Plans Concluded Condition
1.1, 2.5 S1 9 Percent of new users who detect system % Decrease 0 <5 None S1 Test Plan Not Complete
1.2 S2 9 Percent of grid electricity required (any point in system) % Decrease 0 <5 No grid electricity available S2 and S3 Test Plan Fulfilled
2.1, 3.1 S3 3 Time system can be used without interruption days Increase >90 >45 None S2 and S3 Test Plan Not Complete
2.1 S4 3 Number of data points can be collected by counter number Increase 9999 999 None S4 Test Plan Fulfilled
2.2 S5 9 Detects temperature with reasonable accuracy C Range +/- 1 +/- 3 None S5 and S6 Test Plan Not Complete
2.2 S6 3 Maximum temperature that can be monitored C Increase >80 >70 None S5 and S6 Test Plan Not Complete
2.3 S7 9 Accuracy of pH reading pH Increase +/-0.1 +/-0.5 None S7 and S8 Test Plan In Progress
2.4 S8 9 Range of pH reading pH Range 2-10 4-8 None S7 and S8 Test Plan Fufilled
2.4 S9 9 Accuracy of moisture reading % Range +/-0.01 +/-0.1 None S9 and S10 Test Plan Not Complete
2.4 S10 9 Range of moisture reading is 0-100% (relative) binary _ yes yes None S9 and S10 Test Plan Not Complete
2.5 S11 0 Accuracy of oxygen reading % Range +/-0.01 +/-0.1 Unfeasible n/a Unfulfilled
2.5 S12 0 Range of oxygen reading binary _ yes yes Unfeasible n/a Unfulfilled
2.2, 2.3, 2.4, 2.5 S13 3 Frequency of pit readings number/day Increase 24 6 None S13 Test Plan Fulfilled
3.2 S14 3 Number of times the system can be reused number Increase >100 >15 None S14 Test Plan Not Complete
3.3, 3.7 S15 1 Time it takes to set-up the system minutes Decrease <30 <60 None S15 Test Plan Not Complete
3.4 S16 1 Time it takes to tear down the system minutes Decrease <10 <20 None S16 Test Plan Not Complete
3.5 S17 3 Time it takes to record data minutes Decrease <10 <30 None S17 Test Plan Fufilled
3.5 S18 9 Cost of equipment to record data USD Decrease <20 <50 Not including laptop or phone n/a Not Complete
4.1, 4.3 S19 3 Cost of power system over 1 year USD Decrease <15 <100 Based off price of a pack of AA batteries n/a Not Complete
4.2 S20 9 Cost of total system USD Decrease <400 <1000 None n/a Not Complete
4.3 S21 3 Cost of consumable parts USD Decrease <15 <30 None n/a Not Complete
5.1 S22 9 Percent of parts exposed that are not weather resistant % Decrease 0 <10 Internal components do not need to be weather resistant S22 Test Plan Not Complete
5.2, 5.3 S23 3 Shortest lived part years Increase >3 >1 Fatigue calculation if mechanical part is used. Can be batteries S3 Test Plan Not Complete
5.3 S24 9 Percent of parts that are corrosion resistant exposed to pit % Increase 100 >90 None S4 Test Plan Not Complete
2.1 S25 9 Percentage of uses the system registers and counts % Increase 100 >90 None S25 and S26 Test Plan Not Complete
2.1 S26 9 Percentage of false positives the system counts % Decrease 0 <10 None S25 and S26 Test Plan Not Complete

Risk and Problem Tracking

Problem Tracking Update 3

Problem Tracking Update 3

Budget

Updated Budget

Updated Budget

Plans for Next Phase

Individual Plans

Eren's Three Week Plan - Eren's Goals

Kendall's Three Week Plan - Kendall's Goals

Kiera's Three Week Plan - Kiera's Goals

Saul's Three Week Plan - Saul's Goals

Quinn's Three Week Plan - Quinn's Goals

Team Plans

Home | Planning & Execution | Imagine RIT

Problem Definition | Systems Design | Subsystem Design | Preliminary Detailed Design | Detailed Design

Build & Test Prep | Subsystem Build & Test | Integrated System Build & Test | Integrated System Build & Test with Customer Demo | Customer Handoff & Final Project Documentation