Tag Archives: internet

Getting started with the IoT on the farm with ezeio

 

Courtesy of eze System

A few months ago, I was approached by the folks at eze System, who wanted to know if their ezeio product would work with AyrMesh to help farmers measure conditions on farms and control equipment.

They were kind enough to send me one of the ezeio products so I could try it out. Insofar as it is a standard Ethernet (802.3) product, I had no doubt it would work perfectly with AyrMesh, and, of course, it did – I just connected it to an AyrMesh Receiver with an Ethernet cable and it appeared on my network.

What is cool about the ezeio is that it is a complete package – hardware, firmware, and back-end software – completely integrated and ready to plug in and go. It includes connection points for up to 4 analog inputs (configurable for 0-10V, 4-20mA current loop, S0-pulse, or simple on/off), Modbus devices, Microlan (1-wire) devices, and up to two relay outputs (up to 2 amps). This makes it a very versatile unit for both detecting and controlling things on the farm.

I set mine up on a table to see how it worked. The good folks at eze System included a Microlan temperature probe, so I set up my unit with that connected to the Microlan connector and a couple of LEDs (with a battery) connected to one of the relay outputs.

I then went to their web-based dashboard and started setting things up. It’s pretty simple – you get a login on the dashboard, and you add your ezeio controller. You can then set up the inputs (in my case, the temperature probe) and outputs (the relay) and then set up rules to watch the inputs and take appropriate actions. If you want to see the details, I have put together a slide show for the curious so I don’t have to put it all here.

The bottom line is that I was able to quickly and easily set up a system that checked the temperature continuously and, when the temperature dropped below a certain level, lit up an LED. Big deal, I hear you say, BUT – it could easily have been starting a wind machine or an irrigation pump or some other machine, and it could have been triggered by a tank level switch or a soil moisture sensor or some other sensor or set of sensors. It also enables me to control those devices manually over the Internet, using a web browser, without having to “port forward” on my router.

The ezeio is a very powerful yet easy-to-use device which, in conjunction with the web service behind it, enables you to very easily set up monitoring and automation on your farm. For the do-it-yourselfer, it is a great way to get started on employing the Internet of Things (IoT) on your farm. Even if you’re not inclined to take this on yourself, any decent networking technician  can easily set up your AyrMesh network and the ezeio to help around the farm.

The Internet of Things (IoT) on the Farm – Part 2

In Part 1, I talked a little bit about the vision for the internet of things, but I didn’t really define what I meant by the internet of things.

What I’m talking about when I talk about the Internet of Things is a profusion of small devices that are all connected to the network and therefore to the Internet. Whereas most of the things in your home that are connected to the network have keyboards and screens and are meant for you to interact with, I’m talking about things that instead have sensors and relays and actuators. In most cases, you won’t interact with them at all. They’ll just work automatically in the background either gathering data for you or controlling equipment. Most of these things you’ll set up and never touch them again, but they’ll be working quietly in the background for you day and night.

If you are as old as I am (and I hope you’re not!), you remember the first wave of personal computers: the Apple II, the CP/M machines like the Kaypro and Osborne, and the original IBM PC – these were amazing because they were real computers that could do useful things (spreadsheets, word processing, and calling bulletin board systems) but were small (the size of a suitcase, more or less) and inexpensive (a few thousand dollars – in the 1980s) enough for home use.

Raspberry Pi Zero – $5

The kinds of computers that we are talking about here are significantly smaller (typically the size of a credit card) and significantly less expensive (most under $100, many of them less than $10), even though they have 10-100x the computing power of those early personal computers. Instead of keyboards and screens, they have network ports and connections for various sensors and/or actuators; most can run for hours or days on a small battery – some can run for months. They can sit in in a tiny place, collecting data and transmitting it to the network, or waiting for a command to do something, for years.

Simple Air Temperature Sensor

Decagon Soil Sensor

