Название: Make: Bluetooth: Bluetooth LE Projects with Arduino, Raspberry Pi, and Smartphones (+code)
Автор: Alasdair Allan, Don Coleman, Sandeep Mistry
Издательство: Maker Media, Inc
Год: 2016
Страниц: 257
ISBN: 978-1-68045-195-5
Формат: PDF
Размер: 116 Мб
Язык: English
This book is where your adventures with Bluetooth LE begin. You'll start your journey by getting familiar with your hardware options: Arduino, BLE modules, computers (including Raspberry Pi!), and mobile phones. From there, you'll write code and wire circuits to connect off-the-shelf sensors, and even go all the way to writing your own Bluetooth Services.
Along the way you'll look at lightbulbs, locks, and Apple's iBeacon technology, as well as get an understanding of Bluetooth security--both how to beat other people's security, and how to make your hardware secure.
Chapter 1. Introduction
Talking About Bluetooth LE
Protocols and Profiles
UUIDs
Making Sure Your Machine Has Bluetooth LE
What Haven’t We Told You About Bluetooth LE?
Chapter 2. Getting Started
The Arduino
Installing the Arduino IDE
Connecting to the Board
Installing the BLE Peripheral Library
Setting Up Raspberry Pi
Node.js
Installing Node.js
Installing Libraries with npm
Setting Up Dependencies for noble and bleno
Installing PhoneGap
Chapter 3. Smart Light Switch
What Is a Smart Switch?
Hardware
Getting Started
Making a Real Light Switch
Adding Bluetooth
Using Real Lightbulbs
Conclusion
Chapter 4. BLE Lock
Lock Service
Hardware
Lock Software
Testing the Lock
Mobile Application
Improving the Lock
Chapter 5. Bleno Lock
Hardware
Lock Software
Conclusion
Chapter 6. Weather Station
Hardware
Libraries
Programming
Compile and Upload
Serial Monitor
Using the Service
PhoneGap
What’s Next?
Chapter 7. NeoPixel Lamp
Hardware
Software
Building a Phone App
Enhancements
Chapter 8. SensorTag Remote
Hardware
Create the Project
SensorTag and Noble
SensorTag Remote
A Simpler Version
Next Steps
Arduino Simple Key Service
Chapter 9. HID over GATT
HOGP and BLEPeripheral
Volume Knob
Conclusion
Chapter 10. Beacons
What You’ll Need
iBeacon
Eddystone Beacons and the Physical Web
Conclusion
Chapter 11. Drones
What You’ll Need
Testing Out the Drone
Controlling the Rolling Spider with Node.js
Conclusion
Chapter 12. Going Further
The Arduino
Hardware Suggestions
Further Reading
Appendix HID Over GATT Pairing
iOS
Android
OS X
Скачать Alasdair Allan и др. - Make: Bluetooth: Bluetooth LE Projects with Arduino, Raspberry Pi, and Smartphones (+code)