Category Archives: Other Networking Products

Posts about other networking products that work well with Ayrstone products

Unmanned Aerial Vehicles (“Drones”) and Wireless Farm Networks

One of the hottest topics in “Ag Tech” at the moment is Unmanned Aerial Vehicles (UAVs, also known as drones) and the role they can play for the farmer. Drones are hot right now, in Ag and other industries, because technology has made them much more adaptable and much lower in cost.

The possible benefits are tantalizing: an automatic, self-flying platform that can loft things into the air, take them where you need them, and take actions you prescribe. Just a few of the things drones can conceivably do for you:

  1. Take visible-light, near-infrared, and infrared photographs of all your fields at much higher resolution and in less time than satellite
  2. Get instant thermocline and other weather data (pop up 1000′ and check the temperature, wind speed, barometric pressure, etc.)
  3. “Run and get it” service for small items (see the beer drone and Amazon Prime Air)

When I was at the World Ag Expo a few weeks ago, there were several companies showing off drones and talking about drone-based ag services. Please make note of the distinction between drones and drone-based services, because, at the moment, it’s important. Or maybe not. I’ll explain as well as possible.

The Federal Aviation Administration has had a long-standing rule against the use of UAVs for “commercial purposes” – anything involving making money. Now, you can buy model airplanes with very sophisticated self-flying and video systems for fun or research, but not for any money-making purpose. However, a number of people couldn’t help themselves in making use of these amazing machines to enhance their businesses, and they have been getting “cease and desist” letters from the FAA. One guy named Raphael Pirker actually was fined by the FAA, giving him the opportunity to challenge the fine. He appealed to the National Transit Safety Board, and the administrative judge there ruled that the FAA did not have in place any actual regulations for the use of UAVs in non-navigable airspace, and therefore could not enforce the fine against Pirker. There’s a good article about this in Scientific American.

So, apparently, one currently can use UAVs for commercial pursuits, with some (not entirely clear) limitations. I’ll bet if you take your drone anywhere near a commercial airfield, for instance, you’ll get to meet some members of law enforcement and spend time with them. I’ll bet if you take your drone near any government installation, you will get to spend a serious amount of time with members of law enforcement and/or the military. In either case I’ll wager you’ll get to contribute a good amount of money to the government. And there are undoubtedly some private citizens who will happily shotgun your UAV out of the sky on sight.

I’ll also wager that the FAA (or some other part of the government) will create some rules about UAVs to protect people from stuff falling out of the sky on top of people and property, and having our neighbors peeking in 2nd (or 102nd)-story windows. But, for the moment, it looks like the skies are open, particularly out in the rural areas, and I expect farmers to be the first to benefit from UAVs. Some people like Chad Colby are already talking publicly about the opportunities.

Honestly, I think the current “state of the art” is mostly a plaything: the drones that are currently available are mostly manually radio-controlled and focused on live picture-taking. UAVs I have seen that might be put to use on the farm must be charged, taken to the field, flown around the field, and then the pictures (or other data) downloaded off the UAV (by bluetooth, WiFi, or transfer from some kind of flash card). This is a significant commitment of time, which limits how often you can really use the drone. A crop scout may be able to save a lot of the time he would normally spend by using a UAV to survey fields, but there’s benefit to the grower having a drone or drones that would continually survey fields.

The reason I am particularly interested in Ag Drones is because I believe they can become an important part of the day-to-day information-gathering apparatus. To be truly useful, however, I believe they must be:

  • Autonomous: flying over your fields automatically without intervention. Ideally, they would have a “home” out in the field where they would stay, and they would do their flying at specific times with no human interaction needed.
  • Smart: able to recognize problems and take appropriate action – recognize if there is something different in the fields, avoid danger, and report back
  • Connected: automatically uploading data collected and sending alerts to you as needed. For instance, a drone flying over your fields taking infrared photos might use the wireless farm network to automatically upload the pictures to a service that automatically scans them for anomalies indicating crop stress.
  • Self-maintaining: self-charging and self-monitoring, needing little maintenance and letting you know when it needs “help”