There are also a wide variety of sensors available, from simple temperature or humidity sensors to weather sensors like anemometers and rain buckets to advanced soil sensors that can measure soil temperature, moisture, and electrical conductivity. There are even sensors for UV radiation, leaf wetness, and chemicals in air and water.

Simple small relay

But these little devices can do more than just sit passively measuring conditions. Devices can also be connected to allow them to take action, from simply turning something on to controlling complex machinery automatically. For instance, it is fairly simple to use a simple, small relay to turn an electrical machine on or off.

Raven PWM Valve

Multiple relays can be used for multiple devices, and relays come from very small, low-power devices to very high-power solid-state relays for switching very heavy loads. Many of these computers, however, also have the ability to output Pulse-Width Modulated (PWM) signals to control variable-rate devices like valves (control pressure through a water valve for irrigation or a hydraulic valve for controlling machinery) and pumps.

75 Amp Solid-State Relay

What ties it all together, of course, is two things: a network and software (both on the device and acting as some sort of “back end” to store and manage the data coming from these devices). Without software, any computer, even a $5 one, is just dead weight; without a network, it’s just sitting out in the field collecting data it can’t move to someplace it can be useful.

We know how to build the network – what Ayrstone does is give you the ability to build a strong, standards-based wireless network across your farm – and in part 3 we’ll consider the software part.

 

Sensor networks

Courtesy of Davis Instruments

Much has been written about the use of remote sensors in farming, with soil sensors leading the way. I think it’s worthwhile to understand how these sensors work and what options are available

We have highlighted some of these products (gThrive, Farmx, Edyn), and there are others coming up including Cropx and AgSmarts that we have not been able to evaluate in depth yet, although they are very promising and appear to be more focused on “mainstream” agriculture rather than specialty crops.

The soil sensor people understand that, to have soil sensors near the plants, you have to have sensors that are battery-powered (because you don’t get enough sun under the canopy to use solar). Because of that, most soil sensors use a low-power radio system; many use a “Personal-Area Network,” usually based on the 802.15.4 low-power, low-bandwidth meshing standard. These networks allow the sensors to use very little power so the batteries can last for months or even years. Additionally, the bandwidth (the amount of radio spectrum they use) is so low that they can transmit a very long distance with minimal power – frequently hundreds of yards – and the meshing capability means they can cover a very large area in a couple of hops. So these sensor networks actually ARE practical for gathering data from sensors, even in a very large field.

gThrive sensors and gLink gateway – Courtesy of gThrive

However, these systems, just like your home WiFi network, require a “gateway” device out in the field to connect them to the larger network (your AyrMesh network or the Internet). The Edyn sensor is an exception, because it connects directly to your WiFi network, but it is primarily aimed at gardeners, not commercial agriculture. Davis Instruments uses the weather station as the Gateway device, which makes it simple, but it does not use a meshing system, which limits how many sensors you can deploy. For almost all systems, sensors are not directly on your network or the Internet – the field network is a special network that only “talks” to the gateway device, and the gateway device “talks” to a normal Internet Protocol network – and that is usually a cellular modem connected to the Internet.

I generally discount analyst firms, but I have to reluctantly give kudos to Lux Research for hitting the nail right on the head: sensors are too expensive. With the exception of the Edyn, which you can buy at Home Depot (and connect to your AyrMesh network or other WiFi source), you have to buy:

  1. However many individual sensors you want,
  2. A Gateway device for your sensor network (possibly multiple gateway devices if you want sensors in multiple fields), and
  3. Cellular subscriptions for each gateway device.

This is a lot of “commitment” before you even figure out how to effectively use the sensors and the data that comes from them – thousands of dollars just to get started plus a monthly or annual commitment to get the data. These systems are being marketed primarily to folks growing wine grapes in California or vegetables in Arizona – high-value crops with severe water costs and restrictions.

There are changes coming, of course, but there are also ways to get started now with less commitment.

First, if you’re growing a few acres of cut flowers, organic vegetables, or other high-value, high-intensity crops, the Edyn system may be very useful. Put an AyrMesh Hub near your field and deploy the Edyn sensors and valves controllers. You don’t have to save a lot of time and water to justify the expense.

