Home Page Icon
Home Page
Table of Contents for
Index
Close
Index
by Pradeeka Seneviratne
Internet of Things with Arduino Blueprints
Internet of Things with Arduino Blueprints
Table of Contents
Internet of Things with Arduino Blueprints
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
Downloading the color images of this book
Errata
Piracy
Questions
1. Internet-Controlled PowerSwitch
Getting started
Hardware and software requirements
Arduino Ethernet Shield
The Arduino Ethernet board
Connecting Arduino Ethernet Shield to the Internet
Testing your Arduino Ethernet Shield
Selecting a PowerSwitch Tail
PN PSSRKT-240
PN80135
Wiring PowerSwitch Tail with Arduino Ethernet Shield
Turning PowerSwitch Tail into a simple web server
What is a web server?
A step-by-step process for building a web-based control panel
Handling client requests by HTTP GET
Sensing the availability of mains electricity
Testing the mains electricity sensor
Building a user-friendly web user interface
Adding a Cascade Style Sheet to the web user interface
Finding the MAC address and obtaining a valid IP address
Finding the MAC address
Obtaining an IP address
Assigning a static IP address
Obtaining an IP address using DHCP
Summary
2. Wi-Fi Signal Strength Reader and Haptic Feedback
Prerequisites
Arduino WiFi Shield
Firmware upgrading
Stacking the WiFi Shield with Arduino
Hacking an Arduino earlier than REV3
Knowing more about connections
Fixing the Arduino WiFi library
Connecting your Arduino to a Wi-Fi network
Wi-Fi signal strength and RSSI
Reading the Wi-Fi signal strength
Haptic feedback and haptic motors
Getting started with the Adafruit DRV2605 haptic controller
Selecting a correct vibrator
Connecting a haptic controller to Arduino WiFi Shield
Soldering a vibrator to the haptic controller breakout board
Downloading the Adafruit DRV2605 library
Making vibration effects for RSSI
Implementing a simple web server
Reading the signal strength over Wi-Fi
Summary
3. Internet-Connected Smart Water Meter
Prerequisites
Water flow sensors
Wiring the water flow sensor with Arduino
Reading pulses
Rising edge and falling edge
Reading and counting pulses with Arduino
Calculating the water flow rate
Calculating the water flow volume
Adding an LCD screen to the water meter
Converting your water meter to a web server
A little bit about plumbing
Summary
4. Arduino Security Camera with Motion Detection
Prerequisites
Getting started with TTL Serial Camera
Wiring the TTL Serial Camera for image capturing
Wiring the TTL Serial Camera for video capturing
Testing NTSC video stream with video screen
Connecting the TTL Serial Camera with Arduino and Ethernet Shield
Image capturing with Arduino
The Software Serial library
How the image capture works
Uploading images to Flickr
Creating a Flickr account
Creating a Temboo account
Creating your first Choreo
Initializing OAuth
Finalizing OAuth
Generating the photo upload sketch
Connecting the camera output with Temboo
Motion detection
Summary
5. Solar Panel Voltage Logging with NearBus Cloud Connector and Xively
Connecting a solar cell with the Arduino Ethernet board
Building a voltage divider
Building the circuit with Arduino
Setting up a NearBus account
Defining a new device
Examining the device lists
Downloading the NearBus agent
Creating and configuring a Xively account
Configuring the NearBus connected device for Xively
Developing a web page to display the real-time voltage values
Displaying data on a web page
Summary
6. GPS Location Tracker with Temboo, Twilio, and Google Maps
Hardware and software requirements
Hardware requirements
Software requirements
Getting started with the Arduino GPS shield
Connecting the Arduino GPS shield with the Arduino Ethernet board
Testing the GPS shield
Displaying the current location on Google Maps
Getting started with Twilio
Creating a Twilio account
Finding Twilio LIVE API credentials
Finding Twilio test API credentials
Get your Twilio number
Creating Twilio Choreo with Temboo
Sending an SMS with Twilio API
Send a GPS location data using Temboo
Summary
7. Tweet-a-Light – Twitter-Enabled Electric Light
Hardware and software requirements
Hardware
Software
Getting started with Python
Installing Python on Windows
Setting environment variables for Python
Installing the setuptools utility on Python
Installing the pip utility on Python
Opening the Python interpreter
Installing the Tweepy library
Installing pySerial
Creating a Twitter app and obtaining API keys
Writing a Python script to read Twitter tweets
Reading the serial data using Arduino
Connecting the PowerSwitch Tail with Arduino
Summary
8. Controlling Infrared Devices Using IR Remote
Building an Arduino infrared recorder and remote
Hardware
Software
Building the IR receiver module
Capturing IR commands in hexadecimal
Capturing IR commands in the raw format
Building the IR sender module
Controlling through the LAN
Adding an IR socket to non-IR enabled devices
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Summary
Index
A
AC (Alternative Current)
about /
Selecting a PowerSwitch Tail
Adafruit
references, for products /
Prerequisites
Adafruit DRV2605 Haptic Controller
about /
Getting started with the Adafruit DRV2605 haptic controller
Adafruit DRV2605 library
downloading /
Downloading the Adafruit DRV2605 library
URL /
Downloading the Adafruit DRV2605 library
Adafruit DRV2605L Haptic Motor Controller
URL /
Prerequisites
Adafruit VC0706 camera library
reference link /
Connecting the TTL Serial Camera with Arduino and Ethernet Shield
API keys
obtaining /
Creating a Twitter app and obtaining API keys
Arduino
URL /
Arduino Ethernet Shield
URL, for official page /
Firmware upgrading
WiFi Shield, stacking with /
Stacking the WiFi Shield with Arduino
hacking /
Hacking an Arduino earlier than REV3
connecting, to Wi-Fi Network /
Connecting your Arduino to a Wi-Fi network
water flow sensors, wiring with /
Wiring the water flow sensor with Arduino
circuit, building with /
Building the circuit with Arduino
used, for reading serial data /
Reading the serial data using Arduino
PowerSwitch Tail, connecting with /
Connecting the PowerSwitch Tail with Arduino
Arduino Ethernet board
about /
The Arduino Ethernet board
reference link /
The Arduino Ethernet board
solar cell, connecting with /
Connecting a solar cell with the Arduino Ethernet board
Arduino GPS shield, connecting with /
Connecting the Arduino GPS shield with the Arduino Ethernet board
Arduino Ethernet Shield
about /
Arduino Ethernet Shield
connecting, to Internet /
Connecting Arduino Ethernet Shield to the Internet
testing /
Testing your Arduino Ethernet Shield
PowerSwitch Tail, wiring with /
Wiring PowerSwitch Tail with Arduino Ethernet Shield
TTL Serial Camera, connecting with /
Connecting the TTL Serial Camera with Arduino and Ethernet Shield
Arduino Ethernet Shield R3
reference link /
Prerequisites
Arduino Ethernet Shield Rev3
reference link /
Prerequisites
Arduino GPS shield
about /
Getting started with the Arduino GPS shield
URL, for tutorials /
Getting started with the Arduino GPS shield
connecting, with Arduino Ethernet board /
Connecting the Arduino GPS shield with the Arduino Ethernet board
testing /
Testing the GPS shield
Arduino infrared recorder
building /
Building an Arduino infrared recorder and remote
Arduino infrared remote
building /
Building an Arduino infrared recorder and remote
Arduino Security Camera, with motion detection
prerequisites /
Prerequisites
Arduino UNO board /
Arduino Ethernet Shield
URL /
Prerequisites
Arduino UNO R3 board
reference link /
Connecting Arduino Ethernet Shield to the Internet
,
Prerequisites
Arduino UNO Rev3 board
reference link /
Prerequisites
,
Hardware
Arduino WiFi library
fixing /
Fixing the Arduino WiFi library
Arduino WiFi Shield
URL /
Prerequisites
about /
Arduino WiFi Shield
firmware, upgrading /
Firmware upgrading
haptic controller, connecting to /
Connecting a haptic controller to Arduino WiFi Shield
ARP (Address Resolution Protocol) /
Arduino Ethernet Shield
B
base64.h library
URL, for downloading /
Connecting the camera output with Temboo
basic IR remote
hardware requisites /
Hardware
software requisites /
Software
C
camera output
connecting, with Temboo /
Connecting the camera output with Temboo
Cascade Style Sheet (CSS)
about /
Adding a Cascade Style Sheet to the web user interface
adding, to web user interface /
Adding a Cascade Style Sheet to the web user interface
CCW (Counter Clock Wise) /
Wiring PowerSwitch Tail with Arduino Ethernet Shield
Choreo
creating /
Creating your first Choreo
Choreos
about /
Creating a Temboo account
circuit
building, with Arduino /
Building the circuit with Arduino
client requests
handling, by HTTP GET /
Handling client requests by HTTP GET
connections
about /
Knowing more about connections
D
data
displaying, on web page /
Displaying data on a web page
datasheet, for DRV2605 Haptic Driver
URL /
Downloading the Adafruit DRV2605 library
DC (Direct Current)
about /
Getting started
device
defining /
Defining a new device
device lists
examining /
Examining the device lists
DHCP
used, for obtaining IP address /
Obtaining an IP address using DHCP
E
environment variables
setting, for Python /
Setting environment variables for Python
ez_setup.py script
URL, for downloading /
Installing the setuptools utility on Python
F
falling edge
about /
Rising edge and falling edge
FlexiTimer2
references /
Downloading the NearBus agent
Flickr
images, uploading to /
Uploading images to Flickr
URL /
Creating a Flickr account
Flickr account
creating, steps /
Creating a Flickr account
FTDI cable
reference link /
The Arduino Ethernet board
G
Google Maps JavaScript API
about /
Displaying the current location on Google Maps
current location, displaying /
Displaying the current location on Google Maps
GPS (Global Positioning System)
about /
Getting started with the Arduino GPS shield
GPS location data
sending, Temboo used /
Send a GPS location data using Temboo
GPS Location Tracker
software requisites /
Hardware and software requirements
,
Software requirements
hardware requisites /
Hardware requirements
H
Hall effect sensor
reference link /
Water flow sensors
about /
Water flow sensors
haptic controller
connecting, to Arduino WiFi Shield /
Connecting a haptic controller to Arduino WiFi Shield
haptic controller breakout board
vibrator, soldering to /
Soldering a vibrator to the haptic controller breakout board
haptic feedback
about /
Haptic feedback and haptic motors
haptic motors
about /
Haptic feedback and haptic motors
hardwired TCP/IP stack
supported protocols /
Arduino Ethernet Shield
hexadecimal
IR commands, capturing in /
Capturing IR commands in hexadecimal
Hitachi HD44780 DRIVER compatible LCD Screen (16 x 2)
reference link /
Prerequisites
HTTP GET
client requests, handling by /
Handling client requests by HTTP GET
I
ICMP (Internet Control Message Protocol) /
Arduino Ethernet Shield
IGMP (Internet Group Management Protocol) /
Arduino Ethernet Shield
image capturing
TTL Serial Camera, wiring for /
Wiring the TTL Serial Camera for image capturing
image capturing, with Arduino
about /
Image capturing with Arduino
software serial library /
The Software Serial library
working /
How the image capture works
images
uploading, to Flickr /
Uploading images to Flickr
installing
Python, on Windows /
Installing Python on Windows
setuptools utility, on Python /
Installing the setuptools utility on Python
pip utility, on Python /
Installing the pip utility on Python
Tweepy library /
Installing the Tweepy library
pySerial /
Installing pySerial
Internet
Arduino Ethernet Shield, connecting to /
Connecting Arduino Ethernet Shield to the Internet
Internet Connected Smart Water Meter
prerequisites /
Prerequisites
IOREF pin /
Hacking an Arduino earlier than REV3
IP address
obtaining, DHCP used /
Obtaining an IP address using DHCP
IP Address
obtaining /
Obtaining an IP address
IPv4 (Internet Protocol Version 4) /
Arduino Ethernet Shield
IR Arduino library
reference link /
Software
IR commands
capturing, in hexadecimal /
Capturing IR commands in hexadecimal
capturing, in raw format /
Capturing IR commands in the raw format
IR receiver module
building /
Building the IR receiver module
IR sender module
building /
Building the IR sender module
IR Socket
reference link /
Hardware
IR socket
adding, to non-IR enabled devices /
Adding an IR socket to non-IR enabled devices
L
LAN
PowerSwitch Tail, controlling through /
Controlling through the LAN
LCD screen
adding, to water meter /
Adding an LCD screen to the water meter
Liquid Flow sensor
reference link /
Water flow sensors
liquid flow sensor
reference link /
Prerequisites
M
MAC (Media Access Control)
about /
Arduino Ethernet Shield
MAC Address
finding /
Finding the MAC address
mains electricity
availability, sensing /
Sensing the availability of mains electricity
mains electricity sensor
testing /
Testing the mains electricity sensor
metro.css
reference link /
Adding a Cascade Style Sheet to the web user interface
MetroUI CSS
reference link /
Adding a Cascade Style Sheet to the web user interface
Metro UI CSS
about /
Adding a Cascade Style Sheet to the web user interface
URL /
Adding a Cascade Style Sheet to the web user interface
motion detection
about /
Motion detection
N
NearBus
URL /
Setting up a NearBus account
NearBus account
setting up /
Setting up a NearBus account
NearBus agent
downloading /
Downloading the NearBus agent
NearBus connected device
configuring, for Xively /
Configuring the NearBus connected device for Xively
NearBus library
URL, for downloading /
Downloading the NearBus agent
negative-going pulse
about /
Rising edge and falling edge
non-IR enabled devices
IR socket, adding to /
Adding an IR socket to non-IR enabled devices
NTSC- supported monitor, Adafruit
reference link /
Testing NTSC video stream with video screen
NTSC video stream
testing, with video screen /
Testing NTSC video stream with video screen
O
OAuth
initializing /
Initializing OAuth
finalizing /
Finalizing OAuth
P
photo upload sketch
generating /
Generating the photo upload sketch
PHY (Physical Layer)
about /
Arduino Ethernet Shield
pin labels, TTL Serial Camera
about /
Getting started with TTL Serial Camera
CVBS /
Getting started with TTL Serial Camera
GND /
Getting started with TTL Serial Camera
TX /
Getting started with TTL Serial Camera
RX /
Getting started with TTL Serial Camera
+5 /
Getting started with TTL Serial Camera
pip utility
installing, on Python /
Installing the pip utility on Python
URL, for downloading /
Installing the pip utility on Python
plumbing
about /
A little bit about plumbing
PN80135
about /
PN80135
PN PSSRKT-240
about /
PN PSSRKT-240
positive-going pulse
about /
Rising edge and falling edge
PowerSwitch Tail
selecting /
Selecting a PowerSwitch Tail
PN PSSRKT-240 /
PN PSSRKT-240
references /
PN PSSRKT-240
PN80135 /
PN80135
wiring, with Arduino Ethernet Shield /
Wiring PowerSwitch Tail with Arduino Ethernet Shield
turning, into simple web server /
Turning PowerSwitch Tail into a simple web server
reference link /
Hardware
connecting, with Arduino /
Connecting the PowerSwitch Tail with Arduino
controlling, through LAN /
Controlling through the LAN
PPPoE (Point-to-Point Protocol over Ethernet) /
Arduino Ethernet Shield
pySerial
installing /
Installing pySerial
Python
about /
Getting started with Python
installing, on Windows /
Installing Python on Windows
URL /
Installing Python on Windows
environment variables, setting for /
Setting environment variables for Python
setuptools utility, installing on /
Installing the setuptools utility on Python
pip utility, installing on /
Installing the pip utility on Python
Python 2, versus Python 3
reference link /
Installing Python on Windows
Python interpreter
opening /
Opening the Python interpreter
Python script
writing, for reading Twitter tweets /
Writing a Python script to read Twitter tweets
R
R3 (Revision 3) /
Arduino Ethernet Shield
raw format
IR commands, capturing in /
Capturing IR commands in the raw format
rising edge
about /
Rising edge and falling edge
RSSI
about /
Wi-Fi signal strength and RSSI
URL /
Wi-Fi signal strength and RSSI
vibration effects, making for /
Making vibration effects for RSSI
S
serial data
reading, Arduino used /
Reading the serial data using Arduino
setuptools
URL, for download page /
Installing the setuptools utility on Python
setuptools utility
installing, on Python /
Installing the setuptools utility on Python
signal strength
reading, over Wi-Fi /
Reading the signal strength over Wi-Fi
simple web server
implementing /
Implementing a simple web server
SMS
sending, with Twilio API /
Sending an SMS with Twilio API
software serial library /
The Software Serial library
solar cell
connecting, with Arduino Ethernet board /
Connecting a solar cell with the Arduino Ethernet board
SparkFun
references, for products /
Connecting Arduino Ethernet Shield to the Internet
,
Sensing the availability of mains electricity
,
Prerequisites
,
Connecting a solar cell with the Arduino Ethernet board
,
Hardware requirements
,
Hardware
SparkFun GPS Shield kit
URL /
Getting started with the Arduino GPS shield
SS (Slave Select)
about /
Arduino Ethernet Shield
SSID (Service Set Identifier) /
Connecting your Arduino to a Wi-Fi network
static IP address
assigning /
Assigning a static IP address
T
TCP (Transport Control Protocol) /
Arduino Ethernet Shield
Temboo
about /
Creating a Temboo account
URL /
Creating a Temboo account
camera output, connecting with /
Connecting the camera output with Temboo
Twilio Choreo, creating with /
Creating Twilio Choreo with Temboo
used, for sending GPS location data /
Send a GPS location data using Temboo
Temboo account
creating /
Creating a Temboo account
TinyGPSPlus library
URL, for downloading /
Hardware requirements
,
Connecting the Arduino GPS shield with the Arduino Ethernet board
TTL Serial Camera
about /
Getting started with TTL Serial Camera
wiring, for image capturing /
Wiring the TTL Serial Camera for image capturing
wiring, for video capturing /
Wiring the TTL Serial Camera for video capturing
connecting, with Arduino Ethernet Shield /
Connecting the TTL Serial Camera with Arduino and Ethernet Shield
Tweepy library
installing /
Installing the Tweepy library
reference link /
Installing the Tweepy library
Twilio
about /
Getting started with Twilio
URL /
Creating a Twilio account
Twilio account
creating /
Creating a Twilio account
Twilio API
SMS, sending with /
Sending an SMS with Twilio API
Twilio Choreo
creating, with Temboo /
Creating Twilio Choreo with Temboo
Twilio LIVE API credentials
finding /
Finding Twilio LIVE API credentials
Twilio number
obtaining /
Get your Twilio number
Twilio test API credentials
finding /
Finding Twilio test API credentials
Twitter-Enabled Electric Light
hardware requisites /
Hardware
software requisites /
Software
Twitter app
creating /
Creating a Twitter app and obtaining API keys
URL /
Creating a Twitter app and obtaining API keys
U
UDP (User Datagram Protocol) /
Arduino Ethernet Shield
user-friendly web user interface
building /
Building a user-friendly web user interface
V
valid IP address
obtaining /
Finding the MAC address and obtaining a valid IP address
Vibrating Mini Motor Disc
URL /
Prerequisites
vibration effects
making, for RSSI /
Making vibration effects for RSSI
vibrator
selecting /
Selecting a correct vibrator
soldering, to haptic controller breakout board /
Soldering a vibrator to the haptic controller breakout board
video capturing
TTL Serial Camera, wiring for /
Wiring the TTL Serial Camera for video capturing
video screen
NTSC video stream, testing with /
Testing NTSC video stream with video screen
voltage divider
building /
Building a voltage divider
W
water flow rate
calculating /
Calculating the water flow rate
water flow sensors
about /
Water flow sensors
wiring, with Arduino /
Wiring the water flow sensor with Arduino
pulse, reading /
Reading pulses
pulses, reading with Arduino /
Reading and counting pulses with Arduino
pulses, counting with Arduino /
Reading and counting pulses with Arduino
water flow volume
calculating /
Calculating the water flow volume
water meter
LCD screen, adding to /
Adding an LCD screen to the water meter
converting, to web server /
Converting your water meter to a web server
web-based control panel
building /
A step-by-step process for building a web-based control panel
web page
developing, for real-time voltage values display /
Developing a web page to display the real-time voltage values
data, displaying on /
Displaying data on a web page
web server
PowerSwitch Tail, turning into /
Turning PowerSwitch Tail into a simple web server
about /
What is a web server?
water meter, converting to /
Converting your water meter to a web server
web user interface
Cascade Style Sheet (CSS), adding to /
Adding a Cascade Style Sheet to the web user interface
Wi-Fi
signal strength, reading over /
Reading the signal strength over Wi-Fi
Wi-Fi Network
Arduino, connecting to /
Connecting your Arduino to a Wi-Fi network
Wi-Fi signal strength
reading /
Reading the Wi-Fi signal strength
WiFi.RSSI() function
parameters /
Wi-Fi signal strength and RSSI
WiFi Shield
stacking, with Arduino /
Stacking the WiFi Shield with Arduino
WiFi signal strength
about /
Wi-Fi signal strength and RSSI
Windows
Python, installing on /
Installing Python on Windows
WIZnet W5100 Ethernet controller chip /
Arduino Ethernet Shield
X
Xively
about /
Creating and configuring a Xively account
URL /
Creating and configuring a Xively account
URL, for sign up /
Creating and configuring a Xively account
NearBus connected device, configuring for /
Configuring the NearBus connected device for Xively
Xively account
creating /
Creating and configuring a Xively account
configuring /
Creating and configuring a Xively account
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset