Z-wave integrated pressure sensor idea for swimming pool filter


#1

I have a requirement at home to be able to monitor a pressure gauge. I have found a slew of pressure transducers that will work, but not really sure where to go from there. I know the MIMOlite will take the analog output from the transducer and you can trigger z-wave scenes from that, but it seems like I should also be able to convert that read-out to a pressure and display it on an LCD mounted on the side of the box. Any help or advice on this would be appreciated.

I have also explored pressure switches, but they don’t seem to have the accuracy that I’m looking for (down to 1psi).


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #2

Definitely sounds like a double project with an analog pressure to voltage sensor, an Analog to Digital converter (analog inputs on an Arduino may suffice) and some method of dsta transmission (ZigBee SmartShield for Arduino, or WiFi, etc.).

Easy enough to add an LCD to the Arduino as well.

I could build this with the right sensor component.

Perhaps this or similar? It needs to have the right capacity range and accuracy for your needs…

http://m.alibaba.com/product/60050330708/Low-Cost-OEM-or-Customized-SS316L/specifications.html


(Brian Smith) #3

Wow, @tgauchat…can you do that research a little faster next time? My hair wasn’t blown enough when you flew by.


#4

So a little more detail for you guys. This will be to monitor my pool filter pressure. I am a new pool owner and it seems like the pressure at the filter is something that you need to know in order to know when to backwash, check the pump, or check the pool water level.

My requirements for the sensor are 0 - 50/100psi (doesn’t matter), +/-1% accuracy or better, 1/4 - 18 NPT port, and as low of an input current as possible - I would like to run this off of a battery if at all possible. I want to minimize cost as well, but will pay for a decent sensor from Honeywell, Measurement Specialists, etc.

Would I need the analog to digital converter if the Arduino can handle analog?


#5

There are a bunch of these used in industrial applications, everything from air pressure to oilfields, but all the ones I know of are zigbee, not zwave. (Zigbee is typically better for outdoor use.)

Is there a reason you specified zwave?


#6

Just to keep it in line with the rest of my home automation equipment. My pump is about 2 feet off the side of my house, so there is no range issue. I guess I could always buy the SmartThings controller to replace my vera.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #7

Nope … Except that the A/D conversion of an Arduino may not be sufficiently accurate… then again, this paper implies it’s accurate if given stable input voltages, etc… Hmmm…

http://www.skillbank.co.uk/arduino/measure.htm

The ATMEGA chip used on the Arduino has analog inputs that can be used to accurately measure voltage

The Arduino microcontroller is provided with a successive approximation type Analog to Digital converter (ADC) which has the following specification. References shown in brackets thus (2: 26.1) refer to sections of the AtMega 2560 data sheet.
(2: 26.1)
Resolution 10-bits (i.e. 00 0000 00000 to 11 1111 1111 binary, or 0 - 1023 decimal)
Integral Non-linearity • 1 LSB
Absolute Accuracy ± 2 LSB
Conversion Time 13 - 260 µs
Input resistance Rain =100M (2: 31.8)
Input resistance of Reference voltage Rref = 32k (2: 31.8)

These specifications tell us the Arduino is capable of measuring voltages to an accuracy
of ± 2 LSB - so the maximum error is 2 bits (4 decimal) in 10 bits (1024 decimal)
So the accuracy of the converter is 4 / 1024 or 1 part in 256 i.e. 0.25%.

However the limit of the measurement accuracy depends on the voltage reference used.

The Arduino has its own voltage references - but they are not very precise


#8

Well, if you don’t have smartthings now, I wouldn’t add it just to get one sensor.

Pools are a bear, though. The chlorinated water is hard on everything that isn’t purpose built.

But here are a few more ideas.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #9

Pardon the rapid posting, but I like shopping :imp:

A quick search finds actual Digital Pressure Gauges for ~100psi to be in the $400+ range, and perhaps double or triple for wireless.

http://www.newark.com/noshok/1000-145-2-1/digital-pressure-gauge/dp/34P2821?COM=Embedded


But even this high-pressure sensor itself is $265!
http://www.newark.com/vdo-imt/3296075001/pressure-transmitter-0-10bar/dp/71C5563?COM=Embedded


Or this, etc.:


I guess the questions remain:

  1. Can “one-off” pressure-voltage sensor part be found with NPT connection and sufficient range, so that Arduino project could be built? Honeywell, etc., etc., manufacture this component. And lots of sources in China. Just hard to clearly understand the specs. There are lots of digital sensors with ICs, but I think these are mostly for low-pressure use (barometric, altimeter).

  2. Can a non-wireless digital gauge be found for a reasonable price (? $100, $400 ?) that can be converted to wireless?