Davis Weather Envoy, courtesy of Davis Instruments

Second, Davis Instruments has a nice system that they don’t advertise much. Their Wireless Weather Envoy datalogger can be connected to any Ethernet network (e.g. a Remote AyrMesh Hub, an AyrMesh Receiver, or an AyrMesh Bridge) using their Weatherlink IP module. It can then connect to their Soil Sensor Station, which has up to four soil moisture and soil temperature probes.  It will also connect to a Vantage Vue wireless weather station, which is a very high-quality, low-cost, integrated weather instrument cluster that you can put up in any field in a matter of minutes. There’s a small annual fee for their cloud-based Weatherlink service, but it makes the system VERY easy to use.

If you need more soil sensors, they also build an Envoy 8x, which has the ability to simultaneously “talk” to up to 8 stations – weather stations or soil stations – within about 1000 yards.

Either the Wireless Weather Envoy or the Envoy 8x can be tucked into the cabinet of the Tycon remote power system we recommend for field Hubs, Receivers, or Bridge radios, and powered from the auxiliary power output on that system.

Third, if you do want to deploy many soil sensors using a system like gThrive or Farmx, you can connect the gateways in each field to an AyrMesh devvice to avoid exorbitant cellular fees for each gateway device. Their gateway devices have Ethernet ports, so they can be connected directly to an AyrMesh Remote Hub, Receiver, or Bridge unit, and you can skip the cellular bills.

We’ll have more on weather and soil sensors – if you have questions or comments, please leave them here (for public response) or contact us.

 

The “Third Wave” of AgTech

We wanted to quickly share an article published recently that impressed us quite a bit.

This article in DTN/Progressive Farmer talks about how information technology is making a difference in farming and how that is likely to accelerate in the coming years.

There are a lot of unknowns in the “AgTech” field – most importantly, which vendors and technologies are going to be genuinely important and which will be forgotten. However, one thing is clear: the technology of agriculture, and particularly of agricultural data, is here to stay. And, where you have data, you HAVE to have a way to move it. And, finally, the way to move data is using networks.

So we are encouraged by this article (and others we have seen) that predict increasing importance for data on the farm – it just makes the AyrMesh network that much more valuable for our customers.

The Internet of Things (IoT) on the farm – part 1

I read a LOT about the “Internet of Things” (abbreviated IoT) is in the news lately; you probably have see it too, and there is a lot of excitement around it. And I would argue there’s good reason for that – it is going to change everything, perhaps more fundamentally than cellphones and, later, smartphones. But it is important to understand what the IoT is, what it is not, and how it will affect life on the farm.

Courtesy of Nest

The IoT is not a single thing or even a particular class of things; it refers to a new generation of devices that are connected to the Internet and perform some function, with little or no human interaction. There are already a LOT of good examples, from the Nest Thermostat to kid’s Arduino toys, from devices that can be handy almost everywhere like a network-connected lightswitch, to highly specialized devices like grain dryer controllers or irrigation controllers. I would argue that little of this stuff is new; the things we are seeing being touted as “IoT” devices are really the same as things we already have, just made smaller, smarter, and less expensive. Frequently a LOT smarter and a lot less expensive, which is important.

Belkin WeMo WiFi Outlet

But the profusion of little, inexpensive, smart things all over the place is having effects we can’t fully understand or appreciate yet. The one thing we can predict with some certainty is that the people who understand these devices and put them to use intelligently will see tremendous gains, just as those who started using computers intelligently saw huge benefits. The question, of course, is, “How do I use these devices?”

Technical knowledge is much less important at this phase than imagination – in all honesty, the most technically competent people miss a lot because they are too invested in how things ARE, so they cannot understand how things COULD BE. So I pose this question to you: what on the farm could be made better (faster, cheaper, more profitable, or more enjoyable) by little computers with accurate little sensors (for light, heat, moisture, position, motion, and lots of other things) and robust built-in data communications infrastructure (WiFi)? What could you monitor? What could you control remotely (or even automatically), especially using the data you are getting from monitoring?

