Wednesday, December 3, 2008

Nanostations in the "field"

As noted in my previous post, I have been doing quite a lot of work with wi-fi radios. I took the Ubiquiti Nanostation 2 radios out for some in-field testing, and discovered some interesting things.

First, I set one up on my roof to try my "integrated solution, Mark I:" Nanostation 2 hooked up to a 7 Amp-hour (A-h) 12 volt battery, with a 5 Watt solar panel and a SunGard charge controller. It worked very well for about two days, and then the battery went dead. I then replaced the 5 watt solar panel with a 10 watt unit, and it went until the first storm before dying. Bottom line: 7 A-h is not enough battery.

In my testing, I have found that the Nanostation 2 pulls about .2 - .25 amps, or about 3 watts. Hence, to run all day requires about 72 watt-hours, or, at 12 volts, almost 6 A-h. If you don't get sunlight for a day, the battery is toast.

My next experiment was to replace the Nanostation with a 63 ohm resistor and try taking out the charge controller and see what effect that would have. The battery has been progressively losing voltage and not coming back up to full charge, and it's at 8 volts today. This indicates that the 10 W solar panel might not be quite powerful enough to keep up with the Nanostation. Interestingly, the resistor is rated for 5 watts, but it's mighty warm.

I found you could get a 50 A-h marine battery at Costco for about $50, and that should provide enough storage to get through a storm, but it won't fit into my scrounged-from-Halted NEMA 4 weatherproof box.

My next adventure involved some radio range testing with the Nanostations. I cajoled a friend of mine to come down to the fields in the Coyote Valley on Santa Teresa Blvd. We didn't have a lot of time, so I put simple "9 dBi" rubber-ducky antennas onto the radios, put one up on the truck, and sent Ethan out for a half-mile walk with a GPS and another radio. I watched the signal strength on my laptop from the truck, and was encouraged by the results.

I also tried replacing the 9 dBi rubber ducky on my end with a 15 dBi, 6+ foot antenna I had purchased. The signal strength diminished noticeably, which was disturbing, but we were out of time so we packed up and went home.

Then, last week, I went afield again to do some testing. I put one Nanostation on a 10' pole on a fencepost, and then drove to another point .85 miles away. What was intriguing about this experiment was the behavior of the "remote" radio. The stationary radio was set on Channel 3, using Wireless Distribution System (WDS), in AP mode, with the MAC address of the remote radio "hard-wired" (entered manually into the WDS table).

The remote radio was started in WDS-AP mode, but, despite having better than -80 dBm signal, would not "link" with the stationary radio. Reset into WDS-Station mode, it linked up perfectly and was able to transfer information back and forth at more than a Megabyte per second.

