Hello,
My company produces a control box for our customer which then supplies these to end users at locations all over the US. In the control box, the device uses the Boron module and is monitoring some different items.
The control box can monitor the current of pumps attached to the system by means of measuring the analog output of a current sense IC.
In normal operation, if a pump was in water and pumping water, the current sense component would measure a value between 350 and 400.
In normal operation, if a pump was out of water, the current sense values measured were usually measured around 100 to 130.
A middle of the road value was chosen of 225 as the threshold.
If the current sense is above 225, the pump would stay on.
If the current sense is 225 or less, the pump would shut off. If the pump successfully measured current above 225, (water present), the circuit would need to measure a value below the threshold for 60 continuous seconds to be able to shut down.
I have the ability to request the current sense value from units in the field. I can also change the threshold in the field. For example, I can change the pump 1 threshold to 275.
The issue that we are seeing is that a handful of units that have the pumps stay on even though they should shut down. In these cases, the current sense values seen on these units needs to be increased to about 270 from a value of 225. On these units, the current sense values for the pumps exceed the 225 value and will not turn off the pump. As stated earlier, the normal value seen when a pump is out of water is a value between 100 and 130.
For the A to D functionality, I am using the code found at
I then have my own code that takes the A to D measurements and uses a moving average to provide a more steady analog reading.
We had shipped devices that were running DeviceOS 4.0.2. We then made other functional changes (unrelated to the current sense code) and updated the DeviceOS to 6.1.0. And additional updates to DeviceOS 6.2.1.
When I have monitored a unit that has a larger current sense value, all of the other A to D readings seem to be correct (the device is monitoring A to D readings on different pins as well). It does not appear that all of the readings are corrupt.
Just curious if anyone else has seen any strange behavior with A to D readings in the field with Boron units.
Thanks.