Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Building Wireless Sensor Networks Using Arduino

You're reading from   Building Wireless Sensor Networks Using Arduino Leverage the powerful Arduino and XBee platforms to monitor and control your surroundings

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781784395582
Length 192 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Matthijs Kooijman Matthijs Kooijman
Author Profile Icon Matthijs Kooijman
Matthijs Kooijman
Arrow right icon
View More author details
Toc

Index

A

  • access protocols, Beebotte
    • HTTP/REST / Access protocols
    • WebSockets / Access protocols
    • Message Queuing Telemetry Transport (MQTT) / Access protocols
  • Adafruit
    • URL / Collecting sensor data, Reading a DHT22 sensor
  • Adafruit IO
    • URL / Storing your data in the cloud
  • Adafruit MQTT library
    • URL / Writing the sketch
  • Adafruit SleepyDog library
    • URL / Putting the Arduino to sleep
    • about / Putting the Arduino to sleep
  • API frames
    • about / Switching to API mode
    / The xbee-arduino library
  • API mode, XBee module
    • switching to / Switching to API mode
    • modules, configuring / First module in API mode
    • data, sending / Sending data
    • second module, switching / Second module in API mode
  • API packets
    • about / Switching to API mode
  • application profiles, ZigBee protocol
    • about / ZigBee profiles, endpoints, and clusters
  • Application Programming Interface (API) mode
    • about / Switching to API mode
  • APS encryption
    • about / Trust center link key
  • Arduino
    • sleep modes / Putting the Arduino to sleep
  • ArduinoJson library
    • URL / Writing the sketch
  • Arduino Leonardo
    • URL / Serial on Arduino
  • Arduino Mega
    • URL / Serial on Arduino
  • Arduino power-saving
    • about / Arduino power-saving
    • XBee configuration / The XBee configuration
    • hardware, configuring / Hardware
    • Arduino, powering / Powering the Arduino
    • hardware, connecting / Hardware connections
  • AT Command frame
    • about / Switching to API mode
  • AT mode
    • about / Switching to API mode
  • avr-libc functions
    • URL / Putting the Arduino to sleep

B

  • 16-bit short address
    • about / Module addressing
  • 64-bit extended address
    • about / Module addressing
  • batteries
    • reference link / Battery power
    • lithium-ion battery / Lithium-ion and lithium polymer batteries
    • lithium polymer batteries / Lithium-ion and lithium polymer batteries
  • battery power
    • about / Battery power
    • self-discharge / Battery power
    • regulators / Regulators
  • Beebotte
    • URL / Storing your data in the cloud, Introducing Beebotte, Accessing your data, Adding setpoint control
    • used, for storing data / Introducing Beebotte
    • resources / Channels and resources
    • channels / Channels and resources
    • security / Security
    • access protocols / Access protocols
    • data, sending / Sending your data to Beebotte
    • preparing / Preparing Beebotte
    • Arduino, connecting to Internet / Connecting your Arduino to the Internet
    • hardware considerations / Connecting your Arduino to the Internet
    • Coordinator.ino sketch, writing / Writing the sketch
    • data, visualizing / Visualizing your data
    • data, accessing / Accessing your data
  • binary.h
    • used, for handling packets / Handling packets using binary.h
  • blocking method / Blocking and polling
  • breakout board
    • URL / Serial on a computer

C

  • callbacks
    • about / Callbacks
    • registration method / Callbacks
    • callback function / Callbacks
    • userdata / Callbacks
    • types / Callback types
    • limitations / Callback limitations
  • callbacks, types
    • onResponse() / Callback types
    • onOtherResponse() / Callback types
    • onPacketError() / Callback types
  • child poll timeout
    • about / Configuring the network
  • closed loop control systems
    • about / Control systems
  • cloud
    • data, storing / Storing your data in the cloud
  • clusters, ZigBee protocol
    • about / ZigBee profiles, endpoints, and clusters
    • input cluster / ZigBee profiles, endpoints, and clusters
    • output cluster / ZigBee profiles, endpoints, and clusters
  • command mode
    • about / Talking to the XBee module
  • Command Response frame
    • about / Switching to API mode
  • control systems
    • about / Control systems
  • coordinator module
    • about / Your first transmission
  • cyclic sleep
    • about / The XBee sleep modes