My own vision is that an Ag drone should be programmed with pre-configured flight paths and connected via WiFi with a wireless farm network for constant (or at least mostly constant) communication. It should be able to download changes to its schedule and pre-configured flight paths off the network, and It should also be able to land on a platform that will automatically charge the drone’s batteries for the next flight. Set up this way:

  • The grower, scout, or agronomist doesn’t have to go out and mess around with the drone – it can just do its thing as often as it needs to (pending charging of the batteries)
  • The data can be automatically collected on the grower’s PC or on a central server (on the farm or on the Internet) – it can even be automatically processed and problems (plant stress, aberrant weather conditions, etc.) can be automatically reported to the grower
  • The drone works for the farmer, not the other way around.

All the pieces exist today to create drones that can meet these criteria, but I’m not aware of any pre-built planes or copters that are ready-to-use. However, there are open-source software projects that have built auto-pilot systems for drones and other robots (e.g. the ArduCopter), and there is discussion of induction charging of quadcopters in the “DIY” forums. And heavier-lift copters (capable of picking up fairly heavy items and transporting them) are also in the works. Imagine being able to get out your cellphone and “tell” your copter to bring you the parts you forgot back at the workshop, then hearing it whirring its way toward you a few minutes later. And then, when it delivers them, it DOESN’T TELL YOU YOU’RE AN IDIOT for forgetting the parts. For me, that would be nearly priceless.

In short, I think there are a lot of possible benefits from using UAVs on the farm, and I’m eager to see them start to deliver those benefits. However, I think a lot of the benefits are greatly enhanced by having the UAVs connected to a wireless farm network – I believe the two technologies will work hand-in-hand, each enhancing the value of the other.

Farm Security with SightHound

“Farm security” used to be synonymous with “watchdog” or maybe “shotgun,” but farms have gotten a whole lot bigger than even a big dog or a light sleeper can protect. And farm equipment and inventory haven’t gotten any cheaper to replace.

For that reason, I have long been a proponent of using cameras for both farm operations (e.g. being able to see what’s going on in a livestock barn while you’re in bed) and farm security.

For operational use, IP cameras are easy (as long as you have a network). Just hook up a camera, find its IP address on your router, and use a phone, tablet, or computer to take a look any time you want. If you want to see it when you’re off your network, port-forward to the camera from your router.

For security use, however, you want to watch it all the time. Staying up all night staring at the computer screen is not really practical, but there are some good alternatives. My favorite one is a program called “Sighthound.” It runs on your Windows PC or Mac, it’s reasonably priced ($250 as I’m writing this), As long as you have a machine that’s on 24×7 (like my desktop machine), it’s a great solution.

Sitehound has a number of attractive attributes:

  • Runs on either Windows or Mac
  • Works with a very broad variety of cameras
  • Very easy to set up and use
  • Object-based motion tracking instead of just motion detection

That last point deserves some explanation – simple motion detection (like the built-in detection on inexpensive IP cameras) just looks for pixels to change from frame to frame, and they “alarm” if a certain percentage of the pixels in the picture change. The problem is that a lot of the pixels change any time the lighting changes (sunup, sundown, sun going behind the clouds, etc.) so you get a lot of false alarms. Better systems allow you to specify “zones” for motion detection, so you are only considering the part of the picture you are actually concerned with. This reduces, but does not eliminate these “false positives.” But Sighthound uses a much more accurate (albeit processor-intensive) method to identify and track moving objects in the picture. In the picture here, Sighthound is tracking the dog walking through the living room – you can see the dog in the yellow box near the bottom of the screen. This video was recorded automatically from the moment the dog moved until she went out of sight. However, even on a day when clouds are crossing the sun and the light coming through the window is almost constantly changing, it doesn’t record unless the dog (or something else) moves.

Sighthound has a number of really nice features, including a built-in webserver which allows you to view it from another computer, tablet, or smartphone. You can port-forward to your computer and access Sighthound from anywhere on the Internet.

Sighthound is, of course, no better than the cameras and computer you are using – if they are poorly set up, unreliable, or have poor connections to the network, Sighthound will fail to work properly. But, if your computer, network, and cameras are reliable, Sighthound can provide outstanding monitoring and alerting for your farm or ranch.

 

