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
Just Encase
  • Challenges & Projects
  • Design Challenges
  • Just Encase
  • More
  • Cancel
Just Encase
Blog [Pool Water Monitoring] #12 Architecture Design #3: Arduino MKR 1300 WAN data sender
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Just Encase to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: feiticeir0
  • Date Created: 11 Jan 2022 11:06 PM Date Created
  • Views 1645 views
  • Likes 4 likes
  • Comments 5 comments
  • pool_water_monitoring
  • lora
  • justencase
  • Arduino MKR WAN 13000
  • just_encase
  • just encase
Related
Recommended

[Pool Water Monitoring] #12 Architecture Design #3: Arduino MKR 1300 WAN data sender

feiticeir0
feiticeir0
11 Jan 2022

image

Hi all ! Hope everyone is safe and sound. This is the part of the project that will collect and send the data to the receiver part.

It will monitor:

  • Water temperature using the DS18b20 High temperature probe
  • Nutrients of the water using the TDS probe
  • Water PH using the PH probe
  • Environment temperature, humidity and pressure using the AM2302 sensor

Hardware

  • Arduino MKR 1300 WAN
  • TDS sensor
  • PH sensor
  • AM2302
  • 2x batteries

Here's a schematic, so far, of it:

image

Everything will be fitted inside of the Hammond enclosure with the transparent lid.

To outside of the enclosure, in one hole and using one of the Hammond cable glands will be three cables:

  • Antenna, in 868MHz (Europe frequency) to connect to the Arduino
  • High temperature sensor probe
  • TDS sensor probe

The PH probe is another problem. The probe cannot stay inside of the water all the time.

I'm still waiting on the probe to arrive, but I know that the sensor and the probe are connected through a BNC connector. 

A hole will be made, big enough for the BNC connector and silicone will be used to seal it and prevent leaks to inside the enclosure.

Anytime the PH is to be measured, the connector will be inserted and a PH reading will be taken.  In the code, measures will be made if the PH probe is not connected.

Here are some photos of everything inside - but still unassembled -

image

image

image

image

image

Next steps will be assemble everything, calibrate the TDS probe and start coding. When the PH probe arrives,  it will be added to the mix, calibrated and start working.

My next post will be about all of the values that will be measured and what they mean .

Stay safe .

  • Sign in to reply

Top Comments

  • m.ratcliffe
    m.ratcliffe over 3 years ago in reply to m.ratcliffe +1
    It would appear that the edit comment button has been moved...... When people are talking about water quality and EC/TDS, they are often discussing the relative EC at 25'C. I pulled a few lines for the…
  • feiticeir0
    feiticeir0 over 3 years ago in reply to feiticeir0

    Thank you for the example code !

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • feiticeir0
    feiticeir0 over 3 years ago in reply to m.ratcliffe

    Hi !

    I forgot to add to the schematics the waterproof ds18b20 temperature probe. It will measure it - because to measure ECs, temperature is always important... This time of year, way far from 25 ºC ! Smiley

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • m.ratcliffe
    m.ratcliffe over 3 years ago in reply to m.ratcliffe

    It would appear that the edit comment button has been moved...... 

    When people are talking about water quality and EC/TDS, they are often discussing the relative EC at 25'C.   I pulled a few lines for the correction and converting to ppm from a previous project, in this case EC is your raw EC reading and EC25 is the corrected EC taking into account temperature. Hope its helpful. 

    //*********** Converting to ppm [Learn to use EC it is much better**************//
    // Hana      [USA]        PPMconverion:  0.5
    // Eutech    [EU]          PPMconversion:  0.64
    //Tranchen  [Australia]  PPMconversion:  0.7
    // Why didnt anyone standardise this?
    float PPMconversion=0.7;

    //*************Compensating for temperature ************************************//
    //The value below will change depending on what chemical solution we are measuring
    //0.019 is generaly considered the standard for plant nutrients [google "Temperature compensation EC" for more info
    float TemperatureCoef = 0.019; //this changes depending on what chemical we are measuring




    //*************Compensating For Temperaure********************//
    EC25  =  EC/ (1+ TemperatureCoef*(Temperature-25.0));
    ppm=(EC25)*(PPMconversion*1000);
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • m.ratcliffe
    m.ratcliffe over 3 years ago

    Might be a good idea to also measure the pool water temperature? 

    It is no doubt useful information in general to have about a pool. Temperature also plays quite an important role on TDS/EC and correcting for temperature will be needed for reasonably trustworthy TDS readings. 

    • 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