D

  • dashboards, Beebotte
    • about / Visualizing your data
  • data
    • sending / Sending and receiving data, Sending data
    • receiving / Sending and receiving data, Sending data, Receiving data
    • callbacks / Callbacks
    • storing, in cloud / Storing your data in the cloud
    • storing, with Beebotte / Introducing Beebotte
    • sending, to Beebotte / Sending your data to Beebotte
    • storing, locally / Keeping your data locally
    • sending, over serial port / Sending data over the serial port
    • receiving, over serial port / Receiving data over the serial port
  • data, receiving
    • setting up / Receiving data
    • sketch, uploading / Uploading the sketch
    • XBee module, connecting / Connecting the XBee
    • serial monitor, configuring / Receiving data
    • about / Receiving data
    • ZBRxResponse objects / The ZBRxResponse objects
    • sketch, creating / Creating the sketch
  • data, sending
    • about / Sending data
    • ZBTxRequest objects / The ZBTxRequest objects
    • sketch, creating / Creating the sketch
    • polling method / Blocking and polling
    • blocking method / Blocking and polling
    • sketch, running / Running the sketch
  • data transmission
    • about / Your first transmission
    • SparkFun XBee Explorer USB, using / Using the SparkFun XBee Explorer USB, Getting and running XCTU
    • firmware, updating / Updating the firmware
    • failed firmware updates, handling / Failed firmware updates
    • configuration / Configuration
    • talking, to XBee module / Talking to the XBee module
  • default response command
    • about / Receiving on/off command responses
  • default response message
    • about / Sending a message
  • device types
    • coordinator / Starting and joining a network
    • router / Starting and joining a network
    • end device / Starting and joining a network
  • DHT22 sensor
    • reading / Reading a DHT22 sensor
  • DHT sensor
    • about / Hardware connections
    • reference link / Hardware connections
  • DHT Sensor Library
    • URL / Reading a DHT22 sensor
  • DLINE / XBee shields
  • dropout voltage
    • about / Powering the Arduino

E

  • end devices
    • about / XBee power-saving
  • endpoints, ZigBee protocol
    • about / ZigBee profiles, endpoints, and clusters
  • example sketches
    • about / Example sketches
    • variable types / Variable types
    • PROGMEM / PROGMEM and F() strings
    • F() strings / PROGMEM and F() strings
    • pointers / Pointers

F

  • feedback control systems
    • about / Control systems
  • firmware
    • updating / Updating the firmware
    • failed firmware updates, handling / Failed firmware updates
  • flow control / Handshaking signals

G

  • general ZCL frame format
    • about / Sending a message

H

  • hardware registers
    • about / Putting the Arduino to sleep
  • hardware serial port / Serial on Arduino
  • hardware setup, sensor data
    • serial, on XBee / Serial on XBee
    • serial, on computer / Serial on a computer
    • serial, on Arduino / Serial on Arduino
    • XBee shields / XBee shields
  • Hayes command set
    • about / Talking to the XBee module
  • heating/cooling system
    • controlling / Controlling your heating and/or cooling system
    • thermostat, replacing / Replacing the thermostat
    • mains power, controlling / Controlling mains power
    • hairdryer, controlling / Hairdryer – an alternative
    • setpoint control, adding / Adding setpoint control
  • hexadecimal
    • about / Getting and running XCTU
    • URL / Getting and running XCTU
  • homebrew
    • URL / Receiving data over the serial port
  • HyperText Transfer Protocol (HTTP)
    • about / Access protocols
  • hysteresis
    • about / Control systems
  • hysteresis controller
    • about / Control systems

I

  • idle mode
    • about / Sleep modes
  • interrupt handler
    • about / Waking up
  • interrupts
    • URL / Blocking and polling
    • about / Waking up
    • reference link / Waking up
  • interrupt service routine
    • about / Waking up

J

  • JavaScript Object Notation (JSON)
    • about / Writing the sketch

