Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Home Automation with Arduino - Second Edition

You're reading from  Raspberry Pi Home Automation with Arduino - Second Edition

Product type Book
Published in Feb 2015
Publisher
ISBN-13 9781784399207
Pages 148 pages
Edition 1st Edition
Languages
Author (1):
Andrew K. Dennis Andrew K. Dennis
Profile icon Andrew K. Dennis
Toc

Table of Contents (16) Chapters close

Raspberry Pi Home Automation with Arduino Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. An Introduction to the Raspberry Pi, Arduino, and Home Automation 2. Getting Started – Setting Up Your Raspberry Pi and Arduino 3. Central Air and Heating Thermostat 4. Temperature Storage – Setting Up a Database to Store Your Results 5. Parcel Delivery Detector 6. Curtain Automation – Open and Close the Curtains Based on the Ambient Light 7. Water/Damp Detection – Check for Damp/Flooding in Sheds and Basements 8. Wrapping Up References Index

Index

A

  • ADC / Convertors – analog to digital and digital to analog
  • Android OS
    • about / The dot-com boom and open source – a new set of technologies
  • Arduino
    • history / History and background of the Arduino
    • Raspberry Pi, to Arduino shield connection bridge / Raspberry Pi to Arduino shield connection bridge
    • soldering / Soldering
    • components, connecting / Connecting the components to the Arduino
    • URL / Installing the parcel detector
    • online resources / Arduino
  • Arduino, to Raspberry Pi connection bridge
    • using / Using the Arduino to Raspberry Pi connection bridge
  • Arduino bridge shield
    • about / Introduction to the Arduino bridge shield
    • arduPi, installing / Installing arduPi
  • Arduino Ethernet shield
    • URL / Adding the Ethernet shield
  • Arduino IDE
    • installing / Arduino
    • URL / Arduino
    • installing, on Raspberry Pi / Installing the IDE on your Raspberry Pi
    • about / A quick guide to the Arduino IDE
    • URL, for installation guide / Creating software for the Gertboard
  • Arduino Motor Shield
    • URL / Motor shield and motors
  • Arduino products
    • URL / History and background of the Arduino
  • Arduino shields
    • reference link / Raspberry Pi to Arduino shield connection bridge
  • ArduinoTFT screen
    • URL / Adding an LCD screen
  • Arduino Wireless shield
    • URL / Upgrading from Ethernet to a wireless system
  • arduPi
    • installing / Installing arduPi
    • photoresistors / Photoresistors
    • motor shield / Motor shield and motors
    • motors / Motor shield and motors
  • Asynchronous JavaScript and XML (AJAX) request
    • about / Testing the JSON response
  • Atmel ATmega microcontroller / Atmel ATmega microcontroller

B

  • blank SD card
    • versus preinstalled SD card / Preinstalled SD card versus a blank SD card
  • blinds/curtains
    • connecting to / Connecting to your blinds/curtains
    • timing, setting / Setting the timing
    • hardware, attaching / Attaching the hardware
    • problems, debugging / Debugging problems
  • buffered I/O / Buffered I/O
  • buzzers, Adafruit
    • URL / Water detection

C

  • C/C++
    • online resources / C/C++
  • convertors / Convertors – analog to digital and digital to analog
  • Cooking Hacks
    • about / Raspberry Pi to Arduino shield connection bridge, Using the Arduino to Raspberry Pi connection bridge
    • URL / Raspberry Pi to Arduino shield connection bridge, Using the Arduino to Raspberry Pi connection bridge
  • cron job
    • about / Adding a cron job
    • adding / Adding a cron job
  • curtain control application
    • Arduino bridge shield / Introduction to the Arduino bridge shield
    • photoresistor, setting up / Setting up the photoresistor
    • components, wiring up / Wiring up the components, Wiring the components to the shield
    • photoresistor, testing with software / Testing the photoresistor with software
    • motor shield, setting up / Setting up the motor shield
    • about / Curtain control application
    • Pulse width modulation (PWM) / Pulse width modulation
    • threads / Threads
    • code, writing / Writing our code
    • photoresistor, mounting / Mounting the photoresistor outdoors
    • stepper motor, adding / Adding a stepper motor

D

  • 3D printing
    • about / 3D printing, 3D printing
    • online resources / 3D printing
  • DAC / Convertors – analog to digital and digital to analog
  • damp detection system
    • about / Damp detection system
    • Arduino Circuit, building / Arduino circuit
    • sketch code, adding / Sketch code
  • database, SQLite
    • creating / Creating a database
    • Temperature table, creating / A table to record our temperature
    • room table, creating / A table to record our rooms
  • database updates
    • about / Database updates
  • DHT library
    • URL / Setting up our software
  • direct current (DC)
    • about / Motor controller

E

  • EEG headsets
    • about / EEG headsets
  • electronic color code
    • URL / 10K ohm resistor
  • electronic components
    • online resources / Electronics
  • Electronic Computing Home Operator (ECHO)
    • about / History of home automation
  • Emotiv headset
    • URL / EEG headsets
  • Ethernet, to wireless system
    • upgrading from / Upgrading from Ethernet to a wireless system
  • Ethernet shield
    • adding / Adding the Ethernet shield

F

  • File Allocation Table (FAT)
    • about / Setting up the SD card and installing Raspbian
  • force-sensing resistor (FSR)
    • about / Pressure sensor – force-sensing resistor
  • future projects, ideas
    • about / Ideas for future projects
    • curtain automation tool, expanding for including temperature sensing / Expanding the curtain automation tool to include temperature sensing
    • motor, modifying on curtain automation project to stepper motor / Changing the motor on the curtain automation project to a stepper motor
    • photoresistor, used for switching on lights / Switching lights on with a photoresistor
    • holiday lights, from LEDs / Holiday lights from LEDs

G

  • General Purpose Input/Output (GPIO) pins
    • about / Raspberry Pi to Arduino shield connection bridge
  • Gertboard
    • about / The Gertboard
    • URL, for user manual / Convertors – analog to digital and digital to analog
    • software, writing for / Creating software for the Gertboard
  • Gertboard, components
    • about / Introduction to the Gertboard components
    • GPIO PCB expansion board / GPIO PCB expansion board
    • GPIO pins / GPIO pins
    • motor controller / Motor controller
    • open collector drivers (OC drivers) / The open collector drivers
    • buffered I/O / Buffered I/O
    • Atmel ATmega microcontroller / Atmel ATmega microcontroller
    • convertors / Convertors – analog to digital and digital to analog
  • Gertboard, in C
    • examples / Creating software for the Gertboard
  • GPIO PCB expansion board
    • about / GPIO PCB expansion board
  • GPIO pins
    • about / GPIO pins

H

  • hardware, thermostat
    • setting up / Setting up our hardware
    • Ethernet shield, adding / Adding the Ethernet shield
    • relay / Relays
    • thermistor, connecting / Connecting the thermistor
  • Heating, Ventilation and Air Conditioning (HVAC) system
    • about / Safety first
  • home automation
    • about / What is home automation?
    • history / History of home automation
    • X10 / X10 – a standard is born
    • dot-com boom / The dot-com boom and open source – a new set of technologies
    • open source technology / The dot-com boom and open source – a new set of technologies
    • commercial products / Commercial products
    • Raspberry Pi arrival / Arrival of the Raspberry Pi
  • home automation, future
    • about / The future of home automation
    • 3D printing / 3D printing
    • RFID chips / RFID chips
    • EEG headsets / EEG headsets
  • home automation technology
    • online resources / Home automation technology
  • HTSQL
    • about / HTSQL
    • downloading / Downloading HTSQL
    • configuring / Configuring HTSQL
    • URL / Configuring HTSQL
    • online resources / HTSQL
  • HTSQL query
    • URL / Testing our application, Testing the complete setup
  • humidity reading
    • using / Using the humidity reading
    • LED alert, adding / Adding an LED alert
    • dehumidifier, connecting / Connecting a dehumidifier
  • Hyper Text Structured Query Language (HTSQL)
    • about / Creating software for the Arduino
    • using / Creating software for the Arduino

I

  • installation, Arduino IDE
    • on Raspberry Pi / Installing the IDE on your Raspberry Pi
  • installation, Raspbian
    • about / Setting up the SD card and installing Raspbian
  • installation, SQLite Version 3.x
    • about / Installing SQLite Version 3.x
  • Integrated Development Environment (IDE)
    • about / History and background of the Arduino
  • Interaxon Muse
    • URL / EEG headsets

J

  • JavaScript Object Notation (JSON)
    • about / Testing the JSON response
    • URL / Testing the JSON response

K

  • 10-kiloohm resistor
    • about / 10K ohm resistor

