element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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] #21 - Project Liftoff
  • 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: 21 Feb 2022 11:28 AM Date Created
  • Views 759 views
  • Likes 10 likes
  • Comments 2 comments
  • Arduino MKR WAN 1300
  • just encase design challenge
  • pool_water_monitoring
  • justencase
  • pool water monitoring
  • MKR1300
  • just_encase
Related
Recommended

[Pool Water Monitoring] #21 - Project Liftoff

feiticeir0
feiticeir0
21 Feb 2022

image

Hi all ! Hope everyone is well and safe.

It finally happen ! We just went live.

This weekend was the time to finally put everything together and just turn it on.

Data collecting

One of the Arduinos MKR 1300 WAN is inside of one of Hammond's enclosures - the transparent lid one.

This one was put near the pool to monitor.

One of the antennas that I bought (on the first design, the enclosure was to be inside water and the antenna had to be long enough to be outside) is magnetic, so I've glued (double side tape) a metal washer on the lid and the antenna just sits there.

Inside sits all of the electronics.  This is, for now, sending data every 30m. For testing purposes. Later will be increased to every hour.

Here are some photos

imageimageimage

What's left

On this side, I'm going to find a contraption to arrange the cables to be farther from the wall.

Data receiving

On the data receiving, like I've already said, I went back to my original design. So, I have the Groove shield connected to an Arduino UNO Rev 3.

Here are some photos of the MKR 1300 WAN and the UNO

imageimage

And here's some photos of all of this working. The values displayed are real values taken from the pool water.

I'm sorry for the dark photos, but otherwise, like you can see in the photo above, the values in the display would not be visible.

imageimage

imageimage

As you can see, one of the values, the display turns to red.  That's because, in one of my earlier posts, I've talked about what was going to be measured and the safe values. Because the water temperatures is at 10 degrees C, it's outside safe parameters, thus, appearing in red. This will be talked in a near future, when I post about the code.

Do to

In my original design, one of the targets was to have the values uploaded to Arduino IoT Cloud . My original idea was to use MKR 1300 WAN. But, for it to be able to send values to the Arduino IoT Cloud, I had to use a LoRa Gateway.  Unfortunately, I'm not near one.

The next idea was to use WiFi and send it to ThingSpeak . Grove has a new WiFi module - UART Wifi V2. I did try to use this one, but after a few days, I wasn't able to make it work. The documentation  on the Grove Wiki is not very good for this new module.

I haven't given up. I will try to make work with a ESP8266 - ESP-01.(I don't have an Arduino UNO WiFI) In the meanwhile, I'm saving the values to a SD Card, by using a Micro SD Card breakout. The photos above don't reflect this yet, but I will update them.

Wha't next

Since this has started live yesterday, I'm still observing . I did notice some weird behaviors.  When still in testing, the deep sleep functions on the data collecting side, in the MKR 1300 WAN are not very precise.  It was collecting the data and then sleeping for 20 seconds (20.000 milliseconds) .  I was counting the time, and sometimes it would take more than 20s to wake up and send the values.

If I put it to sleep for 1h - 3600000 milliseconds, I thing it never wakes up.. Never got an answer from it. Still have to try to look deeper into this. But I'm guessing I'm not the only one reporting on this.

Will keep you guys informed.

Stay safe and stay well.

  • Sign in to reply
  • feiticeir0
    feiticeir0 over 3 years ago in reply to DAB

    Hi DAB. Thanks for the reply.

    At first I thought about that, but after seeing the code for the ArduinoLowPower library, the function accepts uint32_t types - So, I'm guessing it was not that.

    I have it now working, still with 30m sleep.  I'm noticing some battery drain, but I will discuss that in my next post.

    Thank you

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 3 years ago

    You will probably need to do shorter sleep cycles and do a systems test more often.

    The sleep value is probably limited by their use of a 16 bit counter variable, which when you overload it should default to a lower value, but I do not know without seeing what the compiler was set up to implement.

    • 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