December 2015
Beginner
277 pages
5h 15m
English
In this chapter you’ll build a lock that can be opened using your phone. The lock mechanism will be built with an Arduino Uno, Bluetooth LE radio, and a solenoid lock. You’ll also write an iOS and Android application using PhoneGap that opens the lock using Bluetooth LE.
Most Bluetooth LE hardware for Arduino comes with a service that emulates the Bluetooth classic Serial Port Profile (SPP). While an SPP-like service could work for this project, it doesn’t take full advantage of Bluetooth LE. For this project, use the custom lock service defined in Table 4-1.
| Characteristic | UUID | Properties |
|---|---|---|
unlock |
D271 |
write |
message |
D272 |
notify |
The lock service does two things. The unlock ...
Read now
Unlock full access