Why could it not connect in AP mode? Is it more sensitive to distance? (I found the distance parameter on the "stationary" radio was set to half a mile, but I can't imagine that could make too much difference) These are the mysteries in my life.

Incidentally, I tried the 15 dB antenna again and, again, it was outperformed by the rubber duckie. I thought it could have been the frequency (I had tested it on channel 11 the first time), but it was almost as bad on channel 3. I thought it could have been off-vertical (it has a pretty narrow beamwidth), so I moved it around vertical for a while to see if it got better. It didn't.

So I'm decidedly disenchanted by the 15 dBi antenna, and I'm still not sure about hooking up the NanoStations as a pseudo-mesh using WDS, half a mile apart.

Watch this space, as they say.

Monday, November 24, 2008

Three good months of learning about wi-fi, writing and re-writing business plans, and networking, and I'm approximately where I was when I wrote the last entry.

But I'm learning a lot.

I started out by evaluating Meraki - they have very nice equipment and a system that is really both beautiful and effective. I was able to get a couple of Meraki nodes on Ebay and put them up on my home network. I can't say enough good about them - the system really works well for providing well-isolated internet access across a geographical area. However, my problem is that I want to distribute a LAN, not just internet access, and Meraki's system does not enable access to your LAN. This is a good thing in a "metro" network (you don't want random folks wandering through your LAN) but doesn't fit into my needs.

I then evaluated Open-Mesh, buying two nodes from Open-Mesh.com. I found some basic reliability problems with them, particularly the well-documented problem of the nodes losing connectivity after a brief poser outage. I actually found mine would not connect if the power was off for less than 20 seconds. When I move or reboot a node, I have to remember to unplug it, go do something else, then plug it in again.

I initially decided that they couldn't access my local network because, while they posessed 192.168.1.x addresses (my local NAT) and I could SSH to them at that address, they were providing DHCP addresses in a different net. The Open-Mesh nodes are also very low-power and not suitable for outdoor use. Given those disadvantages, I decided to put them aside.

I took a look at Ubiquiti's radios, particularly the Nanostation 2. It's a terrific radio - sealed, weather-resistant, with an open-source-derived OS called AirOS for which they provide an entire SDK to suppport the creation of third-party software. It also puts out 26 dBm to either an external antenna (now attached with the "standard" SMA-RP connector) or an internal "adaptive polarity" 10 dBi directional patch antenna. One of the standard features is a Wireless Distribution System (or Wireless Domain System, WDS) implementation with an "Auto" feature that can automatically associate with other nearby WDS radios. They also implement Spanning Tree Protocol (STP) to prevent looping in this sort of an ad-hoc network. This provides the same benefits of B.A.T.M.A.N., the protocol used in Open-Mesh, and just distributes the LAN instead of providing "public" hotspots, client isolation, and other features I don't want or need.

It turns out that there are two problems with this approach. First, the "Auto" feature generates a lot of traffic as the number of nodes increased. With three nodes on "Auto" WDS mode, the traffic overwhelmed my little (factory-spec) Linksys WRT54GS. I was afraid of what might happen when I pushed that up to 10 or 20 nodes.

The second problem is that WPA cannot be used in conjunction with WDS. This is a technical limitation of at least their implementation (see here and numerous other places in the Ubiquiti forums) if not WDS and WPA in general.

This brings me to a conundrum: WEP is not very secure (better than nothing, but still...) and the only way to get WDS to work reliably is to set up the partnering manually.

Now, going back to Open-Mesh, it turns out that you can access the LAN, but it does not seem to be reliable in my network. Sometimes it works, sometimes for some nodes, sometimes it doesn't work, for any nodes. However, if I could get the B.A.T.M.A.N. - RoBIn combo working the way I want, I could load OpenWRT onto the NanoStations and try building a NanoStation OpenMesh node. In fact, I might even try just running B.A.T.M.A.N. and see if I could build what I want without the other parts.

That's where the ag mesh network is as we swing into the Thanksgiving holiday.

More to come...

Wednesday, August 27, 2008

Another fine mesh

Greetings from my laboratory. My house has become a hotbed of microwave radiation. I now have my old, reliable D-Link router/switch/access point, two Meraki mesh routers (one "mini" and one "outdoor"), and two Open-mesh routers working in and around my very small house. There are also a Linksys WRT54GS and a $40 OpenWRT box (purchased from the internet) kicking around here, as well. Oh, and just to be complete, I got myself a FON router and directional antenna, because it seemed like a handy thing and was very inexpensive.

While the popcorn is not quite popping itself, there is a lot or RF in the air here. Technically, all the Meraki, open-mesh, and FON boxes are roughly the same, running slightly different software. And, based on some informal testing, they all seem to work pretty well. There are some interesting differences: the FON box has two ethernet ports (which may make it impossible to turn it into an open-mesh box should that be my eventual goal). The Meraki mini is identical to the open-mesh routers, but the Meraki outdoor has a more powerful transceiver (200 mW instead of the 60 mW in the "minis").

Results to come...

Wednesday, August 13, 2008

...and then 11 months pass...

...and we're back. Briefly, Cisco didn't work out, and I'm glad to be back out on my own again. But my time there was valuable, and I am very grateful to them both for employing me for a few months and for letting me go gracefully.

I don't believe in a deterministic world, but I do believe that fate will sometimes whisper in your ear, and you should pay attention to it.

When I went to Cisco, we had been talking about the concept of farm wireless networks. There is value in having a wireless network on a farm, for data collection (soil sensors, irrigation systems, weather stations, yield monitors, telematics) as well as for internet access (being able to use your laptop from the tractor, for instance). In many ways, Cisco was a very good place for me to be surrounded by networking technology while I was thinking about this concept.

So I'm here, writing a business plan for a new chapter for Ayrstone, based on wireless networking and web technology. There are a lot of nice things out there that the agricultural world isn't using yet, and I want to bring some of the best of "silicon valley" technology to the "great midwest."

In particular, I'm excited about the possibility of using relatively low-cost "repeater" technology from Meraki, particularly their outdoor repeater and perhaps their upcoming solar model. I think that, by mating these to 12 dB gain antennas, we can actually light up a pretty fair area (one per section???). I'm thinking that, by using a network of 5-10 of these, covering a 2000+ acre farm should be possible for a few thousand dollars. My thinking is that, even if the signal goes three hops, you're still in the multi-megabit range with 802.11g, which is just fine.

The devil's in the details, of course, so we need to get out and prove the concept.

My Meraki equipment (and a couple of routers from open-mesh, and erstwhile competitor to Meraki) are on order. Should be fun...

Stay tuned!

Friday, September 7, 2007

A movement to the side, perhaps to move ahead

As the summer progressed, it became clear that the current operations for Ayrstone weren't going to start making a living for me, and the opportunities we were seeing weren't looking like they'd "blow up" fast enough and large enough to deliver enough money to keep our household afloat.

Furthermore, while I'm still excited about the idea of a farm equipment review site, RateItAll, while intriguing, just doesn't seem to be robust enough to do what I had hoped (I did an experiment to rate precision ag sites). That leaves me with the option of building a ratings engine or using a pre-built one (like RedQueen), which is very time-consuming. Since I didn't have the time to consume, I decided to look for a paying gig.

Happily, about that time I was contacted by a recruiter from Cisco Systems, who was looking for some help in their Networking Academy. The Networking Academy is a fascinating group at Cisco: they create curricula in networking technology to help schools train students to get good jobs in networking, and they give it away, for free, and help the schools adopt it. It's self-serving, of course, but it actually does good for the schools and students - people learn critical skills to get a good job and move up the economic ladder.

This seems like a step sideways, but I don't see it that way. I think one of the most exciting opportunities coming up is networking the farm and getting more farm operations onto the web. This gives me a perfect seat to understand the technology and products available better.

So I'm excited, but I still want to build the review/rating site as I have a chance. Watch for more on that...

Wednesday, May 16, 2007

Here's a new twist...

As you can see to the right, I have added a new widget from RateItAll.com, which allows you to rate this blog without even going to RateItAll. This widget is currently in beta, so I encourage all the readers out there to go ahead and cast your arrows at me using this tool, and then let me know what you think of the widget itself via email at bmoffitt (at) ayrstone.com.

Monday, May 14, 2007

Beginning the next fun thing...

As noted in the last entry, I am looking at starting a rating service for agricultural products. As a beginning, I have started a list on rateitall.com for Precision Ag web sites. See it here: http://www.rateitall.com/t-23470-precision-ag-web-sites.aspx

I think this is kinda cool - even better is to move this all to a promotable site and populate that site with the flash widgets for each piece of equipment so users need never go to rateitall.

Wednesday, May 2, 2007

Progress and setbacks...

Ayrstone is up and, well, limping, if not running. The product is available, the store is online, payment processing is going fine, but the product just isn't selling as quickly as we had hoped.

The "big idea" was to try to reach farmers who aren't yet tied into the web to find information, and who may want independent advice and assessment instead of just swallowing what the GPS vendors say. So we decided to focus on direct mail, using lists from the major farm magazines - a sales rate of 1% would have gotten us to cash-neutral, and 2% would make us profitable.

After two mailings, we have a sales rate of significantly less than 1%. The majority of growers are out in the fields now, so there's no real point in trying to sell them now - they're not going to pay attention to anything.

It's disappointing, of course - the product itself is no great shakes in terms of production values, but it's a valuable resource in terms of information, and the "buyers only" website is excellent. Most of all, it's an attempt to start a business based on honesty and openness - the information, our approach, and the product itself is portrayed honestly, the subject we discuss is approached in the most objective way possible, and we are completely independent of the various GPS vendors we discuss. Given how important it is to most growers to get an independent view and not trust what the salespeople tell them, one would think they'd be crowding in to get what we have. But they're not.

In the meantime, I'm using Google AdWords to bring traffic to Ayrstone.com and looking at other revenue sources. I went to a Meetup last night and met the founder of Rateitall.com. I think they have an interesting site that may be useful for some ideas I have. Check out their widget on this blog.

Wednesday, February 21, 2007

How to screw up a good schedule.

Honestly, I have discovered many ways to screw up schedules. It's not hard, really - procrastination is both cheap and effective.

But there's nothing more simple or effective than spending a few days with a three-digit fever. It's not just that you lay in bed during those days, unable to move or think, never mind do productive work, but, after the fever breaks, you feel like your brain has been tossed into the blender with the switch set to "Frappe." Smooth-n-tasty...

The Ayrstone project is still coming along, with the first draft of the finished DVD in circulation to some key individuals. Comments back so far are generally positive, with some suggestions of minor changes that shouldn't entail more than 50-80 hours of work.

I went down to Tulare to the World Ag Expo on Tuesday of last week (just before the flu) and handed out flyers for the DVD. I had hoped to hand out 1000 but got 500 into the hands of passers-by in the Pavilion C tent that houses most of the GPS vendors.

We've seen a little pickup in orders, but not what I had hoped (is it ever what we hope?) The next step is to fire up the direct mail machine.

Saturday, February 10, 2007

Beginning...

OK, it's not "Soul of the New Machine," but the new company is up and moving forward. The grand idea: use the combined energy and knowledge of two people, one a Silicon Valley tech veteran and one a midwestern ag expert, and produce something useful to help farmers get a handle on GPS steering products.

The new company is called Ayrstone Productivity, LLC.

I'm one of the principals - I used to be a marketing exec for a small GPS company called Novariant, and worked on their AutoFarm product line. The grand idea we came up with was to capture all the information I had in my head about all the companies in this space and put it into a DVD to give farmers more of a fair shake with the folks selling this stuff.

The result is Ayrstone's first product, shown here. You can preview the first module on YouTube.

We're also hosting a new forum for GPS users in Ag at forum.ayrstone.com.