ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger...

14
Surface & Submersible Temperature Loggers Specification and User’s Manual v. 2.0 Hood College Robotics and Sensor Research Group George Dimitoglou, Ph.D Mr. Peter O’Connor, M.S. Ms. Mickayla Bachar Team Lead Research Lead Undergraduate Researcher August 2017 1

Transcript of ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger...

Page 1: ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the

Surface & Submersible Temperature LoggersSpecification and User’s Manual

v. 2.0

Hood College Robotics and Sensor Research Group

George Dimitoglou, Ph.D Mr. Peter O’Connor, M.S. Ms. Mickayla BacharTeam Lead Research Lead Undergraduate Researcher

August 2017

1

Page 2: ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the

IntroductionThe surface and submersible temperature logger (Logger), is a multi-component system, composed of

a temperature logging device and a web-based application to view and analyze the collected data. This manual provides information about the hardware components and using the client web-based application to import, view and analyze he the collected temperature data.

The Logger is based on 243in. x 24

3in. x 18 in. printed circuit design ready to add all other components as

plug-ins for easy assembly and rapid deployment. The device is equipped with a time keeper and a SD slot as well as the ability to have an external or internal sensor for logging. The device can be placed into either an outdoor, water–resistant case with external temperature sensing enabled, or a water proof submersible enclosure for underwater observations.

Regardless of the enclosure type, the Logger’s internal parts are the same (Figure 1).

Figure 1: View of the Logger’s printed circuit board and components.

ComponentsThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the logger has a

ChronoDot that gathers the time data associated with each observations. The Logger has two sensors for gathering data, one for total submersion (internal sensor), and the other for placing the long sensor into hard-to-reach places to gather temperature data. There two areas for connecting the sensors with accompanying switches.The one closest to the ChronoDot is for the internal and the one furthest away is for the external with each having their own switch to enable them. On board there is an SD card slot uses a standard microSD card for recording of data in a CSV file format for later use. All components are labeled in Figure 2 and pictures of sensor options in Figure 3.

2

gd, 08/12/17,
Dimensions?
Page 3: ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the

Figure 2: Logger Components

The Logger 2.2 has the following components:Part PurposeArduino Pro Trinket 3V (Adafruit)

The is the main processor board of the system that integrates the functioning of the entire system.

Chronodot Ultraprecise Realtime clock.

Track the time for the logger.

DS18B20 Temperature Sensor (External)

Provide external temperature sensing for the Logger.

MCP9808 High Precision Temperature Sensor

Provides accurate internal temperature sensing for the Logger.

Battery Pack Power SupplyMicroSD Breakout Gives the Logger the ability to read/write data for permanent reference.LD1117-3.3 Voltage regulator that allows inputs of up to 15vDPST Switches Turn on the desired sensor. Red,Green LED Provide error codes to the user for malfunction assessment. 10F Electrolytic Capacitors Stabilize Power Supply220 Resistors Control Flow of Current to Components47 k Resistors Control Flow of Current to Components4.7 k Resistors Control Flow of Current to Components

3

gd, 08/14/17,
This table should match the annotations on Fig. 2.The table should be replicated and placed in an Appendix at the end of the doc. Remove the third column here, it Is not needed. Leave in the Appendix.There are no “Minor Specs”. All of these are Logger components.
Page 4: ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the

Figure 3: Internal Sensor (Left); External Sensor (Right)

Sensor Type ISW ESW ConnectionExternal Right Left Audio jack farthest away

from the ChronoDotInternal Left Right Audio jack closest to the

ChronoDotTable 1: Sensor Switches and Settings

(For Switch and Jack location, and Switch Settings refer to Figure 5)

Figure 4: External Switches (Left); Internal Switches (Right)

Battery PackThe battery pack for the device uses three standard AA batteries during operation. The lid of the pack is secured using the available nuts and screws (Figure 5a). The DC power jack for easy attachment is added prior to use (Figure 5b).

4

Mickayla Bachar, 08/15/17,
Mickayla Bachar, 08/15/17,
Does the user not effectively see that labelled in Figure 2? Perhaps an addition to this caption would suffice?
gd, 08/14/17,
Where is the close-up image of the switch so a user who has no clue what or where the switch is can see the possible settings?
Page 5: ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the

Figure 5: Battery Pack (5a); DC Power Jack (5b)

