Root/web/index.html

Source at commit ac710d0de437e2292a94498c38339d8d978adbee created 2 years 4 months ago.
By Werner Almesberger, web/index.html: update shop links; status table; link to ATUSB schematics
1<HTML>
2<TITLE>
3Ben-WPAN Overview
4</TITLE>
5<BODY>
6
7<H1>Ben-WPAN Overview</H1>
8
9Ben-WPAN is a hardware and software effort within the
10<A href="http://en.qi-hardware.com/wiki/Main_Page">Qi-Hardware</A> project.
11The objective is to enable the
12<A href="http://en.qi-hardware.com/wiki/Ben_NanoNote">Ben NanoNote</A>
13to communicate wirelessly using IEEE 802.15.4-based protocols.
14<BR>
15All elements of the project are licensed
16under open licenses, such as the GPLv2+, LGPLv2.1+, and CC-BY-SA 3.0.
17Furthermore, only Free tools were used for the electronic design,
18such as the
19GPL-licensed <A href="http://www.lis.inpg.fr/realise_au_lis/kicad/">Kicad</A>.
20<BR>
21This page is a brief summary. For background information and further
22details, please visit the
23<A href="http://en.qi-hardware.com/wiki/Ben_WPAN">wiki page</A>.
24<P>
25A first run of <B>atben</B> and <B>atusb</B> boards has been produced
26by <A href="http://www.tuxbrain.com/en">Tuxbrain S.L.</A> and further
27revisions of <B>atusb</B> have been produced and are available for sale
28from <A href="http://shop.sysmocom.de/products/atusb/">sysmocom</A>.
29<P>
30<TABLE>
31  <TR>
32    <TD><A href="800px-Atben_atusb_prod_03.jpg"><IMG
33      src="atben-pcba-small.jpg"></A>
34    <TD><A href="800px-Atben_atusb_prod_07.jpg"><IMG
35      src="atben-use-small.jpg"></A>
36    <TD><A href="800px-Atben_atusb_prod_05.jpg"><IMG
37      src="atusb-pcba-small.jpg"></A>
38    <TD><A href="zoom.html"><IMG
39      src="atusb-use-small.jpg"></A>
40  <TR bgcolor="#d0d0d0">
41     <TH colspan="2">atben (for the Ben NanoNote)
42     <TH colspan="2">atusb (Full-Speed USB)
43</TABLE>
44
45
46<H2>Hardware</H2>
47
48Both boards are based on the Atmel
49<A href="http://www.atmel.com/dyn/products/product_card.asp?part_id=4338">
50AT86RF231</A> transceiver. They operate in the license-free 2.4 GHz band
51using the
52<A href="http://en.wikipedia.org/wiki/IEEE_802.15.4">IEEE 802.15.4</A>
53physical and link layer.
54<BR>
55Note that IEEE 802.15.4 is different from
56<A href="http://en.wikipedia.org/wiki/IEEE_802.11">IEEE 802.11</A> (WLAN)
57and <A href="http://en.wikipedia.org/wiki/Bluetooth">IEEE 802.15.1</A>
58(Bluetooth).
59<P>
60Both boards transmit with a maximum power of 2 mW (+3 dBm) over a
61distance of up to about 10 m in a typical indoors environment.
62<BR>
63The standard data rate of IEEE 802.15.4 is 250 kbps. The transceiver
64supports non-standard rates of up to 2 Mbps, with a reduced range.
65
66
67<H2>Compatibility</H2>
68
69<B>atben</B> and <B>atusb</B> can communicate at the physical and link
70layer with any device that implements the
71<A href="http://standards.ieee.org/getieee802/download/802.15.4-2006.pdf">IEEE
72802.15.4-2006 standard</A> for the 2.4 GHz band.
73<BR>
74This includes <B>atben</B> with <B>atusb</B>, <B>atben</B> with <B>atben</B>,
75etc. There are
76<A href="http://sourceforge.net/apps/trac/linux-zigbee/wiki/HardwareSupport">many
77more</A> IEEE 802.15.4 devices, which should also interoperate with the
78Ben-WPAN boards.
79<P>
80<B>atben</B> plugs into the Ben's
81<A href="http://lists.en.qi-hardware.com/pipermail/discussion/2011-January/006908.html">8:10 card</A> slot.
82Note that it is <U>not</U> an SDIO card.
83<P>
84<B>atusb</B> is designed for USB 2.0 Full-Speed and has an USB A connector.
85The host needs suitable drivers for the board.
86
87
88<H2>Software</H2>
89
90The ultimate goal is to fully support IPv6 with
91<A href="http://en.wikipedia.org/wiki/6LoWPAN">6LoWPAN</A>, in
92cooperation with the
93<A href="http://wpan.cakelab.org/">linux-wpan</A>
94project.
95<P>
96To make use of the boards while working on IPv6, we have developed a quick
97and dirty tunnelling mechanism for IPv4. A video demonstrating its use
98can be seen
99<A href="http://downloads.qi-hardware.com/people/werner/wpan/tmp/wpan-ipv4.ogg">here</A>.
100<P>
101<B>atben</B> has no local "intelligence" and its SPI interface is
102bit-banged directly by the Ben.
103<BR><B>atusb</B> uses an
104Atmel
105<A href="http://www.atmel.com/dyn/products/product_card.asp?part_id=4602">
106ATmega32U2</A> microcontroller to interface between USB and SPI with
107a homebrewn protocol on top of USB.
108<BR>
109The firmware includes a boot loader allowing easy firmware updates in the
110field with the
111<A href="http://www.usb.org/developers/devclass_docs/DFU_1.1.pdf">DFU</A>
112protocol.
113<BR>
114This boot loader occupies a fixed 4 kB of the 32 kB of Flash memory in
115<B>atusb</B>. The "application" currently uses another 6 kB. Developers
116wishing to extend or replace the firmware thus have between 22 and
11728 kB available for experiments.
118<P>
119While not an immediate project goal, it may be possible to
120write firmware for <B>atusb</B> that turns it into a transparent
121gateway for legacy operating systems and protocols.
122
123
124<H2>Status and resources</H2>
125
126Here is an overview of the status of the various project elements:
127<P>
128<TABLE>
129  <TR bgcolor="#d0d0d0"><TH>Element<TH>Status<TH>Links
130  <TR><TH align="left">Schematics<TD bgcolor="#80ff80" align="center">Done
131    <TD><A href="http://projects.qi-hardware.com/schhist/atben/">atben</A>,
132      <A href="http://downloads.qi-hardware.com/people/werner/wpan/tmp/atusb-20160322-eeplot.pdf">atusb</A>
133  <TR><TH align="left">Layout<TD bgcolor="#80ff80" align="center">Done
134    <TD><A href="http://downloads.qi-hardware.com/people/werner/wpan/tmp/atben-110324-overview.png">atben</A>,
135       <A href="http://downloads.qi-hardware.com/people/werner/wpan/tmp/atusb-110330-overview.png">atusb</A>
136  <TR><TH align="left">Test software<TD bgcolor="#80ff80" align="center">Done
137    <TD><A href="http://projects.qi-hardware.com/index.php/p/ben-wpan/source/tree/master/prod">scripts</A>,
138    <A href="http://projects.qi-hardware.com/index.php/p/ben-wpan/source/tree/master/tools">tools</A>,
139    <A href="http://downloads.qi-hardware.com/people/werner/wpan/prod/">description</A>
140  <TR><TH align="left">Production<TD bgcolor="#80ff80" align="center">Done
141    <TD><A href="http://en.qi-hardware.com/wiki/Ben_WPAN#Production_Notes">Production notes</A>, factory files:
142      <A href="http://downloads.qi-hardware.com/people/werner/wpan/fab/atben-pcb-110330.tar.gz">PCB</A> and
143      <A href="http://downloads.qi-hardware.com/people/werner/wpan/fab/atben-smt-110330.tar.gz">SMT</A>
144  <TR><TH align="left">Firmware<TD bgcolor="#80ff80" align="center">
145    Done
146    <TD><A href="http://projects.qi-hardware.com/index.php/p/ben-wpan/source/tree/master/atusb/fw">source</A>,
147        <A href="atusb-0.3.dfu">0.3 release</A>
148  <TR><TH align="left">Device driver<TD bgcolor="#80ff80" align="center">
149    Done
150    <TD><A
151href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ieee802154/atusb.c">In Linux mainline since 4.2 </A>
152  <TR><TH align="left">MAC layer<TD bgcolor="#80ff80" align="center">
153    Done
154    <TD><A href="https://github.com/torvalds/linux/tree/master/net/ieee802154">In Linux mainline</A>
155  <TR><TH align="left">IPv4 hack<TD bgcolor="#80ff80" align="center">Done
156    <TD><A href="http://projects.qi-hardware.com/index.php/p/ben-wpan/source/tree/master/tools/dirtpan">dirtpan</A>
157  <TR><TH align="left">6LoWPAN stack<TD bgcolor="#80ff80" align="center">Done
158    <TD><A href="https://github.com/torvalds/linux/tree/master/net/6lowpan">In Linux mainline</A>
159</TABLE>
160<P>
161
162
163<H2>Further reading</H2>
164
165We have a more detailed
166<A href="http://en.qi-hardware.com/wiki/Ben_WPAN">wiki page</A>.
167<BR>
168Discussions related to the project take place on the Qi-Hardware
169<A href="http://lists.en.qi-hardware.com/mailman/listinfo/discussion">mailing
170list</A> and on the
171<A href="http://webchat.freenode.net/?randomnick=1&channels=qi-hardware">#qi-hardware
172channel</A> on
173<A href="http://freenode.net/">freenode</A>.
174<BR>
175Shop link at sysmocom:
176<A href="http://shop.sysmocom.de/products/atusb">atusb</A>.
177
178<P>
179<HR>
180Last update: 2017-05-10&nbsp;&nbsp;
181<A href="mailto:werner@almesberger.net"><I>Werner Almesberger</I></A>,
182<A href="mailto:stefan@datenfreihafen.org"><I>Stefan Schmidt</I></A>
183<HR>
184</BODY>
185</HTML>
186

Archive Download this file



interactive