#10

Normally I would say look at vehicle parts, which are typically smaller and cheaper because the max ranges are smaller, but…a pool. Most of the stuff you’re looking at won’t survive chlorinated water exposure. :fearful:

Look instead at Jandy or one of their competitors. See the link I posted above.


#11

I don’t think the board pressure sensors are going to hold up well to being exposed to chlorinated water, so one of the industrial types (Honeywell PX2 line or similar will have to be used). I could always put a tee on the valve coming out of the filter, put an analog gauge on one end, and the sensor/wireless transmitter on the other.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #12

So… perhaps this…?

~ $60
http://www.mouser.com/ProductDetail/Honeywell/PX2AF1XX150PSAAX/?qs=%2bp4ee0mpNfU8NQJtzHWFBA%3D%3D

Catalog link: http://www.mouser.com/catalog/catalogusd/647/2209.pdf


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #13

Right… so a MIMOlite would do the job of both A/D conversion and Z-Wave transmission of the result; but no local “LCD Readout” in that type of configuration. The advantage of a custom built Arduino base, is that the embedded software and cheap add-on hardware can be customized with a display function and more.

There aren’t many generalized Z-Wave add-on boards, though, because of Z-Wave licensing requirements (?).

http://store.homeseer.com/store/FortrezZ-MIMOlite-Z-Wave-Analog-Digital-Interface-P1683.aspx


#14

I could be ok with zigbee. I had been considering getting a smartthings controller anyhow.

So the cheapest route is to utilize an analog gauge with a tee for local and use a MIMOlite to handle the wireless. The most customizable route is to use an ardunio with zigbee for wireless and an LCD for local?

I am hoping, with either route, I can keep the box small enough to mount right onto the valve of the filter and not have to run a tube over to the side of the house to mount it.


#15

Looks like these are the ones I’m looking for:

Honeywell - http://www.mouser.com/ProductDetail/Honeywell/PX2EN1XX100PSAAX/?qs=%2Fha2pyFadugKUj%2bVuOxlcrWjJtFNsVAe26tXW2HHKwDk4uYOzeEBGA%3D%3D

Measurement Specialties - http://www.mouser.com/ProductDetail/Measurement-Specialties-Inc/M3031-000005-100PG/?qs=sGAEpiMZZMvhQj7WZhFIACpzmPIt%2bqfmmauypjEwUzM%3D

Looks like the Honeywell is about 3" total length and the MS is about 2.2". That might be the difference maker right there. Not sure why they are ~$30 more. Differences are 1/4 - 18 NPT pressure port, cable lead electrical connector, and 100psi max.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #16

I think you’re right… Direct mounting should be possible with either solution.

The Arduino route has the advantage in form factor, as there are a lot of Arduino clones of various sizes, and it is “easy enough” to even build one from scratch with just an Atmel chip and the minimum oscillator and power regulator bits.

The Spark Core is Arduino with cloud-connected WiFi on same chip & board. It may consume more power and have other range issues though.

The unknown with respect to MIMOlite is whether or not any sort of dynamic calibration algorithm is needed for the pressure module (based on temperature, voltage regulation?). Again, the Arduino software can be written to do some calibration adjustments.

I’d recommend using the tee with analog guage for both calibration and backup.


#17

Would I want to include a temp sensor so that adjustments can be made based on that input?


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #18

Temperature sensors, humidity, barometric pressure, etc. are all really cheap and easy to add to an Arduino project.

I think the biggest concern for accuracy is the voltage regulation, since that is what is driving the analog signal off the high-pressure guage.

First confirm the accuracy and calibration specs of the module itself. I presume output voltage is proportional to input × pressure.

Meanwhile we need to research what the is typical A/D accuracy of Arduino (or MIMOlite) and what folks add in software or hardware to optimize accuracy (e.g., perhaps they bypass the onboard voltage regulator for an external higher quality one, just a random guess). For super high accuracy readings, specialized chips are used that offload the A/D. These might even be quite cheap.

Anyhow… I’ll start some research.


#19

Start with a local electrician. Codes for what can and can’t be added to swimming pool equipment, and even in the splash areas around a pool, can be very specific. Besides the obvious electrocution issues, there are also fire safety issues. (Two words: “galvanic corrosion.”)

I would also add that pool water and tap water are chemically distinct, and equipment rated for use in tap water pipes is not necessarily safety rated for a recirculating pool pump, for example.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #20

There’s “Mr Wet Electric-Blanket” again :wink:

Yup … it’s up to @jc_cshmny (or the installer) to conform to codes. If I happen to build it, I won’t get it certified.