February, 2018
www.us-tech.com
Wireless Applications Kit for Raspberry Pi Makes Evaluation Simple
Continued from page 59
in board for the SPI interface is also included. This allows designers to develop their own pro- totypes in-house, connect additional sensors to the board and experiment with unique circuits, beyond the examples provided with the design kit.
In addition to the AMBER PI as a plug-on
board for the Raspberry Pi, the design includes the AMB8665 USB stick. This USB stick turns any PC into a remote wireless communication station. The AMBER PI and AMB8665 are ready for immediate use and can communicate with one another right out of the box.
AMBER RF Stack The AMBER RF Stack is used
across all AMBER wireless modules and is integrated within the AMB8826 firm ware, allowing the AMB8826 command mode to be used. The host —in this case the Raspberry Pi — can send predefined commands to the wireless module through the UART interface to initiate its config- uration or to transmit wireless mes- sages.
The module, in turn, responds
to this by confirming that the com- mand has been implemented. In addition, the AMB8826 can be pro- grammed to transmit independently, for example, if a wireless message has been received.
AMBER wireless, with its AMBER PI, offers a simple means of equipping Raspberry Pi with extensive wireless communication options.
The command always starts
with the start signal, a byte with the value 0x02 to display the beginning of a message. This is followed by the command byte, which describes which command is involved. A length byte then follows, which determines the number of the subsequent data byte. The command is concluded with a checksum to verify correct trans- mission between the host and mod- ule. After successfully sending the message, the module responds with a frame with a data byte of 0x00 if the command was executed correctly, or 0x01 if there was an error. The AMBER PI software devel-
opment kit (SDK) is provided with source code in C. It contains the driv- ers for the hardware supplied (AMB8826, AMB8665 and sensors) and implements the command inter- face of the AMBER RF stack. Here simple functions configure a com- mand, transmit it to the module through the UART interface and interpret the response. The returned value of the boolean functions indi- cates whether the command has been successfully executed by the module or not. Besides communication with
the AMB8826, the SDK also includes the drivers for the sensors supplied, so they can be controlled quickly and easily. The SDK also contains an
example application. This periodical- ly reads the sensors plugged in and transmits their values to the USB stick. This application can provide the basis for a project or supplement- ed with additional code.
The AMBER PI including plug-on sensor boards.
With the AMBER PI Kit as a complete
package of hardware and software, a simple solution is now available to equip the Raspberry Pi with wireless communication functionality in the sub-GHz spectrum. Typical applications include remote moni-
toring and radio control, replacement of serial cable connections or sensor networks in industri- al automation. By paying special attention to simplicity of use and flexibility in configuration, a large number of diverse projects can be imple- mented easily. Contact: AMBER wireless GmbH, Rudi-Schillings-Strasse 31, 54296 Trier, Germany % +49-651-99355-71 E-mail:
info@amber-wireless.com Web:
www.amber-wireless.de r
Page 61
Page 1 |
Page 2 |
Page 3 |
Page 4 |
Page 5 |
Page 6 |
Page 7 |
Page 8 |
Page 9 |
Page 10 |
Page 11 |
Page 12 |
Page 13 |
Page 14 |
Page 15 |
Page 16 |
Page 17 |
Page 18 |
Page 19 |
Page 20 |
Page 21 |
Page 22 |
Page 23 |
Page 24 |
Page 25 |
Page 26 |
Page 27 |
Page 28 |
Page 29 |
Page 30 |
Page 31 |
Page 32 |
Page 33 |
Page 34 |
Page 35 |
Page 36 |
Page 37 |
Page 38 |
Page 39 |
Page 40 |
Page 41 |
Page 42 |
Page 43 |
Page 44 |
Page 45 |
Page 46 |
Page 47 |
Page 48 |
Page 49 |
Page 50 |
Page 51 |
Page 52 |
Page 53 |
Page 54 |
Page 55 |
Page 56 |
Page 57 |
Page 58 |
Page 59 |
Page 60 |
Page 61 |
Page 62 |
Page 63 |
Page 64 |
Page 65 |
Page 66 |
Page 67 |
Page 68 |
Page 69 |
Page 70 |
Page 71 |
Page 72 |
Page 73 |
Page 74 |
Page 75 |
Page 76 |
Page 77 |
Page 78 |
Page 79 |
Page 80 |
Page 81 |
Page 82 |
Page 83 |
Page 84 |
Page 85 |
Page 86 |
Page 87 |
Page 88 |
Page 89 |
Page 90 |
Page 91 |
Page 92 |
Page 93 |
Page 94 |
Page 95 |
Page 96 |
Page 97 |
Page 98 |
Page 99 |
Page 100 |
Page 101 |
Page 102 |
Page 103 |
Page 104 |
Page 105 |
Page 106 |
Page 107 |
Page 108 |
Page 109 |
Page 110 |
Page 111 |
Page 112 |
Page 113 |
Page 114 |
Page 115 |
Page 116