L

  • LCD screen
    • adding, to thermostat / Adding an LCD screen
    • reference link / Adding an LCD screen
  • LED alert
    • adding / Adding an LED alert
  • LED code
    • blinking / Blinking LED code
  • LED functionality
    • expanding / Expanding the LED functionality
  • Linux
    • online resources / Linux
  • loop() function / Threads

M

  • mains electricity
    • reference link / Safety first
  • Makefiles
    • about / Makefiles
  • motor controller
    • about / Motor controller
  • motor shield
    • setting up / Setting up the motor shield

N

  • Negative Thermistor Coefficient (NTC)
    • about / Connecting the thermistor
    • versus Positive Thermistor Coefficient (PTC) / Connecting the thermistor
  • Noobs
    • about / Preinstalled SD card versus a blank SD card, A note on Noobs
    • reference link / A note on Noobs
  • notify_parcel() function / Writing our software

O

  • Ohms (Ω) / An introduction to resistors
  • open collector drivers (OC drivers) / The open collector drivers
  • open source technology
    • about / The dot-com boom and open source – a new set of technologies

P

  • parcel delivery detector
    • parcel sensor, wiring up / Wiring up the parcel sensor
    • Raspberry Pi database, updating / Updating the Raspberry Pi database
    • web-based Python application / A web-based Python application
    • installing / Installing the parcel detector
    • Ethernet, upgrading from / Upgrading from Ethernet to a wireless system
    • shipping details, checking / Checking the shipping details
    • pressure sensor, replacing / Replacing the pressure sensor with a camera and image recognition
  • parcel detector
    • installing / Installing the parcel detector
    • setup, testing / Testing the complete setup
  • parcel sensor
    • wiring up / Wiring up the parcel sensor
    • resistors / An introduction to resistors
    • components, connecting to Arduino / Connecting the components to the Arduino
    • software, writing / Writing our software
  • photoresistor
    • about / Photoresistors
    • setting up / Setting up the photoresistor
    • testing, with software / Testing the photoresistor with software
    • testing, with Makefile tool / Makefiles
    • mounting / Mounting the photoresistor outdoors
  • Pixy cam
    • URL / Replacing the pressure sensor with a camera and image recognition
  • Pololu Basic SPDT Relay Carrier
    • using / Relays
    • URL / Relays
  • Positive Thermistor Coefficient (PTC)
    • about / Connecting the thermistor
  • potentiometer
    • adding, to thermostat / Adding a potentiometer
    • URL / Adding a potentiometer
  • Power over Ethernet (PoE) / Installing the parcel detector
  • preinstalled SD card
    • versus blank SD card / Preinstalled SD card versus a blank SD card
  • pressure sensor
    • replacing, with camera / Replacing the pressure sensor with a camera and image recognition
  • printed circuit board (PCB)
    • about / The Gertboard
  • prototyping Pi Plate
    • about / The prototyping Pi Plate
    • URL / The prototyping Pi Plate
  • Pulse width modulation (PWM) / Pulse width modulation
  • PuTTY
    • about / SSH
    • URL, for downloading / SSH
  • Python
    • using / Creating software for the Arduino
    • online resources / Python
  • Python application
    • creating / Creating a Python application to write to our database
    • results, checking / Checking the results
    • cron job, adding / Adding a cron job
  • Python code
    • about / Python code
    • cron job, adding / Adding a cron job

R

  • Radio Frequency Identification (RFID) / RFID chips
  • Radio shack
    • URL / Installing the parcel detector
  • Raspberry Pi
    • history / History and background of the Raspberry Pi
    • used, for home automation / Arrival of the Raspberry Pi
    • Arduino IDE, installing / Installing the IDE on your Raspberry Pi
    • reference link / Raspberry Pi
  • Raspberry Pi, to Arduino bridge shield
    • reference link / Raspberry Pi to Arduino bridge shield
  • Raspberry Pi, to Arduino shield connection bridge
    • about / Raspberry Pi to Arduino shield connection bridge
  • Raspberry Pi database
    • updating / Updating the Raspberry Pi database
  • Raspberry Pi Home Automation, with Arduino
    • review, of second edition / A brief review of the second edition of Raspberry Pi Home Automation with Arduino
  • Raspbian
    • downloading / Downloading Raspbian
    • URL, for downloading / Downloading Raspbian
    • installing / Setting up the SD card and installing Raspbian
    • reference link, for installation / Setting up the SD card and installing Raspbian
    • Secure Shell (SSH), setting up / Raspberry Pi SSH setup
  • relay
    • using / Relays
    • Normally Closed points / Relays
    • Normally Open points / Relays
    • Common Connection points / Relays
  • resistors
    • about / An introduction to resistors
    • fixed resistors / An introduction to resistors
    • variable resistors / An introduction to resistors
    • force-sensing resistor (FSR) / Pressure sensor – force-sensing resistor
    • 10-kiloohm resistor / 10K ohm resistor
  • RFID chips / RFID chips

