Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
BeagleBone Home Automation Blueprints

You're reading from  BeagleBone Home Automation Blueprints

Product type Book
Published in Feb 2016
Publisher
ISBN-13 9781783986026
Pages 378 pages
Edition 1st Edition
Languages
Author (1):
Rodolfo Giometti Rodolfo Giometti
Profile icon Rodolfo Giometti

Table of Contents (18) Chapters

BeagleBone Home Automation Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Dangerous Gas Sensors 2. Ultrasonic Parking Assistant 3. Aquarium Monitor 4. Google Docs Weather Station 5. WhatsApp Laundry Room Monitor 6. Baby Room Sentinel 7. Facebook Plant Monitor 8. Intrusion Detection System 9. Twitter Access Control System with Smart Card and RFID 10. A Lights Manager with a TV Remote Controller 11. A Wireless Home Controller with Z-Wave Index

Setting up the hardware


This time, the hardware setting is not very tricky since we just need two I2C chips to get the basic environment data for our weather station, while all the complexity is in the software settings, since we need at least a 3.13 kernel to manage the sensors and a complete software toolchain to talk with the Google Docs system!

Maybe this is not the case with you, but my BeagleBone Black runs a kernel version 3.8 where some drivers are missing. That's why I decided to install a new distribution based on kernel release 3.13 on an external microSD so that I do not have to modify the default on-board eMMC settings.

In any case, just to set up the hardware, I can use the current running kernel where I can enable the I2C bus named I2C1 with the following command:

root@beaglebone:~# echo BB-I2C1 > /sys/devices/bone_capemgr.9/slots

If everything works well, you should see the following kernel activities on your board:

part_number 'BB-I2C1', version 'N/A'
slot #7: generic override...
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 €14.99/month. Cancel anytime}