Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
Raspberry Pi Home Automation with Arduino
Table of Contents Raspberry Pi Home Automation with Arduino Credits About the Author Acknowledgement About the Reviewer 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
What we will explore in this book History and background of the Raspberry Pi
Raspberry Pi hardware specifications Dimensions 3.5mm analog audio jack Composite RCA port Two USB 2.0 ports plus one micro USB HDMI port SD card port 256 MB/512 MB SDRAM shared with GPU CPU GPU Ethernet port GPIO pins
History and background of Arduino
Raspberry Pi to Arduino shield connection bridge Shield specifications
XBee socket Power source selector UART Digital GPIO pins Serial Peripheral Interface (SPI) pins In Circuit Serial Programmer (ICSP) connector Power pins Analog inputs Raspberry Pi GPIO connector
Soldering Writing software for the Arduino
What home automation is
A 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 Part 1 – Setting up Your Raspberry Pi
The SD card – our Raspberry Pi's storage device Pre-installed SD card versus a blank one Setting up the SD card
Formatting our card
Formatting instructions for Windows 7 Formatting instructions for Mac OS X Formatting instructions for Linux
BerryBoot – our tool for installing an operating system
Downloading the BerryBoot zip
Windows Mac Linux
Hooking up the Raspberry Pi Downloading the right operating system Installing Raspbian Installation complete
Windows users Mac and Linux users
Summary
3. Getting Started Part 2 – Setting up Your Raspberry Pi to Arduino Bridge Shield
Raspberry Pi to Arduino bridge shield
Checking which version of the Raspberry Pi we have Setting up the Raspberry Pi to Arduino shield and LED Installing the software The Arduino IDE
A quick look at the language
arduPi – a library for our Raspberry Pi and Arduino shield Installing arduPi
Leafpad – a text editor
Blinking LED application
A guide to the code Compiling and running our application
Summary
4. Our First Project – A Basic Thermometer
Building a thermometer
Setting up our hardware
An introduction to resistors Thermistor 10K Ohm resistor Wires Breadboard
Connecting our components
Sanity check
Software for our thermometer
Geany IDE
Installing the IDE
An introduction to Makefiles Thermometer code Writing our application Compiling and testing What if it doesn't work Up and running
Summary
5. From Thermometer to Thermostat – Building upon Our First Project
Safety first Introducing the thermostat Setting up our hardware
Relays Connecting the relay
Setting up our software
A program to test the relay Installing screen cURL Thermostat code
Testing our thermostat and fan
Attaching the fan Starting your thermostat application
Debugging problems
Summary
6. Temperature Storage – Setting up a Database to Store Your Results
SQLite
Installing SQLite Version 3.x Creating a database
A table to record our temperature A table to record our rooms
Writing some SQL
Apache web server
Setting up a basic web server WSGI
Setting up WSGI
Creating a Python application to write to our database Conclusion
HTSQL
Download HTSQL Configuring HTSQL
Testing our Arduino shield with our database Summary
7. Curtain Automation – Open and Close the Curtains Based on the Ambient Light
Photoresistors Motor shield and motors Setting up the photoresistor
Wiring up the components Testing the photoresistor with software Debug Setting up the motor shield Wiring up the components
Curtain control application
Pulse Width Modulation Threads Writing our code Debugging problems Connecting to your blinds/curtains Setting the timing Attaching the hardware Debugging problems
Summary
8. Wrapping up
A brief review of what we have learned Next steps
Prototyping Pi Plate The wiringPi library The Gertboard Introduction to the Gertboard components
GPIO PCB expansion board GPIO Pins Motor controller Open collector driver Buffered I/O Atmel ATmeg chip microcontroller Convertors – analog to digital and digital to analog Writing software for the Gertboard
Ideas for next step 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 Apache Electronics Packt Publishing titles Home automation technology 3D printing EEG headsets Miscellaneous resources
Index
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion