售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