A new take on the “WiFi vs. Cellular” question

Every so often I run into someone who asks, “Why would I want a WiFi network across my farm? I have a cellphone that will access the Internet anywhere I go…”

It’s kind of a funny argument, for a few reasons:

  1. If you have good cellular data access across your entire farm, you’re in the minority – most people in the rural U.S. and Canada have no or only very slow Internet access via the cellular network on some, most, or all of their properties.
  2. Even if you have Internet access via cellular, it’s almost always slower than WiFi. It’s been my experience that people appreciate WiFi a lot more after they get a smartphone.
  3. Having a local-area network (LAN) enables you to do more than just access the Internet – it allows you to use IP cameras, weather stations, soil sensors, and other devices to keep track of what’s happening on the farm, and even use network-connected relays, grain dryers, irrigation, lighting, and HVAC systems from anywhere on the farm

The cellular service providers (AT&T, Verizon, etc.) originally only used the cellular networks for both voice and data – but the data connections were at “modem-speed” – kilobits per second. Then smartphones (led by the Blackberry and Nokia phones) started to be capable of much more data usage – email and even some web browsing – and phone manufacturers started including WiFi connectivity. Later on, cellular providers offered faster cellular data options (“3G” and “4G”), but modern smartphones still use the cellular network for voice, and the voice network is still separate from the data network. The upshot is that, in many rural areas, you can make or receive voice calls and get or send text messages, but you may not be able to load a web page or send an email unless your have a nearby WiFi network.

A new article in Businessweek points out some new providers are actually turning that model on its head, introducing phones that use the WiFi network by default for voice and data, and only access the cellular network if there is no known WiFi network in range.

Now, I have a cellphone with a data plan, and I pay over $120 per month even though my phone is on WiFi about 90{8fd1ffa65f67a2e931916b3c1288d51eed07dc30586a565c92d055673de7c64e} of the time. If I weren’t traveling all over the place on Ayrstone business, I’d be very tempted to get one of these Republic Wireless or Scratch Wireless phones and save about $80-100 of that bill per month.

For people who have a Wireless Farm Networking system to provide farmwide WiFi, these new phone plans may be very tempting.

What do YOU want for Christmas???

We were curious about that question ourselves, so we commissioned a survey of growers across the corn belt.

We got over 100 responses to our call from Minnesota to Tennessee and Ohio to Nebraska, all across the Midwest.

All things wireless top the list of technology-related gifts that farmers want for Christmas this year. More than 40 percent of those surveyed are putting wireless remote cameras and wireless remote weather station / soil sensors on their lists. And nearly 50 percent would like a wireless farm network that extends up to 7.5 miles from their homes.

Farmers are also frustrated by the lack of connectivity on their farms. In fact, nearly 80 percent of those surveyed said they are frustrated that their wireless network does not extend to sheds, grain bins or nearby fields.

Other technology-related gifts that farmers say they want according to the survey include wireless remote grain monitoring, an iPad or other tablet, a new router, and remote thermal imaging.

If you’re worried that Santa might not deliver this year, you might want to take care of yourself: go to ayrstone.com and start a new AyrMesh Network for yourself (or expand your existing network) so you have the wireless access you need!

The hard part of wireless networking: the wires.

It’s actually an old joke in the wireless networking world: what’s the worst part of wireless networking? The wires!

(OK, it’s an old dumb joke…)

While having WiFi all over the farm is incredibly useful, the only way to make it happen is using Ethernet cables. While Ethernet cables are very simple devices, there are an amazing number of variations and types of Ethernet cables, an choosing the wrong ones (or using them poorly) can cost you time and money.

What is an Ethernet cable?

Courtesy of WikiMedia

Ethernet cables all have some common characteristics: they contain 4 pairs of wires, with each pair twisted around each other (so they are called “twisted-pair” cables). They have an outer sheath to protect the wires inside and they use RJ-45 connectors to connect to networking devices.

