#Anaerobic Digestion and Pasteurization Latrine (ADPL)
##Projects Websites
- Overview: http://sanitation.pratt.duke.edu/onsite-treatment
- Data Dashboard: http://adpl.colab.duke.edu
##Functional Specifications ###Collection Tank
- When the level in a collection tank is between a minimum and maximum level, the pump should be on for 5 min every hour.
- The pump is off when the level is below minimum.
- The pump is on when the level is above maximum.
###Temperature Regulation
- Record temperatures across 5[-7] thermocouples.
- If the heater temperature (
HTR) is < 68 C, the gas valve opens and the ignitor sparks for 5 s. - The valve remains open until the heather temperature reaches 72 C; the ignitor should spark for 5 seconds, turn off for 15 min, and spark again for 5 s.
- Once the temperature is 72 C, the valve should shut and ignitor remain off.
- Temperatures are published to the web server every 2.5 min.
- Valve status will be polled when the dashboard is refreshed.
###Bucket Tips
- Bucket tips are recorded and counted.
- Count events are published to the web server.
###Repository Layout
software/ADPL_electron/: Particle Electron code and librarieshardware/: control box circuit schematic, PCB layout, component spec sheets and bill of materialsdocs/: API documentation [FUTURE]software/ADPL_uno/: Arduino code and libraries (depracated)
###Licenses
- All software is covered by the Apache v2.0 License. See software/ADPL_*/LICENSE.
- All circuit schematics and PCB layouts are covered by a Creative Commons Attribution 4.0 International License (CC BY 4.0) [http://creativecommons.org/licenses/by/4.0/]