1 # wuart - The Wireless UART (needs merge) {#md_wuart}
5 The wireless UART can be used to communicate between two PCs via a RF
6 link, or to communicate between a PC and an autnomous sensor/actor
7 node. The WUART application starts on a fixed channel and is automatically
8 in the transparent data mode.
10 +------------------+ +------------------+
11 | Terminal PC#1 | | Terminal PC#2 |
12 |------------------| |------------------|
13 | Wuart 0.2 ... | | Wuart 0.2 ... |
14 |#2: howdy #1 | |#1: hiho #2 |
15 |#3: t=24 | |#3: t=24 |
16 |#2: yyyyy | |#1: xxxxx |
17 |#3: t=25 | |#3: t=25 |
19 +-------*----------+ +--------*---------+
24 +---*----+ | | +---*----+
25 | WUART | | | | WUART |
26 | Node#1 +--+ +--+ Node#2 |
28 +--------+ ^ +--------+
36 The wireless UART for the radiofaro board is build with the following
39 cd uracoli-src-<version>
40 make -C wuart radiofaro
42 The firmware file `bin/wuart_radiofaro.hex` is now available.
43 It can be flashed into the microcontroller e.g. with an AVR-Dragon-programmer
46 avrdude -Pusb -cdragon_jtag -pm128rfa1 -U bin/wuart_radiofaro.hex
48 Now open a serial terminal programm (e.g. @ref sterm), adjust the baudrate,
49 set the hardware handshake to _none_ and after a reset of WUART node you will
50 see a boot message, similiar to this:
52 Wuart 0.2 chan=17 radio 02.01
54 Do the same steps for a second board and try to chat between the terminal
57 A list of all supported boards is displayed with the command:
60 make: Entering directory `/home/axel/Work/uracoli-src-<version>/wuart'
61 any2400 : A.N. Solutions ANY Brick
62 any2400st : A.N. Solutions ANY Stick
64 zgbt1281a2uart1 : Meshnetics Zigbit A2, using UART1
65 zigduino : Zigduino made by Logos Electromechanical LLC
67 Alternatively you can compile the example programm `xmpl_linbuf_tx.hex`
68 and watch the text that appears in the terminal window of the PC.
70 make -C xmpl -f xmpl_linbuf_tx.mk <sensorboard>
72 This example can be used as starting point for an own application.