Make: Bluetooth bluetooth LE projects with Arduino, Raspberry Pi, and smartphones

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 sens...

Full description

Bibliographic Details
Other Authors: Allan, Alasdair, author (author), Coleman, Don, author, Mistry, Sandeep, author
Format: eBook
Language:Inglés
Published: San Francisco, CA : Maker Media 2015.
2015.
Edition:First edition
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629676306719
Table of Contents:
  • Copyright; Table of Contents; Preface; What Makes Bluetooth LE Unique?; But I Like Serial Connections!; Building a Custom Service; Who Should Read This Book?; What You Should Already Know; What You Will Learn; What's In This Book; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgements by Alasdair Allan; Acknowledgements by Don Coleman; Acknowledgements by Sandeep Mistry; Chapter 1. Introduction; Talking About Bluetooth LE; Protocols and Profiles; The GAP; The GATT; Services and Characteristics; UUIDs; An Example Service
  • Making Sure Your Machine Has Bluetooth LEOS X; Apple iOS; Linux; Android; Microsoft Windows; What Haven't We Told You About Bluetooth LE?; Chapter 2. Getting Started; The Arduino; The Board; Powering the Board; Input and Output; Communicating with the Board; Installing the Arduino IDE; Installing on OS X; Installing on Linux; Installing on MS Windows; Connecting to the Board; Installing the BLE Peripheral Library; Setting Up Raspberry Pi; Installing BlueZ; Verifying the Bluetooth LE; Node.js; Installing Node.js; On Linux and Raspberry Pi; Installing Libraries with npm
  • Setting Up Dependencies for noble and blenoOS X; Raspberry Pi and Linux; Installing PhoneGap; PhoneGap Developer App; Bluetooth Low Energy Plugin; PhoneGap Versus Cordova; Platform Tools; Android; Chapter 3. Smart Light Switch; What Is a Smart Switch?; Hardware; The Breadboard; Getting Started; Resistor Color-Coding; Blinking an LED; Adding a Switch; Software Debouncing; Making a Real Light Switch; By Changing the Hardware; Changing the Software; Adding Bluetooth; Wiring Up the Adafruit Bluefruit LE Module; Modifying Our Sketch; Testing the Service; Using Real Lightbulbs; Conclusion
  • Chapter 4. BLE LockLock Service; Hardware; Lock Software; Programming; Setup; Loop; Unlock Characteristic Written; Open Lock; Reset Lock; Testing the Lock; iOS; Android; Mobile Application; Callbacks; BLE Lock App; CSS; HTML; JavaScript; Run the App; Improving the Lock; Chapter 5. Bleno Lock; Hardware; Lock Software; Libraries; Programming; Conclusion; Chapter 6. Weather Station; Hardware; Libraries; Programming; Compile and Upload; Serial Monitor; Using the Service; Using LightBlue on iOS; Using nRF Master Control Panel on Android; PhoneGap; Create the Project; HTML; JavaScript; Run the App
  • What's Next?Chapter 7. NeoPixel Lamp; Hardware; NeoPixels; Building the Hardware; Software; LED Service; Programming the Arduino; Generic Bluetooth Client; Building a Phone App; Create the Project; HTML; CSS; JavaScript; Run the App; Enhancements; Physical Switch and Dimmer; Lamp; 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; Hardware; Arduino Library Setup; Testing the Rotary Encoder; Implementing the Volume Knob
  • Conclusion