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 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
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Interaction between pH, EC, and Redox sensors?
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 9 replies
  • Subscribers 267 subscribers
  • Views 1078 views
  • Users 0 members are here
  • hydroponic
  • redox
  • ec
  • ph
  • arduino
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Interaction between pH, EC, and Redox sensors?

LukasB
LukasB over 1 year ago

Hello,

we have connected a pH, EC, and Redox sensor to our Arduino, however the system shuts down every other day and we need to restart it by unplugging it for a few seconds. We suspect that the sensors (which are constantly submerged in water next to each other) influence each other and cause this shut down. 

Is that possible? If yes, why?

Kind regards,

Lukas

  • Sign in to reply
  • Cancel

Top Replies

  • Jan Cumps
    Jan Cumps over 1 year ago +3
    possible issue #3: an overrun of a variable or timer that's unhandled
  • Jan Cumps
    Jan Cumps over 1 year ago +2
    When your Arduino locks every other day, I'd expect one of these two: - a memory leak or invalid address used somewhere in the code, that keeps adding up until full, or overwrites something - a power…
  • beacon_dave
    beacon_dave over 1 year ago +2
    LukasB said: We suspect that the sensors (which are constantly submerged in water next to each other) influence each other and cause this shut down. What diagnostic steps have you taken to come to that…
  • Jan Cumps
    0 Jan Cumps over 1 year ago

    When your Arduino locks every other day, I'd expect one of these two:

    - a memory leak or invalid address used somewhere in the code, that keeps adding up until full, or overwrites something

    - a power glitch in the utility line that's so big that it corrupts the arduino.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • LukasB
    0 LukasB over 1 year ago in reply to Jan Cumps

    We have power outages occaissionally, but I thought it maybe wont be a problem, because the system would just restart after the outage...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 1 year ago in reply to LukasB

    That rules out suspect #2 then.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 1 year ago

    possible issue #3: an overrun of a variable or timer that's unhandled

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 1 year ago
    LukasB said:
    We suspect that the sensors (which are constantly submerged in water next to each other) influence each other and cause this shut down.

    What diagnostic steps have you taken to come to that conclusion ?

    Have you tried running the system with only one and two sensor(s) active at a time ?

    What makes you think that it is a sensor issue rather than a programming issue ?

    When you say 'shut down' what do you mean ? Is the system programmed to shut down given a specific condition ? or are you perhaps assuming that the Arduino program has stopped running because it isn't outputting anything visible ? e.g. it may still be running but just in an infinite loop that doesn't output anything.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw over 1 year ago

    The scenario you describe doesn't sound like sensor interaction. You could implement a watchdog reset algorithm until you have discovered the root cause.

    Check all wait loops for for possible endless loop conditions - waiting for something that never happens.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 1 year ago

    You might want to share a (very detailed) block diagram, if not a complete schematic (you could gray-out anything you're sure is irrelevant if you don't wish to share it all), and photos of the setup.

    Often things can be spotted from the circuit, or visually from the set-up, that might be causing "unexpected" things to occur that might not be currently being handled by the code. The block diagram or description will indicate which serial interfaces you're using, or which signals are analog, and the power source(s) for the various components. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • acdc90
    0 acdc90 over 1 year ago in reply to shabaz

    can you run on battery to eliminate power outage 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 1 year ago in reply to acdc90

    and the sensors out of the liquid to eliminate water as a cause

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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