The 4 pairs of wires inside the sheath are usually colored green, brown, blue, and orange – one solid and one striped for each color. The wires are usually 100{8fd1ffa65f67a2e931916b3c1288d51eed07dc30586a565c92d055673de7c64e} copper, but some cheaper cables are made of alloys. Alloy cable works OK for short lengths, but should not be used for cables longer than 25 feet. There is sometimes an uninsulated wire running down the middle of the cable called a “drain wire” – this is meant to provide a common ground for the equipment the cable is connected to.

The wires are usually about 24 gauge (AWG), but some cheaper cables use 26 gauge wire, and some more expensive cables use 22 gauge wire. Obviously, the bigger the wire the better, as long as it’s pure copper, but bigger wire also makes heavier cables. It makes a difference if you’re hauling it up a ladder, believe me.

Kinds of Ethernet Cables

Under the sheath, some cables have a shield made of metallic braid or foil. This shield keeps outside noise from penetrating the cable and disrupting the signal on the wires. Unshielded cables are designated as “UTP” (Unshielded Twisted Pair), while shielded cables are designated “STP” (Shielded Twisted Pair). Our experience shows that any cable over 25 feet should be shielded to prevent corruption of the data on the wires and maintain the speed of the data.

You will see, shopping for Ethernet cables, that there are several “Categories” of cable – Cat 5, Cat 5e, and Cat 6 are the common ones available now. The differences are in the speed rating of the cables – Cat 5 can pass data at 10 Mbps or 100 Mbps, Cat 5e can pass data at 10, 100, or 1000 Mbps, and Cat 6 can go up to 10 Gbps. Any of these will work well with AyrMesh equipment – we usually buy Cat5e cables because they are less expensive and widely available. The main physical differences in the cables is how tightly the wire pairs are twisted together.

Finally, the sheath itself can differ quite widely. The normal sheath is usually a form of polyolefin, which does not burn easily. “Plenum-rated” and “Riser-rated” sheaths are coated with a low-smoke PVC, which makes them even more flameproof and reduces the toxicity of the smoke if they do catch on fire. “Direct burial” cables generally have a very thick and heavy sheath, and they may contain a gel that prevents a nick or cut in the cable from admitting water into the cable. Obviously, if water gets into the cable, the wires can corrode and the cable will go bad, but direct burial cables are usually very stiff and very heavy, making them extremely difficult to work with.

Whichever cable you choose, it is imperative that you handle it correctly. Because the cable consists of a bunch of small wires, it is really no stronger than any of those wires. It’s very easy to get a kink in a cable when you’re pulling it through a hole, for instance, and break one of the wires. When that happens, the cable is generally useless.

General Guidelines for Ethernet cables used with AyrMesh products

  • Make sure the cables are all-copper and shielded (STP) if they’re 25 feet or longer.
  • Try to get 24 or 22 AWG wires in the cable.
  • Get plenum-rated or riser-rated cables for use indoors, but don’t use direct burial cables unless you’re going to bury them – they’re too hard to manage.
  • ALWAYS leave a “drip loop” when you’re bringing a cable run from outside to inside a building so water doesn’t run down the cable and ruin equipment!
  • Be VERY careful pulling cables – they are more fragile than they seem!

A little technical talk about WiFi

Adam Gittins has published another terrific post on his Precision Ag Explained blog about problems he ran into getting his AyrMesh network up and running.

It reminds me that WiFi isn’t entirely straightforward, and some explanations of the vagaries are in order.

As Adam points out, interference is potentially a huge problem on WiFi. One problem is that the 2.4 GHz. WiFi band was partitioned out into 11 channels (in the U.S. and Canada), but most of those channels actually OVERLAP each other. There are only THREE DISTINCT CHANNELS: 1, 6, and 11 – all the other channels overlap at least one of these three (and each other). For a good explanation with graphics, I always recommend Wikipedia.

As he points out, if you have your “indoor” WiFi and your “outdoor” WiFi on the same channel, they’ll interfere with each other, reducing the range and bandwidth of both. Even if they are less than five channels apart this will happen to some degree. The AyrMesh network always comes by default on channel 6, so you can either change your home router’s channel to 1 or 11, or change the AyrMesh channel using your account on AyrMesh.com.

InSSIDer – courtesy of MetaGeek

