element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experimenting with Waterproof Connectors
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Waterproof Connectors
  • More
  • Cancel
Experimenting with Waterproof Connectors
Blog Panda Enclosure - Extra Credit Blog #5 - Completion of Submersion and Thermal Monitoring Test Setups
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experimenting with Waterproof Connectors to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 25 May 2023 4:37 AM Date Created
  • Views 714 views
  • Likes 9 likes
  • Comments 1 comment
  • lattepanda
  • hammond ip68 enclosure
  • submersion test
  • water leak sensor
  • amphenol ip67 connectors
  • open hardware monitor
  • influxdb
  • experimenting with Waterproof Connectors
  • rj45 waterproof backshell
Related
Recommended

Panda Enclosure - Extra Credit Blog #5 - Completion of Submersion and Thermal Monitoring Test Setups

ralphjy
ralphjy
25 May 2023

This is a continuation of my previous blog - finishing off the open tasks for the submersion test and the additional tasks for the thermal testing.

  1. Add threaded inserts to enclosure for mounting the RJ45 backshell   Ballot box with check
  2. Mount and connect the water leak detector   Ballot box with check
  3. Finish submersion frame   Ballot box with check
  4. Finish wiring external ethernet and USB cables   Ballot box with check
  5. Add InfluxDB to save time series data for thermal tests   Ballot box with check

 

Add threaded inserts for RJ45 backshell

Using the rubber boot for a template, I marked the hole positions and drilled the two pilot holes.

image

Then gradually used increasing drill sizes until I had the 5/32" holes needed for the inserts.  Because I don't have the proper fixturing, I chose to hammer the inserts in from the backside.  Not perfect, but a reasonable job that works well.

image

A picture showing the connectors mated with the backshell installed.

image

 

Mount and connect the water leak detector

I mounted the leak detector face down under the baseplate that holds the lattePanda.  It should start conducting when the water level reaches 1 mm above the floor of the enclosure.  The sensor contacts go through the baseplate and use Dupont jumper wires to connect to the lattePanda I/O.

image

Sensors wired for software test

image

Sensors on Node-Red dashboard.  The leak detector is shown in the red box.  Normally reads "0" - the jump in value is a result of 30% of the sensor trace area in contact with water.

image 

 

Finish submersion frame

I needed to add a top structure to the frame to bring it to the correct height to allow me to clamp it in the basin that I'm using for the submersion test.  Here is a picture of the completed frame.

image

And showing it clamped into the test basin.

image

 

Finish wiring external ethernet and USB cables

These cables are being used specifically for the submersion test fixture, so I built them just long enough to keep the non-submerged ends clear of the water.  I will use the appropriate extender cable lengths to get to the monitoring equipment.

Ethernet cable

image

USB cable

image

 

Add InfluxDB to save time series data for thermal tests

My initial Node-Red dashboard allowed me to visualize the sensor data from the lattePanda, but for testing I need to capture the data into a database for analysis.  I looked at using cloud databases.  I saw a Hackster project that used Qubitro and it was quite easy to interface the MQTT JSON data, but their dashboard structure and documentation are quite lacking.  It turns out that they are in the midst of getting out a new release that will have the features that I need and hopefully better documentation - but that won't help me right now.  I decided that I would use a local instance of InfuxDB that I can run on the RPi4 that I'm using for the Node-Red dashboard and there is an integration (contributed nodes) available to allow me to use the current Node-Red flow and dashboard.

Install InfluxDB

The process to add InfluxDB to the RPi4 is straightforward, but slightly convoluted.

  1. Insure that all installed packages are up to date by running the following commands:
    1. sudo apt update
    2. sudo apt upgrade
  2. Add the InfluxDB repository key
    1. curl https://repos.influxdata.com/influxdata-archive.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdb-archive-keyring.gpg >/dev/null
  3. Add InfluxDB repository to sources list
    1. echo "deb [signed-by=/usr/share/keyrings/influxdb-archive-keyring.gpg] https://repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
  4. Update the package list
    1. sudo apt update
  5. Install influxDB
    1. sudo apt install influxdb
  6. Start InfluxDB at boot
    1. sudo systemctl unmask influxdb
    2. sudo systemctl enable influxdb
  7. Start the InfluxDB server
    1. sudo systemctl start influxdb
  8. Verify that InfluxDB is running
    1. sudo service influxdb status

image

Use the influxdb cli to create the "lattepanda" database to store the sensor data.

image

Add InfluxDB interface nodes to Node-Red

To install the InfluxDB interface - go into Pallette Manager and install node-red-contrib-influxdb.

image

The nodes will appear in the Storage section

image

Add the influxdb out node to the flow to load the lattePandaSensors JSON data into the database.

image

The influxdb out node is configured to send data to the "lattepanda" database.  I am running the InfluxDB on the same RPi as Node-Red,  so it connects to localhost using Port 8086.  The measurements will be stored in a table called "sensor_data".

image

image

Query the database to see the measurement table.

image

Read a sample from the database to verify storage is working.  For this example I read the time series data for the CPU Core1 Temperature.

image

 

Time to start testing...

The hardware and software components are now complete.  It's time to assemble all the hardware and start testing.

  • Sign in to reply
  • JWx
    JWx over 2 years ago

    I think InfluxDB is a good choice

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube