Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Raspberry Pi cookbook for Python programmers

You're reading from  Raspberry Pi cookbook for Python programmers

Product type Book
Published in Apr 2014
Publisher
ISBN-13 9781849696623
Pages 402 pages
Edition 1st Edition
Languages

Table of Contents (18) Chapters

Raspberry Pi Cookbook for Python Programmers
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Getting Started with a Raspberry Pi Computer Starting with Python Strings, Files, and Menus Using Python for Automation and Productivity Creating Games and Graphics Creating 3D Graphics Using Python to Drive Hardware Sense and Display Real-world Data Creating Projects with the Raspberry Pi Camera Module Building Robots Interfacing with Technology Hardware and Software List Index

Controlling the Raspberry Pi over Bluetooth


Serial data can also be sent through Bluetooth by connecting a HC-05 Bluetooth module that supports the Serial Port Profile (SPP) to the GPIO serial RX/TX pins. This allows the serial connection to become wireless, which allows Android tablets or smartphones to be used to control things and read data from the Raspberry Pi.

The HC-05 Bluetooth module for the TLL serial

Note

While it is possible to achieve a similar result using a USB Bluetooth dongle, additional configuration would be required depending on the particular dongle used. The TTL Bluetooth module provides a drop-in replacement for a physical cable, requiring very little additional configuration.

Getting ready

Ensure that the serial console has been disabled (see the previous There's more… section).

The module should be connected using the following pins:

Connection to a Bluetooth module for the TLL serial

How to do it...

With the Bluetooth module configured and connected, we can pair the module...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}