万本电子书0元读

万本电子书0元读

顶部广告

Raspberry Pi Home Automation with Arduino - Second Edition电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Andrew K. Dennis

出  版  社:Packt Publishing

出版时间:2015-02-25

字       数:71.8万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you are new to the Raspberry Pi, the Arduino, or home automation and wish to develop some amazing projects using these tools, then this book is for you. Any experience in using the Raspberry Pi would be an added advantage.
目录展开

Raspberry Pi Home Automation with Arduino Second Edition

Table of Contents

Raspberry Pi Home Automation with Arduino Second Edition

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. An Introduction to the Raspberry Pi, Arduino, and Home Automation

History and background of the Raspberry Pi

History and background of the Arduino

Raspberry Pi to Arduino shield connection bridge

Soldering

Creating software for the Arduino

What is home automation?

History of home automation

X10 – a standard is born

The dot-com boom and open source – a new set of technologies

Commercial products

Arrival of the Raspberry Pi

Summary

2. Getting Started – Setting Up Your Raspberry Pi and Arduino

The SD card – our Raspberry Pi's storage device

Preinstalled SD card versus a blank SD card

A note on Noobs

Downloading Raspbian

Setting up the SD card and installing Raspbian

Raspberry Pi SSH setup

Arduino

Installing the IDE on your Raspberry Pi

A quick guide to the Arduino IDE

Using the Arduino to Raspberry Pi connection bridge

Summary

3. Central Air and Heating Thermostat

Safety first

Introducing the thermostat

Setting up our hardware

Adding the Ethernet shield

Relays

Connecting the thermistor

Setting up our software

Thermostat software

Testing our thermostat and fan

Attaching the fan

Starting your thermostat application

Testing the JSON response

Next steps

Attaching the device to your heating system or a similar appliance

Adding a potentiometer

Adding an LCD screen

Summary

4. Temperature Storage – Setting Up a Database to Store Your Results

SSH

SQLite

Installing SQLite Version 3.x

Creating a database

A table to record our temperature

A table to record our rooms

Writing SQL queries

Creating a Python application to write to our database

Checking the results

Adding a cron job

HTSQL

Downloading HTSQL

Configuring HTSQL

Summary

5. Parcel Delivery Detector

Wiring up the parcel sensor

An introduction to resistors

Pressure sensor – force-sensing resistor

10K ohm resistor

Connecting the components to the Arduino

Writing our software

Updating the Raspberry Pi database

A web-based Python application

Setting up SMTP

Our Python application

Starting the web service

Testing our application

Installing the parcel detector

Testing the complete setup

Next steps

Upgrading from Ethernet to a wireless system

Checking the shipping details

Replacing the pressure sensor with a camera and image recognition

Summary

6. Curtain Automation – Open and Close the Curtains Based on the Ambient Light

Introduction to the Arduino bridge shield

Installing arduPi

Photoresistors

Motor shield and motors

Setting up the photoresistor

Wiring up the components

Testing the photoresistor with software

Makefiles

Setting up the motor shield

Wiring the components to the shield

Curtain control application

Pulse width modulation

Threads

Writing our code

Connecting to your blinds/curtains

Setting the timing

Attaching the hardware

Debugging problems

Next steps

Mounting the photoresistor outdoors

Adding a stepper motor

Summary

7. Water/Damp Detection – Check for Damp/Flooding in Sheds and Basements

A brief note on dampness

Damp detection system

Arduino circuit

Sketch code

Database updates

Python code

Adding a cron job

Using the humidity reading

Adding an LED alert

Blinking LED code

Expanding the LED functionality

Connecting a dehumidifier

Water detection

Summary

8. Wrapping Up

A brief review of the second edition of Raspberry Pi Home Automation with Arduino

Next steps

The prototyping Pi Plate

The wiringPi library

The Gertboard

Introduction to the Gertboard components

GPIO PCB expansion board

GPIO pins

Motor controller

The open collector drivers

Buffered I/O

Atmel ATmega microcontroller

Convertors – analog to digital and digital to analog

Creating software for the Gertboard

Ideas for future projects

Expanding the curtain automation tool to include temperature sensing

Changing the motor on the curtain automation project to a stepper motor

Switching lights on with a photoresistor

Holiday lights from LEDs

The future of home automation

3D printing

RFID chips

EEG headsets

Summary

A. References

Raspberry Pi

Raspberry Pi to Arduino bridge shield

Linux

Python

C/C++

Arduino

SQL

HTSQL

Electronics

Packt Publishing titles

Home automation technology

3D printing

Index

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部