We work closely with SenseMyFarm, helping them build remote monitoring systems for Australian farms. Farms in India are about 1 hectare in size. Australian farms on the other hand have a median size of 1000 hectares! In NSW, the cattle farms feature rough terrains, unforgiving weather and the pure grit and experience of the farmers themselves!

The cattle there are mostly grass-fed and free-roaming (they do not have sheds for housing them). The farmers job is to ensure that the cattle have sufficient grass in their paddock, they are generally safe (say, using electrified fences) and most importantly that they have sufficient water. This sounds simple, but is far from it! Consider also the fact that each such farm may have just a couple or so people managing anywhere from 500 to 1000s of heads of cattle!
With limited water sources and cattle moving across multiple paddocks, it requires the farmers to be always on their toes looking out for everything they manage. A broken pipe could result in cattle going thirsty. A broken fence could become a big issue pretty soon as well. The most important job would be to ensure that the water water systems work well. That requires water pumps (which could be far away on some lake or tank) turn on and off optimally to ensure there’s sufficient water in the tanks and troughs as and when required. While most of the pumps are pressure or time activated, this results in a non-optimal utilization of the power available and could introduce wear for the pump system by a lot more of on and off cycles than ideally required. And most importantly, it requires the farmer to travel all the way to the pump site, usually on a 4×4 or a buggy or a dirt-bike; sometimes in freezing cold; to sometimes turn it on or off manually.
Driving to a trough location on a SenseMyFarm ‘ute’
We had prototyped LoRaWAN (Class C) based pump controllers. Now, LoRaWAN, is optimized more for uplinks than downlinks. It works wonderfully when the sensor has to send some data to the gateway and to the server, but faces practical restrictions and uncertainties when the server needs to send data to the server (say, a command to turn a pump on or off). There is a certain non-determinism built into this architecture, in its normal configuration, especially for downlinks.
Version 0 prototype of lorawan pump controller using an SSD relay
Since we had deployed a few hundred NB-IoT weather stations based on Nordic Semiconductors nrf9151 SoC, we thought it would make ample sense to try our NB-IoT board as the wireless controller. The firmware uses CoAP (which is a very lightweight communications protocol running on UDP) for packet transfer making it super fast and efficient.

Controller board featuring nrf9151 SoC
We wrote a CoAP (Constrained Application Protocol) API bridge in Go and integrated it to our platform as well.

CoAP bridge
The hardware is designed using modular parts and housed in an IP68 box for ruggedness, and easy replacement/ modifications. Features an ABB MCB for just the low-power side. A Meanwell SMPS for AC-DC conversion, and a 2 pole 25A contactor for the actual switching.

nb-iot relay controller prototype inside view
While there is an AC contactor for actually switching power to the pump being controlled. It is in turn controlled by a 10A relay and a control board that connects all IO (switches, LEDs etc) to the microcontroller via an I2C port. That is a few layers of isolation and deliberate modularity.

The manual operations are pretty simple and visual LED indicators display the current state
The wireless operations are even simpler using our online widget on your phone/ laptop/ tab. Click the button on to turn it on/ off from anywhere.

relay control widget
The most interesting use case is automating this using an IF THEN kind of setup on any water level meter. So, you can set a rule like if the water level is below x% or y cm, turn it on and another rule like if the water level is above z% or k cm, turn the pump off.

rule based pump control
Of course, once the data is on the platform you can export it, use webhooks to relay it to any third party system or just view the history to figure out what exactly happened and when

trendview
While we have tested it in our lab and it works fine, the aim now is to test this unit in a real farm in Australia with SenseMyFarm. We also have to configure the device once for the Australian telecom network/ SIM used. There are lessons from the field that are hard to be learnt on a test bench. Jithin Saji Isaac will be working closely with Rony Stephen and team at SenseMyFarm, to take this product’s journey to the next step.