We’ll explore this more in future blog posts, but I would like to hear what you have to say, as well.

You can find Part 2 here, as well as a good post about sensor networks.

Saving money with AyrMesh

There are all kinds of new technologies and products available for farming – these new “AgTech” products hold real promise to change the practice and the economics of farming. But you have to evaluate them realistically to understand how they will help you improve your profit: increase revenue or save costs.

AyrMesh was designed specifically to help save costs on the farm, so it provides increased profits no matter what happens to yields and crop prices. There are several ways in which AyrMesh helps you reduce costs, directly or indirectly:

  1. Reduce the cost to simply move data – your cellphone (and maybe your tablet and/or laptop) has a cellular radio for data, and you pay a premium for using more than a minimal amount of data per month. By using the AyrMesh network, however, you can be disconnected from the cellular data network and save money you would have to send to the cellular companies.
  2. Employ new technologies that can save money – because AyrMesh is a standard, Internet-Protocol (IP) network, you can avail yourself of off-the-shelf products that just connect to your network. Examples include things like networked weather stations and soil sensor systems, but also grain dryers and irrigation systems. As security becomes an increasing concern on the farm, having an AyrMesh network allows you to quickly and easily place IP cameras so you can keep an eye on distant parts of the farm
  3. Be prepared for the future – new, time-saving and money-saving products are coming up fast, and you can be ready to put them to work. New autonomous vehicles, remote sensors, and remotely-operated machinery will be able to magnify the effort you put in on the farm, just like tractors and combines did in the late 1800s, increasing the profitability of farms.

But be careful: a lot of products being sold come with a “small monthly fee” to pay for a cellular modem to move data from the device to the company’s cloud servers. It’s a business model that works and it makes it easy to install new products, because the vendor doesn’t have to worry about setting up a network. However, as you adopt more and more of those products, the number of small monthly fees is going to add up fast, and none of them will work in fields without cellular connectivity.

Look, electronics and data aren’t going to grow the crops. But the information they can provide you can help you make better decisions, both season to season and day to day, to save money and increase yields. Smart investment in AgTech begins with thinking about the data – what you can use, how you will use it, and, most importantly, how you will get it from where it is generated to where it is useful. We are here to help with that last bit.

AyrMesh and the IoT: the Edyn Garden Sensor

I have been saying for some time that the AyrMesh network is the vital element for enabling the “Internet of Things” (IoT) on the farm. Because of this, I supported the Edyn Kickstarter campaign, and my Eden Sensor finally arrived on Friday in a box about the size of one of my shoes. i have been eagerly awaiting it, because I believed the combination of the Edyn system and the AyrMesh network would be a very powerful one for the home gardener or small farmer.

I pulled the box open and pulled out the device – I was very impressed by its relatively small size and apparent toughness – it feels nice and solid. I continued to pull apart the box to find the instructions and found… nothing else. Just cardboard. No instructions at all. Oops…

I took a look at the Edyn website and found very little, so I went back to the Kickstarter page and found the FAQ. It stated that the device is associated to the WiFi signal through the Edyn app, which is available for iOS or Android.

I pulled out my Android phone, went to Google Play, searched for Edyn, and found… nothing. (Note: that has changed in the last few days: the Edyn app is now in Google Play for Android devices).

So then I grabbed my wife’s iPad, opened the app store, searched for Edyn, and found… again, nothing. Then I realized it was only looking for iPad apps; I set it to look for iPhone apps and found it.

I should point out, of course, that none of these things deterred me in any way: I’m the crash test dummy for new devices like this, so I expect it to be rough when I first see it. My goal is to experience these rough spots so you don’t have to!

The device itself just comprises a molded plastic top, with a visible solar panel, and a metallic bottom probe with discs of metal and plastic at the bottom for the actual sensing application.

When I finally got the app installed on the iPad and got it started, I was taken through the process of creating an account and configuring the Edyn Garden Sensor. The Edyn is built with a VERY clever WiFi device called an “Electric Imp.” There is, obviously, no keyboard on the Sensor, so you have to get the WiFi configuration onto it somehow, and the Electric Imp uses a process called “Blinkup.” On the botton of the Sensor is a button and a small light sensor; you join the WiFi network (your AyrMesh WiFi network) on your phone or tablet, then type in the encryption passkey (from AyrMesh.com) in the Edyn app. You then hold the screen of the phone or tablet close to the bottom of the Sensor, and the screen blinks to send the WiFi credentials to the Sensor. The Sensor then joins the network, checks into Edyn’s servers (much like the AyrMesh devices do) and then appears in the Edyn app.

I must mention that, in my case, the Blinkup process was not entirely smooth… the Sensor accepted the password from the iPad, and it actually associated itself with my Hub just fine – I saw it appear in my router’s DHCP table. However, it gave me an error message saying “Uh-Oh. There’s a problem on our end. Please try again.” I tried several times with the same result, then fired off a note to support@edyn.com. They wrote back the following day, and, by that time, whatever the problem was was fixed and my sensor showed up in the Edyn app.

My Edyn sensor has been working just fine in my backyard for several days now – I have it in a pot with a palm I’m trying (unsuccessfully, so far) to revive. A few notes:

  1. I hope they’ll at least include a QR code somewhere in or on the box that leads to some setup instructions. It’s odd to pull the device out of the box and find absolutely no supporting documentation.
  2. The outside temperature sensor appears to be inside the case. In the final screen below, you’ll see it indicates 102 degrees, but the ambient air temperature was about 80. The humidity sensor seems to work OK, though.
  3. I don’t have enough information to judge whether or not the soil information being provided is accurate. It seems to indicate an increase in soil moisture when I water and it indicates it dries out when I don’t. I haven’t had the soil tested to verify its accuracy about fertility.
  4. Edyn also has an irrigation valve product that connects to a garden hose for automatic irrigation. I don’t have one, so I cannot test that piece – it’s relatively simple technology, so I’d assume it would work well and setup would be the same.
  5. The Edyn system is currently really designed for gardening, not farming. If you have a garden or even a small vegetable farm, for instance, it might be quite useful, but I don’t think it would be very useful on a large, production farm.
  6. The Edyn system is supposed to be on sale in Home Depot and other gardening centers soon.

There is no question about it: the Edyn and AyrMesh systems work well together and should be of significant benefit to gardeners and even smaller farmers.

Here are the screens I went through in the setup process:

The state of the art in soil sensors – Farmx

As mentioned in an earlier post, we have been working with the RoyseLaw AgTech Incubator. One of the benefits of the program has been the ability to work with some of the most innovative companies coming up. This is one of those companies.

FarmX, based in Tulare, CA, has launched its FarmMap solution in CA and is introducing FarmMap with special pricing for existing Ayrstone customers. To take advantage of this offer, please complete this form.

FarmMap is a low-cost smart farm automation tool that uses scientific grade instrumentation to give you access to all the information you need about your farm in simple, secure, all-in-one tool. The FarmMap’s cloud platform gives you constant, secure access to your data, recommendations and field health.

FarmMap’s system of soil probes gathers information across your acreage with 1 probe for every 10 acres and connects your farm to the cloud. Each FarmMap sensor probes captures key environmental, soil and plant health data in real-time.

FarmMap uses state-of-the-art machine learning techniques to uncover opportunities to improve productivity and reduce the cost of inputs, such as water and fertilizer. FarmMap gives you the confidence to make accurate decisions quickly, accurately, saves you time and gets rid of guesswork.

This is another example of the kind of technology that is available at very low cost when you outfit your farm with an AyrMesh network – each field can be outfitted with a FarmMap gateway device to communicate with their soil sensors, and you can connect the gateways to AyrMesh components (Hubs, Receivers, or Bridge radios, depending on your network) to connect them to your network.

Click below for more information about FarmX and FarmMap:

Ayrstone in the RoyseLaw AgTech Incubator

For the last few months, we have been fortunate enough to be part of the RoyseLaw AgTech Incubator. Our involvement in the incubator many benefits, including access to top people in California business and agriculture as well as the Silicon Valley venture capital community. We expect our involvement to result in many benefits to us as we move forward.

The most important reason we wanted to be part of the incubator, however, was to associate ourselves with some of the most interesting up-and-coming companies in agricultural technology. I would encourage you to check them out to see where “Ag-Tech” is going today.

One other benefit of the incubator is that we are part of the second annual Silicon Valley AgTech Conference on May 11. If you are interested in the future of agricultural technology and you’re going to be in Northern California, please attend the conference. There will be AgTech companies (like Ayrstone), investors, growers, and others with an interest in agriculture and technology.

Providing Internet Coverage in Distant Fields

The AyrMesh network can stretch out a long ways – with the AyrMesh Bridge, Hubs, Cab Hubs, and Receivers, you can extend your network for miles and miles.

But, no matter what, it seems that there is always at least one field your AyrMesh Network won’t reach. I’ll show you what I do to provide WiFi coverage in distant fields.

When I am testing the AyrMesh components, I am usually working remotely. A little while ago I picked up a few things:

  • TP-Link router

    A TP-Link MR-3040 portable router

  • USB cellular adapter

    A USB Cellular adapter (mine is from FreedomPop, because they provide good coverage where I work and are extremely inexpensive, but I also have a Verizon one I use in more remote areas)

  • A 20′ telescoping flagpole – these are available from lots of places; mine is from Harbor Freight Tools because it was inexpensive. There are better-quality poles (and longer ones) available.

The way I set it up is like this:

  • Power extender

    Inside the cab of my truck, I use a 2-way utility plug extender plugged into the “always on” utility plug.

  • Router plugged into USB power, with USB dongle

    I plug a USB charger unit into one of the plugs. The router runs off USB power, so it plugs right into the charger, and the USB cellular “dongle” plugs into the router.

  • Inverter, Hub power supply, and Ethernet cables

    I then plug a small inverter into the other power plug, and plug the Hub’s power supply into the inverter. I run a short Ethernet cable from the “LAN” port on the Hub’s power supply to the Ethernet port on the router, and plug a 30′ Ethernet cable into the “PoE” port of the power supply

  • I then run the long (orange) Ethernet cable out through the side window of my truck so it can be connected to the Hub.

    Ethernet Cable

  • Flagpole stand

    I built a mount for the back of my pickup, using a piece of steel, a length of PVC pipe, and a couple of hose clamps. Some people also use a “drive on” flagpole stand, or a hitch receiver flagpole stand.

  • I mount the Hub on the flagpole with a zip-tie, and connect the long Ethernet cable to the Hub.
  • Hub mounted on pole

    After making sure the Hub is on and connected to the Internet, I push the mast up to maximize the range of the Hub.

Pole extended, ready for use.

I can then set up a Cab Hub in a vehicle and use the Internet while I’m working, up to 2.5 miles from my truck.

This setup is not perfect for use on very windy days, because the flagpoles can move around and reduce the effectiveness of the Hub.

The other caveat is that you’ll want to locate the Hub at a high location so it receives a good cellular signal and maximizes the Hub’s WiFi signal. This only works well if you have a place with good cellular coverage and good “line of sight” to your fields.

Recently I have swapped out the power inverter and power supply for a power plug and a “passive PoE injector,” which actually makes the setup a little simpler. I also have a Verizon USB “dongle” that I sometimes use when I’m testing.

Setup with PoE injector and Verizon dongle

This setup is frequently very handy for me, and it can be very useful for you to use in remote fields. You lose the advantages of being connected to your “home” network (being able to browse files on your local machines or print to networked printers), but you should have good Internet connectivity for collecting data to the “cloud,” browsing the Internet, checking email, etc.