FREE E-BOOK Bluetooth LE Projects with Arduino, Raspberry Pi, and Smartphones

FREE E-BOOK  Bluetooth LE Projects with Arduino, Raspberry Pi, and Smartphones







FREE E-BOOK  Bluetooth LE Projects with Arduino, Raspberry Pi, and Smartphones
FREE E-BOOK  Bluetooth LE Projects with Arduino, Raspberry Pi, and Smartphones








Author(s): Alasdair Allan, Don Coleman, Sandeep Mistry
Publisher: Maker Media, Inc, Year: 2015
ISBN: 1457187094,9781457187094


Introduction


Who Should Read This Book? 

This book provides an introduction to the topic of how to build and deploy Bluetooth LE sensors and devices.

 It takes a hands-on approach and teaches you how to build things and how to use them, not just the protocols and architecture behind the standard. If you’re a programmer or a maker who wants to get started with Bluetooth LE, this book is for you.

 What You Should Already Know This book is intended as an introduction to working with Bluetooth LE, and it assumes a technical background. However, we walk you through installing and using all the software and development environments you’ll need, including how to get started with the Arduino, Raspberry Pi, Node.js, and PhoneGap.

 What You Will Learn This book will guide you through building a series of connected projects—from lightbulbs, to locks, to beacons, and drones. It will walk you through your €rst hardware prototypes, show you how to improve them, and teach you how to build Bluetooth LE connected devices for the Internet of Things.

One of the engines behind the recent massive growth in the Internet of Things Bluetooth Low Energy (LE) standard. What makes them so attractive is everywhere Smartphones - Apple or others - with support for the standard, which means Object makers no longer have to worry about the display or the user interface.

 And that It means that things like smart bulbs can look more like bulbs than bulbs a computer with a light attached to it.

Bluetooth LE is completely different from classic Bluetooth technology - in fact, it's pretty much the only thing This is the same name. You might be used to thinking of radios as kind of like Serial communication works similar to a phone call between two phones - once you establish a connection, each person talks while the other is listening and vice versa. 

They keep in touch, even if he doesn't say anything, until he ends the call and closes the call. 

On systems such as this, data is transmitted using a queue, and when the receiver reads the data, it is erased from the queue - just as my words reach your ears over the phone, They are outside the communication channel. For example, this is how classic Bluetooth works.

What makes Bluetooth LE unique? Instead of calling via a point-to-point connection like a phone, the Bluetooth LE radio works like a community bulletin board, where each radio works as either a board or a board reader.

If your radio is a bulletin board - called a Bluetooth LE parlance terminal - then it is She posts the data on her forum for everyone to read in the community. If your radio is a reader— Called a central device with Bluetooth LE phrases - it can read from any of the boards (peripherals) that contain information that interests them.

If you don't like this metric, you can also think of peripherals as servers in Transaction of the client with the server. Likewise, central devices are Bluetooth LE world clients Because they read information from the peripherals. But I love serial connections! Most (maybe all of it?) Bluetooth LE wireless hacking boards are available to the right makers

Now - for example RedBearLab BLE and Adafruit Bluefruit LE, for example Seem as serial devices for simplicity and user UART delivery. Effectively these radios are "fake" serial-style old communications on top of the underlying Billboard template. It is a breakthrough, not bad.

Serial over Bluetooth LE facilitates the transition from classic Bluetooth to Bluetooth LE For people accustomed to Serial Port Pro € le (SPP) and UART. However, there is a downside.

Do not take advantage of Bluetooth LE technology. These are only Bluetooth serial services Data over general transmission and reception tubes. If the device uses a series, it also needs € Protocol for data sent and received.

Bluetooth LE device manufacturers provide the ability to create Bluetooth LE devices using self-description services. If the characteristics are well designed and the description makes sense,

You can use the services without documents. (An example is using Smartbotics Lightbulb with the LightBlue iOS app.)

Compare this to other devices that use SPP, such as services where you need to know the details Including a byte to send over the wire to turn on the LED and change its color. 

These devices You need really good documents and / or additional libraries to do simple things like assignment LED color.

Returning to our bulletin board example, we create a board (service) that contains Attached note Note (known as Bluetooth LE parlance), which we can Read on, let's know if the lamp is on or off, or write to - which allows us to control the lamp.


                               
                            Download 

Publier un commentaire

0 Commentaires