363 points · by trafnar · 13y ago · 139 comments
They are offering a WiFi shield but it's backed by the Arduino. Not really something that you want to mesh-route TCP/IP, in my opinion. There are more suitable choices.
I'm also a little concerned about selling a device that is so high-powered by default. I'm assuming that they're using 900 MHz here. Is it really necessary for everybody to transmit with enough power to reach 1 km? In the US, there's a FCC rule that says that amateur radio operators use the minimum power necessary when transmitting. I'm not sure if it applies to a device like the Flutter but it probably should.
There's no way you're going to see the advertised range with the antenna pictured. For comparison, the wifi hardware in your laptop typically outputs around 100-200 milliwatts.
Edit: TI appears to have a "range extender" part (i.e. a power amp) that can kick the output power up to +27 dBm (500 mW) at the band that they're using. I don't see any mention of this part on the kickstarter page, but this is the only plausible way I can see for them to get anywhere near the range advertised.
Half a watt seems pretty high to me too, but apparently it's comfortably within FCC limits [1][2], and since ISM devices are designed for consumer use (as opposed to licensed use by a competent radio operator), I don't think the same rules about being clever with output power would still apply here.
[0]: http://www.ti.com/lit/ds/symlink/cc1101.pdf
[1]: http://www.afar.net/tutorials/fcc-rules/
[2]: http://www.beagle-ears.com/lars/engineer/wireless/fccrules.h...
[1] (I think it's this one, I'd have to check the part number, they have a couple similar ones). http://www.johansontechnology.com/datasheets/chipset-specifi...
Hadn't seen the rules for 900MHz though.
I was wondering whether I'd get called out for omitting this. You're right, of course. :-)
Well, you're partially right (and it's a bit of a mess, which is why I left it out in the first place). Yes, increasing the data rate reduces range when all else is equal. The carrier frequency doesn't actually matter. The bandwidth does matter, but not in the way that you'd expect. Increasing your channel bandwidth actually increases your range when your receiver is noise limited (which is necessarily the case when you're making the range/bitrate trade-off). But the "power" term in the standard formulas assumes you're measuring the total power in your band (not carrier power). So you can't reap the benefit of doubling your bandwidth without also doubling your transmit power (unless you're using a true spread spectrum transceiver, which is a different beast).
There are plenty of other factors, but when you're thinking about these things, you ultimately want to form an intuition for "what is the minimum energy per bit needed to make my receiver happy?" and "how much transmit power do I need to deliver that energy, given a specific antenna and desired range?" [1]. This analysis lets you ignore the specifics (modulation technique, multiple carriers, multiple antennas, spread spectrum, etc) that make it difficult to compare this TI radio and your 802.11n card, but still gives you a very accurate result.
My original point (which still stands) is that you can't feasibly build a 1 kbps transceiver with 16 mW transmit power and a two inch monopole antenna and expect to get anywhere near half a km of range with the TI radio. It simply isn't sensitive enough.
[1] http://en.wikipedia.org/wiki/Eb/N0
(As an aside, Eb/N0 was one of those things that I found incredibly confusing when I first learned about it in a communication theory class - I recall several homework assignments where we had to solve for Eb/N0 symbolically for various theoretical transceivers. I only realized how useful it was after building real radios and plugging in actual numbers. Once you get the hang of it, it becomes a very good bullshit detector for "overly optimistic" range, bitrate, and power trade-offs that doesn't require spending hours in front of a simulator.)
One of the things needed to get full IP routing working is to do channel switching over the sub-GHz connection. Both the FCC and ETSI regulations let you transmit at a higher power and with longer bursts if you switch channels with a regular interval and if you back off if you find other transmissions in your channel.
That said, TCP/IP routing over a sub-GHz CC1101 link isn't going to be very fast. It is suitable for automated devices but not a general purpose replacement for WiFi connectivity. For IEEE 802.15.4g-compliance, the raw bit rate is 50 kbit/s which isn't a lot. The CC1101 can be run in faster, non-802.15.4g compliant, modes though.
We've had similar hardware in the field for 3+ years now, covering ~50 square kilometers in a mesh configuration.
Our wifi + ethernet shield makes it easy to have an always on device that routes traffic for home Flutter networks, but you can also just plug the board into your PC over USB and feed it traffic that way, you can run arbitrary data of any size over the link and all communications are guaranteed (or explicitly timeout), so I think piping TCP/IP over it will be easy.
You can also use a raspberry pi and one of our boards to accomplish what the network shield does (for roughly the same price) but the network shield is designed for exactly this purpose, and many people will find value in that.
It's tough to pitch an Arduino with lots of highly technical capabilities - Arduino users just want to know "but can i make a wireless beer brew setup?" That's the kind of information we try to speak to on the KS page. We're also still learning what questions people have!
What niche are you guys trying to fill with this? I guess I'm just not seeing it yet. You talk about "piping TCP/IP" over the data link but how is this superior that using any of of the dozens of other powerful, low-cost, mesh solutions purposely designed for TCP/IP routing?
Maybe you're trying to fill the "talk to my kegerator" niche. OK, but how is this superior to the Xbee shield [0]? That shield interfaces with a number of different Xbee products that offer a wide variety of power outputs and ranges. These Xbees do mesh networking out of the box. How does Flutter do it better? Help me understand. :)
And you asked why not the shield you linked to?
This is why: https://dlnmh9ip6v2uc.cloudfront.net//images/products/1/0/8/...
That is a $25 shield, $23 radio, and a $29 arduino all stacked on top of eachother, and you get 100m range max. Wouldn't you rather have a single board for $20 or $30 that meets those needs and lets you reach out up to a kilometer or more?
Anyone bulding remote controlled "stuff" will be delighted.
$30 adds an external antenna and battery charging circuitry.
ISM bands, mesh networking. The chip they are using do 1200bps and 2400bps at low power, but the data sheets talk about 600kbps capabilities of the modem. I'd plan on the 1200 or 2400 if you are thinking 1km. Look to IEEE 802.15.4-2003 (Low Rate WPAN) for more information. (TI CC1200, or currently TI CC1101).
They are aiming for strong cryptography. Keys are kept in a dedicated crypto IC. (Atmel ATSHA204)
Shields planned for RC servers, LAN, and bluetooth.
This could be my new favorite Arduino class board.
I'm trying to design the system I've needed for years, because the problems I've had building robots generalize to nearly all the problems that Arduino users have.
We are aiming to nail this.
Best of luck to them.
The have a little more technical information on their website - http://www.flutterwireless.com/press.html
http://www.ti.com/product/cc1101 http://www.ti.com/product/cc1200
That said, if they're depending on ($80k - kickstarter fees) alone to get off the ground, I think that's a bit sparse. Then again, they seem to have done an above average level of pre-campaign development.
That said, our goal is to brave the waters of the FCC to provide quality radio products to the open source community. If we succeed in getting funded, we should be able to handle the occasional new testing needed for any product changes.
We have some higher volume plans which will help pay for that. Arduino is only part of what we're doing. :)
This all started because there weren't any open source module designs for the CC1100 radio, so I made one and put it on github (actually I was using the 2.4ghz CC2500 at first). Eventually I slapped an arduino on, and boom, useful thing!
Of course, then you can only sell to hams...
Can you add a tier for euro/intl backers? I'd love to see this product.
"Currently, Flutter only operates in the 915MHz radio band, which is US only for consumer electronics. Our boards support the few other bands used throughout the rest of the world, so we can design versions for Europe and other regions, but unless our campaign is well over-funded, we're not able to commit to international versions. Spread the word and maybe we can!"
edit: Kickstarter is preventing me from getting the $25 t-shirt tier, asking me to say I'm in the US and otherwise looping back to the same page.
You can look at them as basically just compute and radio modules - they can be used however you'd like!
How does it handle interference? I'm assuming 1 kilometer is optimal. How does the encryption affect transfer speed? There's a lot of important questions that need to be answered before I'd consider putting down money on this.
By the way, for lower ranges, there are allready solutions out there, like the TI CC3000[1] and the electric imp[2]. They use wifi though.
On a related note, don't put weird antenna spouting rat nets projects into central park if you're not looking for some fun with homeland security.
[1]http://www.ti.com/product/cc3000 [2]http://electricimp.com/developers/
Since it has 256-bit AES encryption, I would guess they are basing it off something like an XBee/ZigBee/RFBee.
Currently we are using the CC1101 Radio, which maxes out at 600kbps. It's an excellent radio, but has been basically unchanged since 2006, when TI bought chipcon (who made the CC1101).
The CC1200 was recently announced as a successor, and it looks pretty amazing. The max data rate of that chip is 1.2Mbps, and it has increased transmit power and sensitivity. The chip is priced roughly the same as the CC1101 and is based off of the same code, so we should be able to port everything to it quickly and pick up development with it. There is a possibility that the chip will have some flaw that makes it a show stopper, but it's intended by Texas Instruments to be a nearly drop in replacement, and if it does what the datasheet says it should handily work for us.
There is a possibility that we will end up not being able to use the CC1200 though, giving us a max data rate of 600kbps in that case, and I realize I need to make that clear, so I will go write up that copy on our Kickstarter page now. I definitely don't want there to be any confusion about what we're selling, so I apologize for not making that clear to any backers, I'll mention the change in our coming backer update, which will largely be directed at international backers, who we are working to accommodate!
Just my 2c.
[1] http://www.atmel.com/Images/Atmel-8740-CryptoAuth-ATSHA204-D...
Currently the plan is full support for multiple master keys for different purposes (one for firmware updates, one for data, perhaps one for trusted guests, out of 16 total possible keys), per-packet session keys using AES-256, and I'm very curious about ECC, which it appears our system might support, since the encrypt/decrypt are software (though the new radio has an AES-128 hardware engine too).
We'll give a LOT of detailed information on the development of this system as it happens (after the kickstarter). My plan is to design a system that any HN reader would be proud of. We're not going to "let open source do it", we're writing it ourselves and I've loaded my tablet full of crypto e-books so I can genuinely learn from the ground up how to do that. Even if ultimately I don't write the software, I absolutely will not sell a system as cryptographically secure unless I personally understand how it is built and why it is secure.
Keep in mind that crypto's only half the battle, and even "perfectly valid" crypto can still leave your platform vulnerable to things like replay attacks [2]. e.g. lets say someone uses your board as a doorbell: a crafty attacker can sniff the doorbell packet and replay it constantly if you don't use something like a request counter.
Point is: you shouldn't make your users cobble those steps together, they'll get them wrong. You're in fact very likely to get them wrong yourself, if (as you say) you're still learning the ins and outs of crypto. I wish you the best of luck, but keep in mind that you have a long journey ahead of you. I'd particularly recommend you complete the Matasono crypto challenge [3] before you even think of trying your hands on raw crypto primitives.
1. http://en.wikipedia.org/wiki/Authenticated_encryption 2. http://en.wikipedia.org/wiki/Replay_attack 3. http://www.matasano.com/articles/crypto-challenges/
For example, on 2.4 GHz 802.11 protocols, there are 11 channels from 1 to 11. All wireless routers operating in US have to be on one of the 11 channels. When there are other wireless APs within the range, you and others share the channel. There's a limitation on how much bandwidth a channel can give in total. That's the hard limitation, given that CSMA/CA works well. That's why channel 3 and channel 8 often work great (most wireless routers have default channel choice 1, 6, or 11) - they are far away from defaults that others are using.
Same thing applies to 5 GHz 802.11 networks.
Now back to this project. 1 km is really long distance. You get communication range as large as a circle with radius being 1 km. There are a lot of wireless devices that fall in this range. You might not get affected by them since they don't have that powerful antennas, but your signals will effectively lower the bandwidth of all routers in the area.
http://www.cisco.com/en/US/docs/wireless/technology/channel/...
http://blog.saddey.net/2007/07/08/wifi-insights-why-you-shou...
So, a few answers:
Yes, you can do encrypted mesh networks over long range. I'm a hardcore robotics guy at heart - the name "Flutter" was chosen exactly because this protocol is designed to be as lightweight as possible, and though the mesh protocol itself is still being developed (basically, that's why we need kickstarter, aside from the fact that I'm tired of ramen), I really intend for the protocol to stay out of the way. You'll also have full control over what happens, so you can always turn meshing off and use hard addressing. It's still really simple to use that way and cheaper than everything else I've seen that compares.
I absolutely will not sell a product as "cryptographically secure" unless I believe it is, and I understand that the "smallest" flaw in a cryptographic system can render the entire system worthless. I am learning everything I can about cryptography, starting with some amazing e-books I have found on the subject, and just like wireless
Our data rate is proportional to our range (this is generally true for any radio system), so we get 1km range at low data rates (1200baud tested, but we physically ran out of test room and had a strong signal). Theoretically this radio can do 3km at 1200 baud and it looks like we should be able to do 1km at 30kbps at least. Also I think the new radio chip doubles all the data rates in these cases (I would have to confirm), and I do know the new chip has higher transmit power and higher sensitivity, so range should be even better.
There is a cheap radio amplifier (PA and LNA) called the CC1190, and texas instruments has all kinds of datasheets on using either of the two radios we are working with to give us 10km range, or much better data rates at 1km, etc. We're going to design the protocol with expansion in that direction in mind, if people really dig the range thing (it's a bit much for a beer brew setup, but if you want dark meshnets, lets do it!)
I'm a hacker at heart. I first learned lockpicking at the old Noisebridge location (the original one). I love 3D printers and open source, did a rant/thread about open hardware on the Ultimaker mailing list a year back (I was one of the first in the bay area to get an Ultimaker too, and designed a new mount for it that I have on thingiverse). I got on hackaday for some 3d printed helicopter blades, and have been building robots since I was 15. There's a longer bio about me on our site, at flutterwireless.com
See also me ten years ago talking about robots (and I feel silly for the "few people do" comment, but I was 15 and trying to keep it simple). http://www.youtube.com/watch?v=8FJu1eL_dYs
Please ask me anything!
Does the message go straight from one end of the mesh network to the other, or can it store things for later forwarding?
Can it really support a mesh network with thousands of clients? In a mesh network with thousands of clients, how much bandwidth does each client get?
How do you divide time between different clients - is it contended like wifi so you have to keep the network uncongested?
How does roaming work? What triggers provoke roaming events?
If I want to communicate with one device 10cm away and another 10km away at the same time, is that possible? How do you avoid near-far problems?
I think we probably can sell in all of North America without changes, I'm checking on it. Europe is also pretty easy design wise, I just need to consult with our radio expert about certification, it was something I just did not look into, with all the things it takes to make this happen! But I should update the FAQ to say "we're" looking into it, since we absolutely now are!
Disappointed that this appears to be US only. would love to use a few of these for monitoring our Hackerspace!
Actually I'm also involved in mobile ad hoc security research so might try and 'acquire' a few of these for testing out some collaborative network theories on our quadcopters... but can't do that as current delivery status stands!
Good luck with certification.
Also, I don't feel comfortable donating before a finalized hardware design is reached. I feel the potential for bait-and-switch is too high and no words will convince me otherwise due to the nature of crowd-sourcing EULA, sorry.
The more backers we get, the easier delivering this hardware will be. I won't try to convince you of anything you can't be convinced of, but I will tell you that if you are interested I would really appreciate your support, and as per the kickstarter terms of service I can at least promise that if what we are delivering does not meet your needs, you can cancel your order and we will refund the full amount.
The EULA does require me to either deliver or refund you, and I absolutely will comply with that.
I'd also suggest waiting to see? You could back us at $25 so you get the updates, and then cancel before it finishes if you would prefer not to spend any money at all.
And yeah, the radio chip is pretty simple. It's basically a cheap general purpose radio. The other proprietary chip is the Atmel ATSHA204, which you don't even need to use, but provides some excellent cryptographic functions.
Either way, I look forward to winning you over at some point, even if that's not till the products ship and the reviews are in! :)
This (Flutter) is using a Cortex-M ARM chip, which is entirely different. These are used in small, embedded devices. Like wireless headphones, or robotics. Cortex-M chips don't have TrustZone.
Unfortunately it's only in Italian: http://com-com.it/
I know they are managing more than 4,000 nodes now, and it works great.
I also know that offering a service like this is hard. A kickstarter campaign sometimes makes things look too easy.
Would be good to see how it performs as a mesh in an urban area, though. Would these need to be mounted atop buildings? On eaves? On light poles?
Definitely needs a weather-proof enclosure, too!
Another post in this thread says 16 mw, compared to about 50 mw for an 802.11 class device, so that's rather low and I'm somewhat surprised by the range claims. I suspect the chosen antennas play an important part.
> The data rate is inversely proportional to range, as is the frequency.
Unless I have misunderstood the above sentence, it implies that the range increase as the frequency drops. In a word, no, because among other things, thermal noise increases as frequency drops. A low data rate will buy you more range, but range doesn't increase as frequency drops.
> This gets us range without blasting people with radio or having trouble with the FCC.
Maybe. It turns out that 915 MHz is a pretty busy area of the spectrum in many places -- successful communication might be harder in practice than the ideal case.
The EU allows the 136Khz band for amateurs I believe. It would be like communicating via semaphore in the fog and would probably need pretty large antenna, but we could be talking some serious arduino <--> arduino range... 50km+ I'd expect.
I wonder if it would be possible to wire an antenna to the Spark and match the 1km range of the Flutter....
Flutter isn't the minimum needed, but it's essentially the minimum needed to build a secure mesh solution.
And unlike wifi modules, we have bare metal control over our radio chip, which gives us a lot more room for doing interesting things, like indoor 3D positioning (which we haven't tested yet, so I have no statistics on the accuracy... yet).
The cool thing is, we will research indoor positioning, and every other use of this board we can. I think an open radio and computing module with encryption, long range comms, and ultra low power usage (sleep modes should allow for a year on a coin cell, though again, that has not been verified yet).
Flutter is using CC1001/CC1200, which are 900MHz radios. 900MHz (as a longer wave) will travel much farther to begin with, plus the module is designed for longer-range use :)
(Also if you put a 900MHz antenna on a 2.4GHz radio you're gonna have a bad time)
1. How do new nodes authenticate into the network? 2. Is it possible to get a USB version that could hook into a higher powered device, say a Raspberry Pi, that would act as the gateway to the internet for this mesh network.
Still under development, the Flutter basic is tiny and simple. You get all the features of Flutter in a circuit board with an low-profile integrated antenna, rather than the large antenna shown in the video. Featuring micro USB for power and programming, components on both sides to reduce size, an LED, and a button, as well as plenty of digital and analog I/O."
I guess I'll have to wait until they hit a stretch goal for an EU design!
Pro will have better range due to the antenna, but the basic will get a pretty high-performing antenna too.
I'm actually seriously considering starting a meshnet in my neighborhood.
Electric imp is Wifi and does not function without an internet connection (at least, thats what they told us at the first hackathon). It also doesn't function without a router.
We're a lot closer to Zigbee - basically the same idea. We send data directly from board to board, unlike wifi which always runs through your router. We basically use every board as a router.
The advantage over zigbee is price, Arduino, openness, and range. We have 10 times the range of $22 zigbee modules, and 5 times the range of their $50 modules, all in an easy arduino package.
Does that answer your questions?
I made it, so ask away if you have any other questions!