Hardware Reference
In-Depth Information
The Bluegiga BLE112 module evaluation board used here is avail‐
able from many online suppliers as part of a development kit for the
BLE112 module family (part #: DKBLE112). The kit includes a num‐
ber of prebuilt sensors and inputs for quick evaluation. Alternative‐
ly, Jeff Rowberg's BLE112 Bluetooth Low Energy board is much less
expensive. This is an open source hardware solution, so all the hard‐
ware design details are available from the same source.
The BLE112 module performing the function of the BLE peripheral in this case reads
a voltage set by adjusting a small potentiometer (circled in the upper-left corner of
Figure 9-1 ) using the on-board A/D converter and stores that value as the BLE “battery
level” characteristic (scaled from 0 to 100%) via the BLE battery_level service. The
iOS app must then to read the “battery level” stored on the BLE peripheral and make it
available for use by the app. (For more information on services and characteristics, see
Chapter 4 ).
Figure 9-1. Bluegiga BLE112 development breadboard
 
Search WWH ::




Custom Search