O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

2016-10-11 IoT Presentation V4

70 visualizações

Publicada em

  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

2016-10-11 IoT Presentation V4

  1. 1. Pressure Study Gooseberry Island Causeway An IoT Research Project (sort of)
  2. 2. Agenda • Problem Statement – Video of the area • Thesis • Objective • Approach – Hardware – Software – Bug Fixes & Enhancements – Physical Issues • Tests • Issues and Fixes • Experiment Results • Conclusion • Observations and Opportunities
  3. 3. Problems Sandbars Algae Blooms Beach Stones
  4. 4. Video https://vimeo.com/186511839
  5. 5. What’s New? Gooseberry Island Causeway Tower
  6. 6. Currents and wave action that once flowed over the tombolo … … began circulating in an eddy. BEFORE AFTER Thesis: The Change
  7. 7. Thesis: The Result Sand is transported toward the harbor by new Westerly current Sand is deposited in the harbor Nitrogen comes out of the river with every tide but circulates back in
  8. 8. Thesis: The Fix Equilibrium is restored and sand begins accumulating again The harbor is no longer threatened by sandbars Nitrogen flushes more thoroughly with each tide cycle Remove the causeway
  9. 9. Eddy currents are the result of a textbook “groyne” GROYNE GROYNE Source: Yossef 2005
  10. 10. Opposition In 1997, the Department of Environmental Management commissioned a study that concluded the causeway has no appreciable environmental impact.
  11. 11. Objective Cast doubt on the 1997 study and compel the Department of Environmental Management to re-examine impact of the causeway.
  12. 12. Objective Would water flow if there was no causeway? - in other words - Is the water level higher on one side than the other creating the potential for flow? Height West Height East
  13. 13. Approach Using survey tools, physically measure the height of the two sides and calculate the difference. Impractical to collect measurements over days and difficult at night.
  14. 14. Approach A sensor could measure up from the bottom … but how? Water pressure
  15. 15. Approach But the bottom is not the same on both sides, one side is going to be lower than the other. How would we know the offset? Combine approaches?
  16. 16. Approach Collect data from sensors over time.
  17. 17. Approach Normalize by the drop initial depth
  18. 18. Approach Use a single reading at a recorded date/time to align signals
  19. 19. Device Requirements • Read Pressure up to 25 feet under water • Accurate to less than 1 inch • Submersible • Runs on battery for several days • Inexpensive • Small
  20. 20. COTS Hardware Components BMP180 Pressure range: 300 ... 1100hPa (-34 feet below sea level, salt water) Low power: 5µA at 1 sample / sec. in standard mode Low noise: 0.02hPa (0.17m) advanced resolution mode DS3231 Real Time Clock Accurate to within 1 second per year Button battery maintains time between uses Low power 32u4 Adalogger ATmega32u4 @ 8MHz 2K RAM MicroSD card holder Built in 100mA lipoly charger
  21. 21. Wiring AdaFruit “Feather” “Wing” bus Power I2C Data Prototype
  22. 22. Software • Include Libraries – #include <SD.h> – #include "RTClib.h" – #include <Adafruit_Sensor.h> – #include <Adafruit_BMP085_U.h> • Set-up – Initialize pressure sensor – Initialize SD card – Confirm clock working – Create log file • Loop – Read Sensor – Read time – Write entry – Sleep 60 seconds (minus a few instruction cycles) Code: https://github.com/dsprogis/Pressure-Sensor-1.0-build-4
  23. 23. Triple Bagged, Weighted Bucket
  24. 24. Test 1: Does it work? {"date": "2016-07-15T22:19:29", "pressure_hPa": "1013.78", "temperature_C": "28.00", "altitude_meters": "-4.41"} {"date": "2016-07-15T22:20:29", "pressure_hPa": "1013.75", "temperature_C": "28.00", "altitude_meters": "-4.16"} {"date": "2016-07-15T22:21:29", "pressure_hPa": "1014.84", "temperature_C": "27.90", "altitude_meters": "-13.23"} {"date": "2016-07-15T22:22:29", "pressure_hPa": "1151.47", "temperature_C": "27.90", "altitude_meters": "-1092.00"} {"date": "2016-07-15T22:23:30", "pressure_hPa": "1151.21", "temperature_C": "27.80", "altitude_meters": "-1090.05"} {"date": "2016-07-15T22:24:30", "pressure_hPa": "1150.85", "temperature_C": "27.70", "altitude_meters": "-1087.34"} ...  Yes
  25. 25. For how long? 0.00 1.00 2.00 3.00 4.00 5.00 6.00 7.00 8.00 9.00 10.00 0 20 40 60 80 100 120 140 7/16/16 0:00 7/17/16 0:00 7/18/16 0:00 7/19/16 0:00 7/20/16 0:00 7/21/16 0:00 7/22/16 0:00 7/23/16 0:00 7/24/16 0:00 Temp (F) Depth (ft)  About a week
  26. 26. Device Calibration? 1150 1170 1190 1210 1230 1250 1270 1290 1 216 431 646 861 1076 1291 1506 1721 1936 2151 2366 2581 2796 3011 3226 3441 3656 3871 4086 4301 4516 4731 4946 5161 5376 5591 5806 6021 6236 6451 6666 6881 7096 7311 7526 7741 7956 8171 8386 8601 8816 9031 9246 9461 9676 hPa 1 hPa 2 hPa 3 Readings deviate by 0.002-0.004 inches (salt water) Readings deviate by ~0.5C  Aligned
  27. 27. Requirements (review) Read Pressure up to 25 feet under water Accurate to less than 1 inch Submersible Runs on battery for several days Inexpensive Small Units are calibrated
  28. 28. Issues One device went bad – not sure why. Spider Crab found in one container – outer bag was punctured Units are not reporting on exactly same interval – adjusted in Excel but very time consuming! time 
  29. 29. Software/Hardware Enhancement • Fix time drift – Hardware: • Jump 1Hz Square Wave Signal to readable pin (yellow cable, SQW to A2) – Software: • Decrement counter on rising signal (A2) • Log data when counter = 0 – Reset counter to 60 (or whatever I want) A2 = I Hz A2
  30. 30. Additional Software Enhancements • Switch from JSON to CSV – more convenient for Excel • Added Device ID to filename – easier to keep track • Added Date to file in OS – easier for managing archive
  31. 31. Deployed Devices at Causeway
  32. 32. Gooseberry Test Results 0.00 1.00 2.00 3.00 4.00 5.00 6.00 2016-07-30T10:48:00 2016-07-30T14:21:00 2016-07-30T17:54:00 2016-07-30T21:27:00 2016-07-31T01:00:00 2016-07-31T04:33:00 2016-07-31T08:06:00 2016-07-31T11:39:00 2016-07-31T15:12:00 2016-07-31T18:45:00 2016-07-31T22:18:00 2016-08-01T01:51:00 2016-08-01T05:24:00 2016-08-01T08:57:00 2016-08-01T12:30:00 2016-08-01T16:03:00 2016-08-01T19:36:00 2016-08-01T23:09:00 2016-08-02T02:42:00 2016-08-02T06:15:00 2016-08-02T09:48:00 2016-08-02T13:21:00 2016-08-02T16:54:00 2016-08-02T20:27:00 2016-08-03T00:00:00 2016-08-03T03:33:00 2016-08-03T07:06:00 2016-08-03T10:39:00 2016-08-03T14:12:00 2016-08-03T17:45:00 2016-08-03T21:18:00 2016-08-04T00:51:00 2016-08-04T04:24:00 2016-08-04T07:57:00 2016-08-04T11:30:00 2016-08-04T15:03:00 2016-08-04T18:36:00 2016-08-04T22:09:00 2016-08-05T01:42:00 2016-08-05T05:15:00 2016-08-05T08:48:00 2016-08-05T12:21:00 Relative Tide Heights Unit 01 (West) Unit 03 (East) Unit 04 (East) What’s the differential?
  33. 33. Differential Readings -0.40 -0.20 0.00 0.20 0.40 0.60 0.80 1.00 1.20 2016-07-30T10:48:00 2016-07-30T13:40:00 2016-07-30T16:32:00 2016-07-30T19:24:00 2016-07-30T22:16:00 2016-07-31T01:08:00 2016-07-31T04:00:00 2016-07-31T06:52:00 2016-07-31T09:44:00 2016-07-31T12:36:00 2016-07-31T15:28:00 2016-07-31T18:20:00 2016-07-31T21:12:00 2016-08-01T00:04:00 2016-08-01T02:56:00 2016-08-01T05:48:00 2016-08-01T08:40:00 2016-08-01T11:32:00 2016-08-01T14:24:00 2016-08-01T17:16:00 2016-08-01T20:08:00 2016-08-01T23:00:00 2016-08-02T01:52:00 2016-08-02T04:44:00 2016-08-02T07:36:00 2016-08-02T10:28:00 2016-08-02T13:20:00 2016-08-02T16:12:00 2016-08-02T19:04:00 2016-08-02T21:56:00 2016-08-03T00:48:00 2016-08-03T03:40:00 2016-08-03T06:32:00 2016-08-03T09:24:00 2016-08-03T12:16:00 2016-08-03T15:08:00 2016-08-03T18:00:00 2016-08-03T20:52:00 2016-08-03T23:44:00 2016-08-04T02:36:00 2016-08-04T05:28:00 2016-08-04T08:20:00 2016-08-04T11:12:00 2016-08-04T14:04:00 2016-08-04T16:56:00 2016-08-04T19:48:00 2016-08-04T22:40:00 2016-08-05T01:32:00 2016-08-05T04:24:00 2016-08-05T07:16:00 2016-08-05T10:08:00 2016-08-05T13:00:00 Differential from Unit 1 to Unit 2 Differential from Unit 1 to Unit 3
  34. 34. Conclusion • West side averages 6” higher than East side • Peaks about 12” per tide cycle • Is level or slightly below per tide cycle • Causeway holding back 6” inches of water across a 900 feet. • Holding back or redirecting this much potential energy is certain to have an appreciable environmental impact. QED
  35. 35. Objective The 1997 study is wrong. The causeway DOES HAVE an appreciable environmental impact.
  36. 36. Additional Observations and Opportunities
  37. 37. Tide/Temp Offset Water temp reached it’s low 90 min after tide reached low and began coming in. Why? How can we use this information?
  38. 38. Cool Water Warm Water
  39. 39. What’s going on with this double hump? First it gets warmer, then cooler, then warmer again?
  40. 40. 68.00 70.00 72.00 74.00 76.00 78.00 80.00 2016-07-30T10:48:00 2016-07-30T14:44:00 2016-07-30T18:40:00 2016-07-30T22:36:00 2016-07-31T02:32:00 2016-07-31T06:28:00 2016-07-31T10:24:00 2016-07-31T14:20:00 2016-07-31T18:16:00 2016-07-31T22:12:00 2016-08-01T02:08:00 2016-08-01T06:04:00 2016-08-01T10:00:00 2016-08-01T13:56:00 2016-08-01T17:52:00 2016-08-01T21:48:00 2016-08-02T01:44:00 2016-08-02T05:40:00 2016-08-02T09:36:00 2016-08-02T13:32:00 2016-08-02T17:28:00 2016-08-02T21:24:00 2016-08-03T01:20:00 2016-08-03T05:16:00 2016-08-03T09:12:00 2016-08-03T13:08:00 2016-08-03T17:04:00 2016-08-03T21:00:00 2016-08-04T00:56:00 2016-08-04T04:52:00 2016-08-04T08:48:00 2016-08-04T12:44:00 2016-08-04T16:40:00 2016-08-04T20:36:00 2016-08-05T00:32:00 2016-08-05T04:28:00 2016-08-05T08:24:00 2016-08-05T12:20:00 Temperature Analysis Unit 1 Temp F Unit 3 Temp F Temperature Across Causeway
  41. 41. Pressure Study Gooseberry Island Causeway David Sprogis dsprogis@gmail.com

×