L

  • linear regulators
    • about / Regulators
  • lithium-ion polymer batteries
    • about / Lithium-ion and lithium polymer batteries
    • reference link / Lithium-ion and lithium polymer batteries
  • lithium polymer batteries
    • about / Lithium-ion and lithium polymer batteries

M

  • Magnetic Door Switch Set
    • URL / Connecting the window sensor
  • matplotlib
    • URL / Receiving data over the serial port
  • Meazon Izy plug
    • URL / Controlling mains power, Selecting a ZigBee device
  • Message Queuing Telemetry Transport (MQTT)
    • about / Access protocols
  • millis()
    • URL / Creating the sketch
  • Modem status frame
    • about / Switching to API mode
  • modulating control
    • about / Replacing the thermostat

N

  • network
    • starting / Starting and joining a network
    • joining / Starting and joining a network
    • modules, addressing / Module addressing
    • scanning / Network scanning and remote configuration
    • remote configuration / Network scanning and remote configuration
    • commissioning button, using / The Commissioning button and LEDs
    • LEDs, using / The Commissioning button and LEDs
    • securing / Making your network secure
    • securing, with trust center link key / Trust center link key
    • encryption keys, selecting / Selecting encryption keys
    • secure network, setting up / Setting up your secure network
    • joins, disabling / Disabling network joining
  • network key (NK)
    • about / Making your network secure
    • distributing / Distributing the network key
  • Node Identifier (NI)
    • about / Network scanning and remote configuration
  • not a number (NaN)
    • about / Adding setpoint control

O

  • off-the-shelf ZigBee devices
    • controlling / Controlling off-the-shelf ZigBee devices
    • ZigBee protocol / Controlling off-the-shelf ZigBee devices
  • on/off thermostats
    • about / Replacing the thermostat
  • overshoot
    • about / Control systems

P

  • packet buffering timeout
    • about / Configuring the network
  • packets
    • handling, with binary.h / Handling packets using binary.h
    • building / Building and sending a packet
    • sending / Building and sending a packet
    • constructing, with binary.h / Constructing a packet using binary.h
    • sketch, creating / Creating the sketch, Creating the sketch
    • receiving / Receiving and parsing a packet
    • parsing / Receiving and parsing a packet
    • parsing, with binary.h / Parsing a packet using binary.h
  • parent device
    • about / XBee power-saving
  • Personal Area Network (PAN)
    • about / Starting and joining a network
  • pins, window sensor
    • remotely sampling / Remotely sampling the pins
    • pin state, querying / Querying the pin state
    • sample data, sending automatically / Automatically sending the sample data
    • configuration values / The configuration values
  • pin sleep
    • about / The XBee sleep modes
  • pointers
    • URL / Pointers
  • polling method / Blocking and polling
  • poll request
    • about / XBee power-saving
  • power saving
    • about / Saving power
    • techniques / Power saving techniques
    • reference link / Power saving techniques
    • power optimization / Knowing what to optimize and when to stop
  • PowerSwitch Tail device
    • URL / Controlling mains power
  • preprocessor
    • URL / Serial port setup
  • Processing tool
    • URL / Receiving data over the serial port
  • Product Manual
    • about / Official XBee documentation
  • PROGMEM
    • URL / PROGMEM and F() strings
  • Pro Mini
    • about / Hardware
    • URL / Hardware
  • public profiles, ZigBee protocol
    • about / ZigBee public profiles
    • ZigBee Home Automation (ZHA) / ZigBee public profiles
    • ZigBee Building Automation (ZBA) / ZigBee public profiles
    • ZigBee Health Care (ZHC) / ZigBee public profiles
    • ZigBee Retail Services (ZRS) / ZigBee public profiles
    • ZigBee Telecom Services (ZTS) / ZigBee public profiles
    • ZigBee Smart Energy (ZSE) / ZigBee public profiles
    • ZigBee Light Link (ZLL) / ZigBee public profiles
  • pull-up resistors
    • URL / Connecting the window sensor
  • Python
    • URL / Receiving data over the serial port
    • reference link / Receiving data over the serial port

R

  • race conditions
    • about / Waking up
    • reference link / Waking up
  • Receive packet frame
    • about / Switching to API mode
  • regulators
    • about / Regulators
    • linear regulators / Regulators
    • switching regulators / Regulators
    • reference link / Regulators
  • relay
    • about / Replacing the thermostat
    • controlling / Controlling a relay
  • relay modules
    • URL / Replacing the thermostat
  • router module
    • about / Your first transmission

S

  • secure network
    • setting up / Setting up your secure network
  • Send on Subscribe (SoS) option
    • about / Adding setpoint control
  • sensor data
    • hardware setup / Hardware setup
    • software setup / Software setup
    • collecting / Collecting sensor data
    • DHT22 sensor, reading / Reading a DHT22 sensor
    • packets, handling with binary.h / Handling packets using binary.h
    • packet, building / Building and sending a packet
    • packet, sending / Building and sending a packet
    • packet, receiving / Receiving and parsing a packet
    • packet, parsing / Receiving and parsing a packet
    • troubleshooting / Troubleshooting
  • sensor data, troubleshooting
    • about / Troubleshooting
    • XBee module communication / Communication with the XBee module is not working
    • modules, joining issue / Modules are not joining the network
    • modules, communication issue / Modules cannot talk to each other
  • serial, on XBee
    • about / Serial on XBee
    • handshaking signals / Handshaking signals
    • voltage levels / Voltage levels
  • serial port
    • data, sending / Sending data over the serial port
    • data, receiving / Receiving data over the serial port
  • setpoint control
    • adding / Adding setpoint control
    • events, subscribing / Subscribing to events
    • events, reading / Reading events
    • sensor readings, remembering / Remembering sensor readings
    • thermostat controller, implementing / Thermostat controller
  • sleeping window sensor
    • about / The sleeping window sensor
    • battery power / Battery power
    • power usage / Power usage
  • sleep modes, Arduino
    • about / Putting the Arduino to sleep
    • power down mode / Sleep modes
    • idle mode / Sleep modes
    • waking up / Waking up
    • sketch, creating / Creating the sketch
    • power usage / Power usage
  • sleep modes, XBee module
    • pin sleep / The XBee sleep modes
    • cyclic sleep / The XBee sleep modes
    • about / The XBee sleep modes
  • SODAQ
    • URL / Serial on Arduino, Hardware
    • about / Hardware
  • software setup, sensor data
    • about / Software setup
    • example sketches / Example sketches
    • serial port setup / Serial port setup
    • xbee-arduino library / The xbee-arduino library
    • sketch, creating / Creating the sketch
  • SparkFun
    • URL / Collecting sensor data, Replacing the thermostat
  • SparkFun FTDI Basic Breakout
    • URL / Serial on a computer
  • SparkFun XBee Explorer USB
    • using / Using the SparkFun XBee Explorer USB, Getting and running XCTU
  • standalone relay
    • creating / Creating a standalone relay
    • connections, creating / Connecting things
    • XBee module, configuring / Configuring the XBee module
    • output pin, remotely toggling / Remotely toggling an output pin
  • switching regulators
    • about / Regulators

T

  • time-series data
    • about / Channels and resources
  • Touchlink messages
    • about / Factory reset in case of problems
  • Transmit request frame
    • about / Switching to API mode
  • transparent mode
    • about / Receiving data, Switching to API mode
  • trust center
    • about / Distributing the network key
    • terminology differences / Trust center terminology differences
  • trust center link key
    • used, for securing network / Trust center link key

U

  • UART / Serial on Arduino

W

  • wakeup sources
    • about / Waking up
  • WebSockets
    • about / Access protocols
  • widgets, Beebotte
    • about / Visualizing your data
  • window sensor
    • creating / Creating a window sensor
    • connections, creating / Connecting things
    • XBee module, powering / Powering the module
    • connecting / Connecting the window sensor
    • I/O pin, naming / I/O pin naming
    • XBee module, configuring / Configuring the XBee module
    • pins, remotely sampling / Remotely sampling the pins
    • samples, receiving on coordinator / Receiving the samples on the coordinator
    • ZBRxIoSampleResponse objects / The ZBRxIoSampleResponse objects
    • I/O samples, receiving / Receiving the I/O samples

X

  • XBee
    • URL / Serial on XBee
  • xbee-arduino library
    • about / The xbee-arduino library
    • URL / The xbee-arduino library
  • XBee configuration and test utility (XCTU)
    • about / Getting and running XCTU
    • URL / Getting and running XCTU
  • XBee module
    • talking to / Talking to the XBee module
    • connecting, for receiving data / Receiving data
    • reference link / Powering the module
  • XBee power-saving
    • about / XBee power-saving
    • limitations / XBee power-saving
    • sleep modes / The XBee sleep modes
    • network, configuring / Configuring the network
    • sleeping window sensor / The sleeping window sensor
  • XBee product families
    • about / XBee product families
    • XBee and XBee-PRO 802.15.4 / XBee product families
    • XBee and XBee-PRO ZB / XBee product families
    • XBee and XBee-PRO DigiMesh 2.4 / XBee product families
    • XBee-PRO 900HP / XBee product families
    • XBee-PRO 868 / XBee product families
    • XBee Wi-Fi / XBee product families
    • other XBee families / Other XBee families
    • configuration values / Configuration values
  • XBee radio hardware
    • about / XBee radio hardware
    • versions / Versions and variants
    • variants / Versions and variants
    • documentation / Official XBee documentation
  • XBee shields
    • about / XBee shields
    • other shields / Other shields
  • XctuAndArduino
    • URL / Serial on a computer

Z

  • ZBRxIoSampleResponse objects
    • about / The ZBRxIoSampleResponse objects
    • isAnalogEnabled() method / The ZBRxIoSampleResponse objects
    • isDigitalEnabled() method / The ZBRxIoSampleResponse objects
    • getAnalog() method / The ZBRxIoSampleResponse objects
    • isDigitalOn() method / The ZBRxIoSampleResponse objects
    • reference link / The ZBRxIoSampleResponse objects
  • ZBRxResponse objects
    • about / The ZBRxResponse objects
    • getRemoteAddress16() method / The ZBRxResponse objects
    • getRemoteAddress64() method / The ZBRxResponse objects
    • getDataLength() method / The ZBRxResponse objects
    • getData() method / The ZBRxResponse objects
    • getOption() method / The ZBRxResponse objects
  • ZigBee
    • features / More ZigBee features
  • ZigBee Building Automation (ZBA)
    • about / ZigBee public profiles
  • ZigBee Cluster Library (ZCL)
    • about / ZigBee profiles, endpoints, and clusters
    • URL / Talking to a ZigBee on/off device
  • ZigBee device
    • selecting / Selecting a ZigBee device
  • ZigBee Device Profile (ZDP)
    • about / ZigBee profiles, endpoints, and clusters
  • ZigBee Health Care (ZHC)
    • about / ZigBee public profiles
  • ZigBee Home Automation (ZHA)
    • about / ZigBee public profiles
    • URL / Talking to a ZigBee on/off device
  • ZigBee Light Link (ZLL)
    • about / ZigBee public profiles
  • ZigBee on/off device
    • talking to / Talking to a ZigBee on/off device
    • network, joining / Joining the network
    • factory reset, using / Factory reset in case of problems
    • services, discovering / Discovering services
    • ZBExplicitTxRequest objects / The ZBExplicitTxRequest objects
    • message, sending / Sending a message
    • ZBExplicitRxResponse objects / The ZBExplicitRxResponse objects
    • messages, receiving / Receiving messages
    • on/off command responses, receiving / Receiving on/off command responses
  • ZigBee PRO stack profile
    • about / Joining the network
  • ZigBee protocol
    • profiles / ZigBee profiles, endpoints, and clusters
    • endpoints / ZigBee profiles, endpoints, and clusters
    • clusters / ZigBee profiles, endpoints, and clusters
    • public profiles / ZigBee public profiles
    • URL / ZigBee public profiles
  • ZigBee Retail Services (ZRS)
    • about / ZigBee public profiles
  • ZigBee Smart Energy (ZSE)
    • about / ZigBee public profiles
  • ZigBee Telecom Services (ZTS)
    • about / ZigBee public profiles
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images