S

  • SD card
    • about / The SD card – our Raspberry Pi's storage device
    • reference link / The SD card – our Raspberry Pi's storage device
    • preinstalled SD card, versus blank SD card / Preinstalled SD card versus a blank SD card
    • setting up / Setting up the SD card and installing Raspbian
  • Secure Shell (SSH)
    • about / Setting up the SD card and installing Raspbian
    • setting up / Raspberry Pi SSH setup
  • Seeed Ethernet shield
    • URL / Adding the Ethernet shield
  • setpoint
    • about / Introducing the thermostat
  • setup() function / Writing our software
  • Shapeways
    • URL / Installing the parcel detector, 3D printing
  • shield, soldering
    • reference link / The prototyping Pi Plate
  • SMTP
    • setting up / Setting up SMTP
  • software
    • writing / Writing our software
    • writing, for Gertboard / Creating software for the Gertboard
  • software, thermostat
    • setting up / Setting up our software
    • coding / Thermostat software
  • software languages, for Arduino projects
    • Arduino programming language, using / Creating software for the Arduino
    • Python, using / Creating software for the Arduino
    • SQL, using / Creating software for the Arduino
    • Hyper Text Structured Query Language (HTSQL), using / Creating software for the Arduino
  • soldering
    • about / Soldering
  • SQL
    • using / Creating software for the Arduino
    • online resources / SQL
  • SQLite
    • about / SQLite
    • URL / SQLite
    • database, creating / Creating a database
    • SQL queries, writing / Writing SQL queries
  • sqlite3
    • URL / Expanding the LED functionality
  • sqlite3_close() function / Expanding the LED functionality
  • sqlite3_exec() function / Expanding the LED functionality
  • sqlite3_open() function / Expanding the LED functionality
  • SQLite Version 3.x
    • installing / Installing SQLite Version 3.x
  • SSH
    • about / SSH
  • StackExchange
    • about / A quick guide to the Arduino IDE
    • URL / A quick guide to the Arduino IDE
  • stepper motor
    • adding / Adding a stepper motor
    • URL / Adding a stepper motor
  • System-on-a-Chip (SoC)
    • about / History and background of the Raspberry Pi

T

  • thermistor
    • about / Connecting the thermistor
    • connecting / Connecting the thermistor
    • Negative Thermistor Coefficient (NTC) / Connecting the thermistor
    • Positive Thermistor Coefficient (PTC) / Connecting the thermistor
  • thermostat
    • about / Introducing the thermostat
    • usage / Introducing the thermostat
    • hardware, setting up / Setting up our hardware
    • software, setting up / Setting up our software
    • testing / Testing our thermostat and fan
    • fan, attaching / Attaching the fan
    • starting / Starting your thermostat application
    • JSON response, testing / Testing the JSON response
    • extra features, adding / Next steps
    • attaching, to heating system / Attaching the device to your heating system or a similar appliance
    • potentiometer, adding / Adding a potentiometer
    • LCD screen, adding / Adding an LCD screen
  • two-wire system, thermostat
    • reference link / Attaching the device to your heating system or a similar appliance

U

  • Uno board
    • using / History and background of the Arduino
  • US CDC
    • URL / A brief note on dampness

V

  • Vacuum fluorescent display (VFD) / The open collector drivers

W

  • water detection
    • about / Water detection
  • water detection device, Seeed
    • references / Water detection
  • web-based Python application
    • about / A web-based Python application, Our Python application
    • SMTP, setting up / Setting up SMTP
    • web service, starting / Starting the web service
    • application, testing / Testing our application
  • wiringPi library
    • about / The wiringPi library
    • URL / The wiringPi library
    • URL, for installation instructions / The wiringPi library

X

  • X10
    • about / X10 – a standard is born
  • XBee
    • URL / Upgrading from Ethernet to a wireless system
lock icon The rest of the chapter is locked
arrow left Previous Section
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}