Controlling activation of a circuit with a moisture meter

Click For Summary

Discussion Overview

The discussion revolves around designing a moisture sensing circuit to activate a spectrophotometer only when water is present. Participants explore various circuit components and configurations, including the use of timers, microcontrollers, and power management strategies, while considering the implications for battery life and measurement frequency.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant describes a spectrophotometer design using LEDs and an op-amp, seeking to activate the sensing circuit only during water flow.
  • Another participant suggests using AC instead of DC for electrodes in contact with water to reduce electrolysis, proposing a CMOS analogue gate for alternating polarity.
  • It is proposed that a CMOS micro-controller could wake periodically to measure water presence, potentially reducing power consumption by minimizing measurement frequency.
  • Participants discuss the expected battery life of the circuit, with calculations indicating that low power consumption is essential for extended operation.
  • There is a suggestion to use an LCD display instead of a bar dot driver for better power efficiency.
  • One participant questions the feasibility of using an Arduino for low standby power needs, while others suggest a single chip solution with sleep capabilities for efficiency.
  • Concerns are raised about calibration issues due to potential interference from substances like soap or oil on optical surfaces.

Areas of Agreement / Disagreement

Participants express differing opinions on the best approach to moisture sensing and power management, with no consensus reached on the optimal circuit design or components. The discussion remains unresolved regarding the specific implementation details and effectiveness of suggested solutions.

Contextual Notes

Participants mention various assumptions about water flow frequency, the presence of air in the cell, and the potential for power generation from water flow, which may affect the overall design and functionality of the circuit.

Who May Find This Useful

Individuals interested in circuit design for moisture sensing, power management in electronic devices, or those working on similar spectrophotometer projects may find this discussion relevant.

lostminty
Messages
80
Reaction score
0
Hi,

I'm building a make shift spectrophotometer. It's only concerned with a narrow bandwidth of visible light. I'm using two LEDs, one which is lit, the other which is co-incident with a sample in between absorbing light from the lit LED.

I pass the voltage of the receving LED to an LM358 opamp which then gets output to an LM3914 bar dot driver.

This gives use-able readings. So that works.

I want to only turn on the sensing circuit when water is passing through the apparatus. So I've been investigating moisture sensing circuits.

http://www.instructables.com/file/FGO5G9DFH9ZFLVQ

Someone on yahoo answers suggested using a 555 timer in astable mode instead of DC which I have so far tried to some success (see circuit above). This was because the electrodes will get eaten away quickly with that set up.

Someone on reddit suggested the arduino moisture sensor also, really not sure what to use to take the results from that sensor, apparently it outputs resistance?

http://www.seeedstudio.com/depot/grove-moisture-sensor-p-955.html

The point of this is to improve battery life. The current end design I'm hoping to power by a 9v battery. I'm thinking it would be good to use a "low dropout" 5V regulator.
 
Engineering news on Phys.org
If you use electrodes in contact with the water you should use AC if possible. If you use DC then keep the voltage below 100mV. A very low power CMOS analogue gate such as CD4066 could be used in a bridge configuration to alternate the polarity and so reduce electrolysis.

Liquid water has a dielectric constant of 80 so it is easy to detect with an oscillator having a timing capacitor made from part of the flow's path. A CMOS micro-controller could wake up once per second, measure the time constant of the cell and perform a reading if water is there.

Power consumption will be reduced if you can make less measurements and so keep the LEDs off for say 99.99% of the time. Also low power CMOS op-amps will consume much less power than an LM358, they will plug straight in as a replacement.

How often does water flow ?

When not flowing is there air in the cell ?

While flowing, how often do you need to make a measurement ?

How long do you expect it to run on a single 9V battery ?
 
How often does water flow ?

every 10 mins

When not flowing is there air in the cell ?

Yes

While flowing, how often do you need to make a measurement ?

Once

How long do you expect it to run on a single 9V battery ?

As long as practical...hard one to answer. maybe a month?

8pboVGr.png


that is my current design...I think.
 
Two x LM555 = 10mA, Dual amp LM358 = 1mA, Total = 11 ma
9V battery, say 200mA.hr
200(mA.hr) / 11(mA) = 18 hours
So the water detection must be done using very low power rather than a couple of LM555s.

LM3914 bar dot driver with one LED will need about 15mA in dot mode when displaying the transmission measurement. You really need to use an LCD display.

A micro-controller in sleep mode that detects the flow, make the measurement and then displays it on the LCD display would meet the power requirements.

When water flows, what is the minimum time it will flow for ?
Can you use the water flow to generate the power needed to make the measurement ?
 
Well there you have it. Would I get the functionality I desire out of an arduino?

minimum time..about 5 seconds?

potentially could generate power from the flow. doubt it though
 
I have no experience with the Arduino so I cannot say if it has the low standby power you need. If you want only one, then by all means use Arduino, with a bigger battery if needed. If you will want to manufacture many, avoid buying more hardware than you need by designing a single chip solution.

I would use a single chip that had the ability to sleep then wake every second to check for flow, or that was triggered by the flow. It would have an ADC to digitise the signal when needed, with sufficient outputs to support a slow LCD display. I would program it at the assembly level. Everything unnecessary needs to be eliminated. It should easily run for a month on one 9V battery.

LED emissivity changes with temperature, maybe it can calibrate itself without the water present. Soap or oil can form a film, (with a thickness of less than a few wavelengths), on the optical surfaces that can destroy any calibration. It can be very difficult to identify problems like that.

I have no idea of your application so I cannot guess at the specifications, constraints, size, or volume of the flow involved. I guess you are building a turbidity meter of some sort.
 

Similar threads

Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 13 ·
Replies
13
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 8 ·
Replies
8
Views
3K