EnclosuresThere are two enclosures available to use, one for each type of sensor. The external enclosure is a 4in. x 4in. x 2in, weather resistant, PVC Junction Box with a hole drilled through the side for the sensor wire, and a rubber gasket installed (Figure 6a). The gasket is then sealed to the enclosure with silicone. The internal enclosure is a 5.1in. x 4in. x 2in. water tight container that latches closed (Figure 6b).

Figure 6: External Enclosure (6a); Internal Enclosure (6b)

OperationLogger Configuration1. Make sure SD card is formatted and inserted with the correct ID.txt file located in its root directory.

a. ID.txt should have a one line that includes a small string for an ID, Example: BWET999b. There may be other files, but no file can be named data.csv or DATA.csv because these are reserved

filenames for the Logger.2. Connect the Internal OR the External Sensor and select the proper sensors and switch configuration per

Table 1.3. Make sure power button is in the off position (out) and insert batteries into battery pack.4. Place into enclosure of your choice.

5

gd, 08/14/17,
Aren’t they called enclosures?
gd, 08/14/17,
What is this? How is it different than previous sentence?
gd, 08/14/17,
?
gd, 08/14/17,
Say exactly the same thing by using the words: “reserved filenames”.
gd, 08/14/17,
They need to be side by side
Page 6: ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the

a. WARNING! Using the Submersible container! The battery pack should not have the cover. Gently slide the battery pack AND logger together at once into the container. The fit is very snug to be stable in water. DO NOT TRY TO FORCE ONE PIECE OVER THE OTHER OR WIRE(S) MAY BREAK.

b. Small amounts of wiggling will allow the battery pack and the Logger to insert properly.5. Turn on when ready. As the device starts up there the both the red and green LED’s will flash in quick

succession, only once, to indicate that the device is operating normally. a. Notice: The LED’s are also used as error notification. If you notice both the red and green LED do not

flash, or that they flash more than once, refer to Table 2 for the error notification and possible mitigations.

Deployment1. Make sure all wires are inside each enclosure (except external senor wire if applicable). 2. Securely close the device. (Either by screwing top on or securing latch).3. Deploy the device to desired location.

Notes:a) If using the external enclosure ensure that the opening to the sensor wire is not facing the sky and falling

rain.b) If using the internal enclosure ensure that there are no cracks in the enclosure from prolonged use and that

the seal is secure.

Data Collection

The default data collection frequency is 10 minutes. When an observation is made, the Logger’s LED’s will cycle by flashing green and then red. This will add a new entry in the data.csv file on the Logger’s internal SD card.

The data.csv file captures data using the following columns:

BWETXXX Logger ID DATE TIME Voltage * Sensor

Type Temp CRC

The BTWETXXX LoggerID is an ID number given to each logger. The DATE is the date that the observation (temperature) was taken. The TIME is the time of day that the observation (temperature) was taken. The Voltage of the power supply when the observation (temperature) was taken. The Sensor Type is a value that represents which sensor was in use when the observation (temperature) was

taken. The TEMP is the value of the temperature from the sensor for the observation. CRC is a value used by developers to ensure quality of data.

A sample entry would look like the following string per collected observation:BWET785,10/10/16,13:45:52,3.33,*,1,41,6F

Which indicates that the following columns have been populated:

BWETXXX Logger ID DATE TIME Voltage * Sensor

Type Temp CRC

BWETXXX 10/10/16 13:45:52 3.33 * 1 41 6F

6

Mickayla Bachar, 08/15/17,
This * in the data I believe is to be read in for processing. I do not know it’s use. Peter always have it to me as *.
gd, 08/14/17,
Why is the field toits right empty? Why isn’t identified on the list below?It *does* appear* as an asterisk in the data.
gd, 08/14/17,
How?
Mickayla Bachar, 08/15/17,
gd, 08/14/17,
Should they be checking for any lights? How do they know it is oON?
gd, 08/14/17,
“the two” what?
gd, 08/14/17,
First time reader hears about a battery pack. Is there an image somewhere so they know what you mean?
Page 7: ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the

TroubleshootingThe Logger 2.0 has built-in error notifications through its two LED’s. The reference table below shows what the LED’s would do, what the problem relates to, and how to fix it.

Green LEDBehavior

Red LEDBehavior Problem Fix

ON OFF ID.TXT Not Found Place a properly formatted ID.txt file on the root directory of the microSD

Flashing OFF External Sensor not connected Make sure the wiring is properly screwed down into the terminal block.