We use and recommend a couple of tools to help discover WiFi interference. InSSIDer for Home is a free program that run on Windows, Mac, or Android, and shows all of the WiFi Access Points in range of the computer and a pretty good estimate of the signal strength of those Access Points. (NOTE: It has recently been pointed out that getting InSSIDer for Home from the Mac App Store actually costs $4.99)

WiFi Analyzer for Android, Courtesy of farproc

WiFi Analyzer is another free app that runs on Android. It’s a little simpler and quicker than InSSIDer, and has become my “go-to” solution for taking a “quick look around” on my phone.

It’s worth noting that there is no analogous app for the iPhone because Apple doesn’t allow direct access to the WiFi card. However, there are similar apps available if your iPhone is jailbroken.

Chanalyzer Spectrum Analysis, courtesy of Metageek

Just to make it a bit more interesting, however, I have to point out one more fact: WiFi is far from being the only thing using the 2.4 GHz radio band. Cordless phones, baby monitors, wireless surveillance cameras, certain radars, and microwave ovens all use the same spectrum, so they can all potentially interfere with your WiFi. This is, in fact, precisely why Metageek gives away InSSIDer – they sell tools called “Spectrum Analyzers” – their “Wi-Spy” Spectrum Analyzers are excellent and relatively inexpensive. They can show not just WiFi interference, but all the interference in the 2.4 GHz. band. They even offer a very nice “Wi-Spy mini” bundled with their “InSSIDer for Office” product for only $199.

You probably won’t need a spectrum analyzer for your AyrMesh network. Out in the country there’s very little interference, and it takes a while to learn how to use a spectrum analyzer effectively, even with Metageek’s excellent software.

However, getting a copy of InSSIDer and/or WiFi Analyzer is something I recommend to everyone who’s curious about their local WiFi environment.

A different approach to WiFi cameras: Dropcam

I have been using a Dropcam for about a year now and have been very impressed with it. It is a very low-cost WiFi IP camera that, instead of offering local viewing through a webserver on the device, automatically streams its video to Dropcam’s servers, where you can view the video from anywhere on the Internet.

Just to review, the way a “normal” IP camera works is that it has a webserver on the device, and you access that webserver in order to view the video from the camera. For instance, if you connect the camera to your router, you’ll check the router to find its IP address – let’s say, for instance, that it’s 192.168.1.47.

You then use a web browser to view http://192.168.1.47, and your camera shows up there. However, if you want to view  your camera from outside your network, you have to “port forward” a port to the web port on the camera. A number of factors can make that operation difficult.

The Dropcam does away with all of that, because the camera is only attached to your computer with a USB cable ONCE for configuration (it gets the WiFi configuration from your computer – mine uses the WiFi signal from my Remote Hub out in my workshop), then it joins your network and streams its video to dropcam.com. The camera and dropcam.com website have proven to be very reliable.

It is powered with a mini USB cable (5 volts), which is included, along with a wall plug USB power adapter.

Dropcam allows you to view the video from your camera for free on your dropcam.com account. If you want to record the video so you can go back and look at past video (e.g. for security purposes), they have inexpensive recording subscriptions.

They have a number of demo cameras set up – including a nice one looking out a window onto Monterey Bay in California. While I couldn’t find a demo camera on a farm, this gives you a nice idea of how good the picture is and what the interface looks like – very good, very easy to use.

The Dropcam is very good, but it’s far from perfect. The big advantages are:

  • Easy to set up and use
  • Small, lightweight, inexpensive
  • Transmits video AND audio – look and listen
  • IOS and Android apps for viewing cameras
  • Visible over the Internet, no port forwarding

However, it has a few very salient disadvantages:

  • Not suitable for outdoor use – indoor use only
  • No local access – you HAVE to be connected to the Internet to view the camera
  • Fixed lens – no telephoto, no wide angle, no point/tilt/zoom
  • A couple of seconds delay between the camera and the video stream

If you have a place you want to keep an eye on, Dropcam is an excellent choice. The quality of the camera and picture is comparable to my “favorite” indoor camera, the Axis M1033-W. As you can see, although the camera has to be indoors, it does a nice job showing outdoor scenes if it can be placed inside a window.

Dropcam is, potentially, a very useful tool for your home and farm.