Error-proofing of Depth Sensor Deployments

ID: 124860

Description: This guide assumes the node is already built....

Steps:

  1. open Anaconda Navigator
  2. launch Spyder
  3. click 'Open File' and select "node_builder.py" under "\Documents\anvil"
  4. click the 'Run' button
  5. visit this link to get started: Node Builder
  6. Step image Step image Step image
  7. Obtain a solar panel with the appropriate metal plate.
  8. Obtain the correctly bend metal plate.
  9. The enclosure is the box where the sensor board, and wires are kept to protect from the environment.
  10. Obtain the enclosure with the predrilled holes.
  11. Step image Step image Step image
  12. Obtain the solar panel extension cable
  13. Obtain heat-shrink tubing and place it around the cable
  14. Cover the connection between the solar panel wire and the extension cable with the heat-shrink tubing. Then, use a heat gun to shrink the tubing, creating a water-tight seal around the connection
  15. Step image Step image Step image
  16. Trim the solar panel extension wire so there is approximately 20 inches of wire from the connection point
  17. Strip the wires as shown in the image
  18. Twist the ends of the wires
  19. Step image Step image
  20. Attach the solar panel onto the metal plate.
  21. Using screws and a screw driver, screw the solar panel into these holes. Now that the solar panel is attached to the metal plate, attach the metal plate onto the lid of the enclosure
  22. Note: the tall side of the metal plate should be on the same side of the enclosure as the holes for the ultrasonic sensor and cable glands.
  23. The screws and nuts should be screwed in this matter in the holes on the sides of the box lid (meaning the nut is on the outside)
  24. Step image Step image Step image
  25. Obtain velcro
  26. Add velcro with soft side inside the enclosure in the following places
  27. Step image Step image
  28. Now we need to insert the red extension wire from the solar panel into the enclosure box
  29. Obtain a cable gland
  30. Screw the cable gland into the wall of the enclosure, through the small hole, as shown
  31. Place an o-ring between the cable gland and outer-wall of the enclosure
  32. Insert the solar panel extension wire into the cable gland as shown, leaving approximately 8 inches of wire inside the enclosure
  33. Step image Step image Step image
  34. Obtain a plugable header and ensure the ends of the wires are twisted
  35. Screw the wires into the plugable header as shown in the picture
  36. Note: hand tight is just right.
  37. Step image Step image
  38. Solder a 3-prong terminal block to the ground, power, and data (#5) through-holes on the depth sensor
  39. For organization, bind three wires (red, white, and black) with a small piece of shrink wrap
  40. Connect the wires as shown in the picture (black to ground, red to power, white for data)
  41. Step image Step image Step image
  42. Assemble the depth sensor by adding the o-rings, and the connective wires in the order pictured, leaving the nut ring to the side
  43. Note that the connective wires connect the depth sensor to the sensor node board. Remember, red wire is responsible for power, black is for ground, and white is for data
  44. Place the depth sensor through the larger hole, and secure it firmly by tightening the nut ring
  45. Make sure the nut ring is tightened securely as it will keep the enclosure water-tight
  46. Step image Step image Step image
  47. Obtain the cell module (modem), GPS, and antenna
  48. Insert Super SIM card into cell module
  49. Attach the GPS to the connection shown (grey wire)
  50. Attach the antenna to the connection shown (black wire)
  51. Step image Step image Step image
  52. Attach rough-sided velcro on the antenna and GPS as shown in the picture.
  53. Step image
  54. Obtain velcro and lithium ion 3.7V battery. Attach rough side of velcro on battery
  55. Be very careful not to short the battery by touching the two wires together.
  56. Obtain a block plug.
  57. Twist the wires of the battery so they fit nicely in the plugable-header block
  58. Screw the wires into the block plug
  59. Note: hand tight is just right.
  60. Step image Step image Step image
  61. Obtain one battery, 4 zip ties, foam, and a pair of scissors
  62. Cut out two battery-sized pieces of foam
  63. Sandwich the battery between the two pieces of foam and secure it using the zip-ties. Connect the zip-ties to make two extra long zip-ties
  64. Step image Step image Step image
  65. Obtain eight 1.5-inch long standoffs. Screw the standoffs together as shown, to make four 3-inch long standoffs
  66. Screw the standoffs into the enclosure
  67. Insert battery into the enclosure. Make sure the wire is on the sensor-side of the enclosure
  68. Step image Step image Step image
  69. Obtain Open-Storm board and place 4 jumpers in the spots shown
  70. Insert microSD card into board
  71. Attach the cellular module onto the sensor node board in the appropriate place
  72. Step image Step image Step image
  73. Put the board on top of the standoffs in the enclosure, and screw it in using a screw driver
  74. Connect the depth sensor wire as shown
  75. Connect the solar panel wire to the board as shown
  76. Connect the battery wire to the board as shown
  77. Step image Step image
  78. Attach the antenna, and the GPS on the velcro to the closest wall on the inside of the enclosure
  79. Step image
  80. apply the open-storm sticker to the side of the enclosure as shown
  81. apply the unique node ID sticker to the two spots shown
  82. print a label with the unique node ID that appears on the sticker using the label maker
  83. apply the label to the board as shown
  84. Step image Step image Step image
  85. Fold wire over itself so that the portion above the hose clamp won't have slack when the black wire section is pressed against the inside of the panel
  86. Obtain a hose clamp, and secure the red part of the wire to the black section using a drill fitted with the drill bit
  87. Wrap a zip tie around the wire as shown.
  88. Use a second zip tie to connect the ends of the first one
  89. Step image Step image Step image
  90. Use a clamp to tighten the zip tie
  91. Position each zip tie head as shown while tightening
  92. Clip excess zip tie as close as possible
  93. Step image Step image Step image
  94. Obtain USB power supply, plug into a laptop, and set output to 5.9V
  95. Check the voltage with a voltmeter (you may have to set the power supply to ~5.8V for the voltmeter to read 5.9V)
  96. Plug in the green terminal block from the power supply into the Open-Storm board solar port.
  97. Confirm the solar charge LED is off.
  98. Plug in a dead battery to the battery port. This step will not work with a charged battery
  99. CAREFULLY turn the silver potentiometer next to the charge controller IC with a small flathead screw driver until the charge light turns on.
  100. Although the screw has a phillip screw head, using a phillip screwdriver may damage the potentiometer. The hole in the center is too shallow for most screwdrivers. It is easier to use a flathead screwdriver!
  101. Resource: 1. How to Select MPP Voltage on a Solar Charge Controller 2. Sunny Buddy Solar Charger V13 Hookup Guide
  102. Step image Step image Step image
  103. obtain a master lock and a pair of scissors
  104. cut the lock and key out of the packaging
  105. set the lock to the default combination, 0-0-0-0, open the lock
  106. put the key into the lock and twist clockwise 90 degrees
  107. while the key is still twisted, set the combo to 2-2-4-5
  108. remove the key, and the lock is ready to go
  109. Step image Step image Step image
  110. obtain the materials in the quantities shown
  111. screw the U-bracket onto one of the 8" strut channels, using one of the 1/2" hex bolts and the 1/2" strut channel nut
  112. attach the remaining 8" strut channel piece to the U-bracket, using two 1/2" hex bolts and two 1/2" hex nuts
  113. be sure not to center the strut channel you are attaching the the U-bracket, instead make one side of the U-bracket flush with end of the strut channel (as shown)
  114. Step image Step image Step image
  115. insert the two 5/16" strut channel nuts into the back of the horizontal strut channel as shown
  116. Step image
  117. attach the winged strut channel bracket to the 8" telespar using the remaining two hex bolts and hex nuts
  118. when tightening the hex nuts, ensure the edge of the nut points directly outwards (as shown), or else the struct channel piece will not slide inside
  119. confirm the T-shaped strut channel piece slides into the telespar, and the handle is now finished
  120. Step image Step image Step image
  121. Attach the reinforcement rails to the back of the node using two 5/16" hex bolts, two 5/16" hex bolts, and two 5/16" 1.25" OD washers. Insert the bolts the bottom two holes of the node enclosure, using the bottom holes of the rails as shown in the image.
  122. Line up the top holes of the rails with the top node enclosure holes and then tighten the bottom bolts.
  123. Step image Step image
  124. screw the node enclosure onto the strut channel using the two 5/16" hex bolts and two 5/16" 1.5"OD washers. Be sure to put bolts through the reinforcement rails.
  125. removing the T-shaped strut channel piece from the telespar makes this step easier
  126. slide the T-shaped piece back into the telespar
  127. Step image Step image Step image
  128. this is what the node should look like on the inside
  129. make sure the battery is plugged in
  130. attach the lock to the outside of the enclosure
  131. return to Node Builder for instructions on how to drop off the node at the testing rack
  132. Step image Step image Step image
  133. In-lab: Make sure the sensors node is connected to the cell network. Ask administators to connect it if it's not.
  134. If doing this by yourself then follow the next steps:
  135. Step1: Check for "Active" on the Twilio website. Use the MEID to search the SIM repositoy on Twilio. If it's active then you are done.
  136. Step 2: If the search on Twilio did not return anything then check the Node has a SIM card. If yes, then check and update the 'SIM-Node ID pairings' spreadsheet here. If the Node does not have one, get a SIM from an admin and fill in the spreadsheet linked above.
  137. Step 3: After the node gets a SIM card and the infomation is logged in the 'SIM-Node ID pairings' spreadsheet proceed to activate the SIM card. You will have to log into the Twilio website and activate it. Consult the attached picture to see how the setting should be set.
  138. Unique Name = Node ID (i.e PTK001). If the Node ID is already taken then doulbe check the ID parings here. If it's all good, then edit all the Twilio unique names accordingly.
  139. Step image Step image Step image
  140. Insert a fully charged battery into the sensor node. Plug in the battery before the solar charger.
  141. Make sure the battery leads are wired correctly. The terminal block and leads are shown here.
  142. A green LED light on the cell modulem should turn on.
  143. Step image Step image Step image
  144. Make sure that there is an O-ring on outside of the node.
  145. make sure to tighten the screw on the inside snuggly.
  146. Make sure the wires are connected in this manner. From the edge it should be "black, red, white". The ultrasonic sensor has labels on it and GND (ground) is on the very end. Hence, the black wire on the end.
  147. The other ends of the wires are connected to a 5-prong terminal block. That terminal block should be connected to the board at the following pins: P12.3 : White wire, P12.4 : Red wire, GND : Black wire.
  148. Step image Step image Step image
  149. Make sure all the jumpers on the board are connected properly. They are labeled JP1 and JP2
  150. can use the mnemonic "top-down, bottom-up".
  151. Another view.
  152. These jumpers should be disconnected when ready to deploy. This is done to save battery.
  153. Step image Step image
  154. The Node ID is determine by the location where the node will be deployed. Ask and administator where to deploy. Then, find all the site details here.These include site visits, pictures, addresses, and notes.
  155. Ask admin to do this step. Alternatively, ask admin for the scripts that assigns the Node ID and the reporting time interval. Assign both using the Anaconda Navigator's Jupyter Notebook feature. You will need the sim card's MEID and the desired Node ID to do this. The google drive has a spreadsheet with MEID's and Node ID's here. Keep this updated.
  156. Set the reporting frequency to 5 minutes!
  157. Once assigned, the readings will be pushed to Grafana. To double check that it was assigned successfully you can consult the 'Tables' Dashboard on Grafana. Ask administarator for Grafana credentials.
  158. Step image Step image
  159. Assumption: you have the Grafana credentials.
  160. Use an existing Dashboard (i.e. Abhis Hostage Nodes) or create one.
  161. To enter the edit panel click the header and it will appear. If you created a new dashboard, then you must create a 'v_bat' panel and a 'maxbotix_depth' panel. They should be labeled to indicate battery voltage and depth. Always save changes frequently.
  162. Once inside the edit panel: It's possible to edit an already existing entry and only update the Node ID and alias. Alternatively can click on 'add query'. When adding a new query get an admin to supervise while you do it.
  163. Use this dashboard exclusively for testing and delete already deployed nodes. Sensors that have been deployed should be promoted to their permanent Grafana Dashboard. i.e: Cinton River, Huron River,...
  164. Step image Step image Step image
  165. Click on the nodes INDIVIDUALLY to see that the reported values are sensible. If the depth reading is -1 then there is an ultrasonic sensor problem. If the depth value is 0, then the ultrasonic sensor does not have 0.5 meters of required space between itself and what it's reading.
  166. Node must report successfully for 12 hours
  167. Bring at least 1 extra working nodes when deploying!
  168. Step image Step image
  169. Find the address by viewing the site visit documetation here. Read the notes about the potential hazards and where to park.
  170. prepare emergency phone numbers and note the closest urgent care.
  171. Choose nodes that are close near each other. Use Google Maps 'add-a-stop' feature to check proximity.
  172. Step image
  173. Make sure to take all required tools. The tools required should be deduced from the site visit inspection and notes corresponding to the location.
  174. The van already has a tool kit. The google drive has a document specifying which tools belong in the van.
  175. Collect hardwarespecific to sites, enough fully charged batteries for nodes, at least one fully charged 12v battery, enough locks, and drinking water.
  176. Hardware inlcude strut channel, bolts, nuts, brackets, C-clamps, etc.
  177. Pump gas here.
  178. Step image
  179. Upon ARRIVING to every site, fill this google form.
  180. Upon LEAVING every site, fill this google form.
  181. Step image
  182. After the node is deployed and there is no interference from it being hadled, wait for a reading.
  183. The reporting frequency should have been set to 5 minutes! As required in step 21 of this guide.
  184. If the reading doesn't appear or it's -1, then reach out to someone in lab to reassign a working node to that location. Take the faulty node back to lab. Donnot diagnose in the field.
  185. Assumption: You brought extra working nodes.
  186. Requirement: Bring extra nodes.
  187. Step image
Back