OFF Flashing ID.txt Can’t be opened Delete the current ID.txt and recreateFlashing Flashing SD Couldn’t initialize microSD is not connected OR not formatted. Be sure

of proper insertion by hearing a “click” and make sure the card is formatted.

OFF ON Data.csv Can’t be opened Delete the current DATA.csv and rerun the logger.ON ON Battery Low Replace batteries.

Table 2: Logger Error Notifications

Within the DATA.CSV, it is possible to encounter erroneous temperatures of -1000 or -9042. Such measurements are an indication of loose wiring or a faulty sensor. Re-seat the wiring and test the Logger. If the problem persists, change the sensor.

Data Viewing Once the loggers have been deployed and retrieved data can be viewed, imported, analyzed, and exported from the project website. (http://ccwsscience.org/bwet_data3/)

7

Page 8: ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the

Figure 7: Data Page of Website; where user choose loggers and dates, and view and manipulate data.

Viewing Data: Once on the website, the user can view previously collected data by selecting a logger from the Logger List on the left side. A line graph to the right of the list will appear to display the data.

Below the graph is a table displaying the minimum, maximum, and average temperature across the selected period of time.

To change the range of dates use the date pickers above the graph, on the right.

Uploading Data: To upload data to the website to be displayed use the “Import Data” button on the left side of the page.

For information on the settings and specifications for upload, click the “Import Help” button below the import buttons.

Once the chosen file is uploaded a box below the import and export options will appear. The box that appears will give information about the import including the number of data inserted and skipped, as well as the ID of the logger that the data were uploaded for. Use this box to determine if an upload was successful.

Important: Duplicate entries will appear in the “Skipped” section of the import results box.

Downloading Data:

8

gd, 08/14/17,
Caption? Is this image referred to somewhere in the text?
Page 9: ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the

To download data from the use the “Download CSV” button on the left side of the screen.

The chosen range displayed on the graph will be the data that is downloaded. Be sure to modify the graph to the desired set of data before download.

Appendix A: Logger 2.0 components

Part Purpose Extra InformationArduino Pro Trinket 3V (Adafruit)

The is the main processor board of the system that integrates the functioning of the entire system.

https://learn.adafruit.com/introducing-pro-trinket/downloads

Chronodot Ultraprecise Realtime clock.

Track the time for the logger. https://www.adafruit.com/products/255

DS18B20 Temperature Sensor (External)

Provide external temperature sensing for the Logger.

https://cdn-shop.adafruit.com/datasheets/DS18B20.pdf

MCP9808 High Precision Temperature Sensor

Provides accurate internal temperature sensing for the Logger.

https://learn.adafruit.com/adafruit-mcp9808-precision-i2c-temperature-sensor-guide/downloads

MicroSD Breakout Gives the Logger the ability to read/write data for permanent reference.

https://learn.adafruit.com/adafruit-micro-sd-breakout-board-card-tutorial/download

LD1117-3.3 Voltage regulator that allows inputs of up to 15v https://cdn-shop.adafruit.com/product-files/2165/LD1117.pdf

DPST Switches Turn on the desired sensor. https://www.adafruit.com/products/805Red,Green LED Provide error codes to the user for malfunction

assessment. http://www.mouser.com/ProductDetail/OSRAM-Opto-Semiconductors/LS-R976-NR-1/?qs=sGAEpiMZZMseGfSY3csMkYe6DQoGN9

9

Page 10: ccwsscience.orgccwsscience.org/.../Logger2-Documentation08152017-MB-V2.docx · Web viewThe Logger has an Arduino Pro Trinket that runs the program that takes observations. Also, the

TfXGz701DcVC8%3d

10F Electrolytic Capacitors Stabilize Power Supply https://www.adafruit.com/products/2195

220 Resistors Control Flow of Current to Components http://www.mouser.com/ProductDetail/Ohmite/OD221JE/?qs=sGAEpiMZZMsPqMdJzcrNwlKqHzDIeTM%252bnpUwVxSd20Y%3d

47 k Resistors Control Flow of Current to Components http://www.mouser.com/ProductDetail/Yageo/CFR-25JR-52-47K/?qs=sGAEpiMZZMsPqMdJzcrNwiPCnpFTGbbhmfVZ7ntpYcY%3d

4.7 k Resistors Control Flow of Current to Components http://www.mouser.com/ProductDetail/Ohmite/OD472JE/?qs=sGAEpiMZZMsPqMdJzcrNwsCIgXnlKnAytjp9%2fhs1Xr4%3d

10