万本电子书0元读

万本电子书0元读

顶部广告

Internet of Things with Arduino Blueprints电子书

售       价:¥

4人正在读 | 0人评论 9.8

作       者:Pradeeka Seneviratne

出  版  社:Packt Publishing

出版时间:2015-10-27

字       数:70.8万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Develop interactive Arduino-based Internet projects with Ethernet and WiFiAbout This BookBuild Internet-based Arduino devices to make your home feel more secureLearn how to connect various sensors and actuators to the Arduino and access data from InternetA project-based guide filled with schematics and wiring diagrams to help you build projects incrementally Who This Book Is For This book is intended for those who want to learn more about Arduino and make Internet-based interactive projects with Arduino. If you are an experienced software developer who understands the basics of electronics, then you can quickly learn how to build the Arduino projects explained in this book.What You Will LearnMake a powerful Internet controlled relay with an embedded web server to monitor and control your home electrical appliancesBuild a portable Wi-Fi signal strength sensor to give haptic feedback about signal strength to the userMeasure water flow speed and volume with liquid flow sensors and record real-time readingsSecure your home with motion-activated Arduino security cameras and upload images to the cloudImplement real-time data logging of a solar panel voltage with Arduino cloud connectorsTrack locations with GPS and upload location data to the cloudControl a garage door light with your Twitter feedControl infrared enabled devices with IR remote and Arduino In Detail Arduino is a small single-chip computer board that can be used for a wide variety of creative hardware projects. The hardware consists of a simple microcontroller, board, and chipset. It comes with a Java-based IDE to allow creators to program the board. Arduino is the ideal open hardware platform for experimenting with the world of the Internet of Things. This credit card sized Arduino board can be used via the Internet to make more useful and interactive Internet of things projects. Internet of Things with Arduino Blueprints is a project-based book that begins with projects based on IoT and cloud computing concepts. This book covers up to eight projects that will allow devices to communicate with each other, access information over the Internet, store and retrieve data, and interact with users—creating smart, pervasive, and always-connected environments. It explains how wired and wireless Internet connections can be used with projects and the use of various sensors and actuators. The main aim of this book is to teach you how Arduino can be used for Internet-related projects so that users are able to control actuators, gather data from various kinds of sensors, and send and receive data wirelessly across HTTP and TCP protocols. Finally, you can use these projects as blueprints for many other IoT projects and put them to good use. By the end of the book, you will be an expert in the use of IoT with Arduino to develop a set of projects that can relate very well to IoT applications in the real world.Style and approach Every chapter in this book clearly explains how to assemble components through easy-to-follow steps on while laying out important concepts, code snippets, and expected output results so that you can easily end up with a successful project where you can also enhance or modify the project according to your requirements.
目录展开

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

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部