Tag Archives: farm wifi

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 Field Hub – Solar powered to extend the network

We have been asked multiple times how to extend the AyrMesh network beyond the availability of plug-in power. The key, of course, is solar panels and/or wind turbines, along with batteries to hold the power when the sun isn’t shining or the wind isn’t blowing.

Tycon Power has solved this problem for us by developing an integrated system just for the AyrMesh products: Hub, Receiver, or Bridge radio. The product to use is their RPPL-1212-36-30 unit. You can buy it directly from Tycon at their store site. This system with the 30 Watt solar panel will work in most of the country that receives an average of 3.5 hours per day or more – the red and dark orange bands on the standard insolation map. For areas in the light orange or yellow areas on that map, you will need to add a second 30W solar panel (with mounting bracket) or a wind turbine to keep the batteries charged.

Tycon also makes larger systems for multiple devices. The RPST-1212-100-70 system will provide power for two or three devices – for instance, a Bridge radio and a Hub or two “back to back” bridge radios.

As with the smaller system, if you get less than an average of 3.5 hours of sunlight per day, you’ll need to augment the power generation of that system with an extra 70W solar panel (and mounting bracket) or the wind turbine.

Higher is better

What does it take to set this up? Two things: very rudimentary wiring skills to connect the batteries and the solar panel with the solar controller, and the ability to set up a strong mast or tower. In our tests, we used a 7′ tall free-standing pole, but, for practical use, you’ll want a much taller pole or tower, embedded into the soil with concrete. You need, of course, to get the radios up as high as practical, but at least 25 feet above any obstacles for maximum range. This may require the use of a pole with guy lines or even a tower.

The system provides Power over Ethernet (PoE) for the radios, just like the power supplies that come with the AyrMesh products. The mechanical considerations (attaching the solar panel and battery pack to the pole or tower) is extremely simple, using either U-bolts or hose clamps.  Using this to extend your network out into your fields will enable you to use the AyrMesh Cab Hub to automatically move data off your in-cab computers and have WiFi coverage in your cab wherever you are on the farm.

If you have any questions about this, of course, please feel free to comment on this post or get in touch with us at support@ayrstone.com.

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:

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.

Long Range WiFi: two approaches

We didn’t invent the idea of putting WiFi on farms and ranches, although I think we’ve done a lot to popularize it. And it’s not really WiFi that’s important, it’s just having a farmwide network that you can connect to and move data with.

When we started, we realized there were two ways we could build out the farm wireless network, and that we’d need to support both ways. However, we had to start somewhere, and we knew that the best short-term “proof of concept” was using the mesh network approach: a bunch of high-power WiFi Access Points that are connected to the Internet and talk to each other using a meshing protocol. That’s what gave rise to the AyrMesh Hub.

Because the Hubs can be up to 2.5 miles apart, it allows you to extend your network out quite a ways from your home place, and that’s useful for a lot of people. It also allows you to “get in the game” for a minimal investment – a few hundred bucks for a Hub and a little time putting it up high and out in the clear gets you WiFi across your farmyard and out into your fields. Then you can extend the network from there with additional Hubs.

However, sometimes you just want to connect someplace into your network, and you don’t need to have WiFi. For those cases, a different approach is optimal: point-to-point microwave links, also known as “bridges.”

A bridge can use WiFi or a WiFi-like signal to connect two locations and pass data between them. Typically they are “Layer 2” devices, meaning that they work just like a long, wireless Ethernet cable. You plug one radio into your network (typically your router) and then plug the other radio into whatever you want to put on your network (a computer, IP camera, WiFi access point, etc.), and everything works just like it was plugged into your router.

The AyrMesh Bridge uses microwave radios that use the 5.8 GHz. band (used for 802.11 WiFi “a,” “dual-band n,” and “ac”), but they use a special “narrow-band” microwave signal that increases the range, reduces the effects of interference, and makes the signal invisible to WiFi “sniffers.”

Of course, if you are just connecting some distant device or devices into your network, you can also use an AyrMesh Hub and an AyrMesh Receiver. It will actually work the same way; the differences are:

  • The AyrMesh Bridge is just a wireless Ethernet cable that doesn’t provide a wireless signal usable by anything else. The AyrMesh Hub provides WiFi that other devices can use.
  • The AyrMesh Bridge is a “1-to-1” system, but you can have several Receivers talking to one Hub.
  • The Receiver can be up to 2 miles from the Hub, but the Bridge radios can be up to 5 miles apart.

It’s not necessarily an “either/or” thing. Several AyrMesh users are using the AyrMesh Bridge to reposition their Gateway Hub to the top of large structures (e.g. grain legs) to give the Hubs maximum range. A couple of people are using their Hubs for WiFi but providing connectivity to other buildings using Bridges (with the Hub and the Bridge radio mounted next to each other on top of the house or office). And you can use a Bridge connected to a Remote Hub to connect a device several miles away from the Hub.

There are a lot of folks out there selling wireless bridges – we think the AyrMesh Bridge is the best for one important reason: it’s the easiest to set up and use. No configuration is needed: you just connect both radios in the Bridge to your router. They download your configuration from AyrMesh.com and then all you have to do is mount them outside pointing at each other.