1. 首页
  2. 编程语言
  3. 其他
  4. Packt.Building.Wireless.Sensor.Networks.Using.Arduino

Packt.Building.Wireless.Sensor.Networks.Using.Arduino

上传者: 2019-09-27 21:04:53上传 PDF文件 500kb 热度 48次
Packt.Building.Wireless.Sensor.Networks.Using.ArduinoTable of contentsBuilding Wireless Sensor Networks Using Arduinoeditsabout the authorabout the reviewerswww.Packtpub.comSupport files, eBooks, discount offers, and moreWhy subscribe?Free access for packt account holdersPrefaceWhat this book coversWhat you need for this bookWho this book is forConventionsReader feedbackCustomer supportDownloading the example codeErrataPiracyeBooks discount offers. and moreQuestions1. A World without wiresXBee radio hardwareXBee product familiesVersions and variantsOfficial xbee documentationYour first transmissionUsing the SparkFun XBee Explorer USBGetting and running XCTUUpdating the firmwareFailed firmware updatesConfigur ationTalking to the XBee moduleReceiving dataUploading the sketchConnecting the XBeeReceiving dataSwitching to API modeFirst module in api modeSending dataSecond module in api modeStarting and joining a networkModule addressingNetwork scanning and remote configurationThe Commissioning button and ledsMaking your network secureDistributing the network keyTrust center link keyTrust center terminology differencesSelecting encryption keysSetting up your secure networkDisabling network joiningOther Xbee familiesConfiguration valuesSummary2. Collecting Sensor DataHardware setupSerial on XbeeHandshaking signalsVoltage levelsSerial on a computerSerial on arduinoXBee shieldsOther shieldsSoftware setupExample sketchesVariable typesPROGMEM and fo stringsPointersSerial port setulThe xbee-arduino libraryCreating the sketchSending and receiving dataSending datahe ZBTxRequest objectsCreating the sketchBlocking and pollingRunning the sketchCallbacksCallback typesCallback limitationsReceiving dataThe zBrxResponse objectsCreating the sketchCollecting sensor dataReading a dht22 sensorHandling packets using binary hBuilding and sending a packetConstructing a packet using binary hCreating the sketchReceiving and parsing a packetParsing a packet using binary hCreating the sketchTroubleshootingCommunication with the xbee module is not wor king1gModules are not joining the networkModules cannot talk to each otherSummary3. Storing and visualizing Your DataStoring your data in the cloudIntroducing BeebotteChannels and resourcesSecurityAccess protocolsSending your data to BeebottePreparing BeebotteConnecting your Arduino to the InternetWriting the sketchⅵ isualizing your dataAccessing your dataKeeping your data locallySending data over the serial portReceiving data over the serial portSummary4. Controlling the WorldControlling your heating and/or cooling systemReplacing the thermostatControlling mains powerHairdryer -an alternativeControl systemsAdding setpoint controlSubscribing to eventsReading eventsRemembering sensor readingsThermostat controllerControlling a relayControlling off-the-Shelf Zig Bee devicesZig Bee profiles, endpoints, and clustersZig Bee public profilesSelecting a Zig bee deviceTalking to a Zig Bee on/off deviceJoining the networkFactory reset in case of problemsDiscovering servicesThe ZBExplicitTxRequest objectsSending a messageThe zBExplicitRXResponse objectsReceiving messagesReceiving on/off command responsesMore Zig Bee featuresSummary5. Standalone XBee OperationCreating a window sensorConnecting thingsPowering the moduleConnecting the window sensoryo pin namingConfiguring the XBee moduleRemotely sampling the pinsQuerying the pin stateAutomatically sending the sample dataThe configuration valuesReceiving the samples on the coordinatorThe ZBRxlo SampleResponse objectsReceiving the 1/0 samplesCreating a standalone relayConnecting thingsConfiguring the XBee moduleRemotely toggling an output pinSummary6. Battery power and sleepingBattery powerLithium-ion and lithium polymer batteriesRegulatorsSaving powerPower saving techniquesKnowing what to optimize and when to stopⅩ Bee power-savingThe XBee sleep modesConfiguring the networkThe sleeping window sensorBattery powerPower usageArduino power-savingThe XBee configurationHardwarePowering the arduinoHardware connectionsPutting the arduino to sleepSleep modesWaking upCreating the sketchPower usageSummarylndeⅹBuilding Wireless Sensor Networks UsingArduinoBuilding Wireless Sensor Networks UsingArduinoCopyright C 2015 Packt PublishingAll rights reserved. No part of this book may be reproduced, stored in a retrieval system, ortransmitted in any form or by any means, without the prior written permission of thepublisher, except in the case of brief quotations embedded in critical articles or reviewsEvery effort has been made in the preparation of this book to ensure the accuracy of theinformation presented However, the information contained in this book is sold withoutwarranty, either express or implied. Neither the author, nor Packt Publishing, and its dealersand distributors will be held liable for any damages caused or alleged to be caused directly orindirectly by this bookPackt Publishing has endeavored to provide trademark information about all of thecompanies and products mentioned in this book by the appropriate use of capitals. However,Packt Publishing cannot guarantee the accuracy of this informationFirst published: October 2015Production reference: 1121015Published by packt Publishing LtdLivery place35 Livery streetBirmingham b3 2PB, UKISBN978-1-784395582www.packtpub.comCreditsAuthorMatthijs KooijmanReviewersAnvirup BasuRoberto galleaVincent gijsenRandy schurFangzhou XiaCommissioning editorNadeem BaganAcquisition editorSonaliⅤ ernekarContent Development EditorShali deeraTechnical editorDanish shaikhCopy editorTasneem fatehiProject CoordinatorKinjal BariProofreaderSatis editing
下载地址
用户评论