Building Wireless Sensor Networks. with ZigBee, XBee, Arduino, and Processing - Helion
ISBN: 978-14-493-0274-0
stron: 322, Format: ebook
Data wydania: 2010-12-14
Księgarnia: Helion
Cena książki: 101,15 zł (poprzednio: 117,62 zł)
Oszczędzasz: 14% (-16,47 zł)
Get ready to create distributed sensor systems and intelligent interactive devices using the ZigBee wireless networking protocol and Series 2 XBee radios. By the time you're halfway through this fast-paced, hands-on guide, you'll have built a series of useful projects, including a complete ZigBee wireless network that delivers remotely sensed data.
Radio networking is creating revolutions in volcano monitoring, performance art, clean energy, and consumer electronics. As you follow the examples in each chapter, you'll learn how to tackle inspiring projects of your own. This practical guide is ideal for inventors, hackers, crafters, students, hobbyists, and scientists.
- Investigate an assortment of practical and intriguing project ideas
- Prep your ZigBee toolbox with an extensive shopping list of parts and programs
- Create a simple, working ZigBee network with XBee radios in less than two hours -- for under $100
- Use the Arduino open source electronics prototyping platform to build a series of increasingly complex projects
- Get familiar with XBee's API mode for creating sensor networks
- Build fully scalable sensing and actuation systems with inexpensive components
- Learn about power management, source routing, and other XBee technical nuances
- Make gateways that connect with neighboring networks, including the Internet
Osoby które kupowały "Building Wireless Sensor Networks. with ZigBee, XBee, Arduino, and Processing", wybierały także:
- Arduino. Kurs video. Poziom pierwszy. Podstawowe techniki dla własnych projektów elektronicznych 99,00 zł, (44,55 zł -55%)
- W labiryncie IoT. Budowanie urz 49,90 zł, (24,95 zł -50%)
- Arduino od podstaw 49,90 zł, (24,95 zł -50%)
- TinyML. Wykorzystanie TensorFlow Lite do uczenia maszynowego na Arduino i innych mikrokontrolerach 99,00 zł, (49,50 zł -50%)
- Elektronika i internet rzeczy. Przewodnik dla ludzi z prawdziwą pasją 89,00 zł, (44,50 zł -50%)
Spis treści
Building Wireless Sensor Networks. with ZigBee, XBee, Arduino, and Processing eBook -- spis treści
- Building Wireless Sensor Networks
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Preface
- How This Book Is Organized
- About the Title
- About the Examples
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- 1. Getting Ready
- Buying an XBee Radio
- Hardware
- Antennas
- Vendors
- Buying an Adapter
- Digi Evaluation Board
- USB Adapters
- Breakout Boards
- Arduino Board Adapter Hack
- What Are All Those Pins?
- Choosing a Terminal Program
- Firmware Update Software
- X-CTU
- Terminal Software for Configuring Settings
- CoolTerm
- HyperTerminal
- Tera Term
- ZTerm
- screen
- Others
- Firmware Update Software
- Summary
- Buying an XBee Radio
- 2. Up and Running
- Radio Basics
- Electromagnetic Spectrum
- Inverse Square Law
- Introduction to ZigBee
- Network Topology
- Addressing Basics
- PAN Addresses
- Channels
- All Together Now
- XBee Firmware Updates
- Reading Current Firmware and Configuration
- Configuring XBee
- Settings
- Connecting from Windows
- Connecting from Macintosh
- Command Mode and Transparent Mode
- AT Commands (Are Your Friend)
- Using AT Commands
- Basic ZigBee Chat
- Parts
- Addresses
- Coordinator
- Router
- Two Computers
- One Computer
- Chat
- Troubleshooting
- Success!
- Radio Basics
- 3. Build a Better Doorbell
- ZigBee and Arduino
- About Arduino
- Arduino Basics
- Buying an Arduino
- Dont forget the cable
- Downloading the software
- Using the Arduino IDE
- Selecting the board and port
- Code structure
- Buying electronics supplies
- Connecting to Arduino
- Doorbell Projects
- Parts
- Prepare Your Radios
- Connect Power from Arduino to Breadboard
- XBee Breakout Board
- XBee Connections
- Doorbell Introduction
- Switch Input...
- ...and Buzzer Output
- Configure Your XBees
- Program the Arduino Doorbell
- Troubleshooting
- Feedback Doorbell
- Feedback Light
- Program the Arduino Feedback Doorbell
- Extra: Nap Doorbells and More
- ZigBee and Arduino
- 4. Ins and Outs
- The Story of Data
- Direct, Indirect, Subtext
- I/O Concepts
- Why XBee Direct?
- XBee Direct Limitations
- XBee I/O Features
- AT Configuration I/O Commands
- Advanced I/O Commands
- Romantic Lighting Sensor
- Basic Romantic Lighting Sensor
- Parts
- Prepare your coordinator radio
- Prepare your router radio
- Prepare the Sensor Board
- Configure your router XBee
- Connect power from battery to breadboard
- Router XBee connection to battery
- Photoresistor input
- Prepare the Base Station
- Connect power from Arduino to breadboard
- Coordinator XBee connection to Arduino
- Light output
- Program the romantic lighting sensor base station
- Troubleshooting
- Romantic Lighting Sensor with Feedback
- Add light output to the sensor
- Configure your router XBee
- Program the romantic lighting sensor with feedback base station
- API Ahead
- Basic Romantic Lighting Sensor
- The Story of Data
- 5. API and a Sensor Network
- Whats an API?
- Protocols
- Humans
- Computers
- Start bytes
- Length byte
- Contents ID
- XBee API Protocol
- Start Delimiter
- Length Bytes
- Frame Data Bytes
- Checksum
- API Frame Types
- AT Commands
- Frame type
- Frame ID
- AT command
- Parameter value
- Checksum
- AT Responses
- Frame type
- Frame ID
- AT command
- Command status
- Command data
- ZigBee Transmit Request
- 64-bit destination address
- 16-bit destination network address
- Broadcast radius
- Options
- RF data
- ZigBee Transmit Status
- Transmit retry count
- Delivery status
- Discovery status
- ZigBee Receive Packet
- 64-bit source address
- 16-bit source network address
- Receive options
- Received data
- I/O Data Sample Rx Indicator
- Number of samples
- Digital channel mask
- Analog channel mask
- Digital samples
- Analog samples
- Remote AT Command Request
- Remote command options
- Remote Command Response
- Using What You Need
- Libraries
- AT Commands
- Simple Sensor Network
- Parts
- Prepare Your Coordinator Radio
- Prepare Your Router Radios
- Prepare the Sensor Boards
- Connect voltage regulator circuit and power jack to breadboard
- Router XBee connection to power
- Temperature input
- Second sensor board
- Prepare the Base Station
- Connect to computer
- Program the Base Station
- Simple Sensor Network display code in Processing
- Troubleshooting
- Yay!
- 6. Sleeping, Then Changing the World
- Sleep Mode
- End Devices
- Storing and forwarding
- Constraints
- Advantages
- Configuring Sleep
- Sleep Mode
- Sleep Period
- Time Before Sleep
- Advanced commands
- Easy Sleeping
- End Devices
- Simple Sensor with Sleep Project
- Parts
- Prepare Your End Device Radios
- Configure Your End Device XBees
- Add sensor nodes...
- ...or replace sensor nodes
- Direct Actuation
- Direct Actuation Example
- Parts
- Prepare Your Coordinator Radio
- Prepare Your Router Radios
- Prepare the Actuator Boards
- Configure Your Router XBees
- Connect voltage regulator circuit and power jack to breadboard
- Router XBee connection to power
- Transistor and relay output
- Second actuator board
- PowerSwitch Tail A/C relay
- Prepare the Base Station
- Connect to your computer
- Program the actuator network base station
- Simple Actuator Node Code in Processing
- Summary
- Sleep Mode
- 7. Over the Borders
- Gateways
- XBee as Embedded Gateway
- Other Embedded Gateways
- Internet Gateways
- Internet Media
- Computers Versus Dedicated Devices
- ConnectPorts
- Selecting a ConnectPort
- Setting Up a ConnectPort
- Troubleshooting
- Configuring a ConnectPort
- Remote Management
- iDigi Connectivity Server
- iDigi Features
- Adding a ConnectPort
- Viewing Configurations
- Firmware Updates and Remote Reboot
- Viewing an XBee Network
- XBee Internet Gateway (XIG)
- Installing and Configuring XIG
- Testing XIG
- XIG Example
- XIG download example in PHP
- Twitter Reader
- Parts
- Prepare Your ConnectPort with XBee Internet Gateway
- Prepare Your Router Radio
- Configure Your Router Radio
- Prepare the Twitter Reader Board
- Connect power from Arduino to breadboard
- XBee connection to Arduino
- Liquid crystal display (LCD) output
- Program the Arduino
- Installing the NewSoftSerial library
- Twitter Reader code
- Troubleshooting
- Moving Forward
- Gateways
- 8. More to Love
- Advanced ZigBee
- ZigBee Stack Layers
- Application Support Layer
- Profiles
- Endpoints
- Clusters
- Next steps
- Routing
- Next steps
- Security
- Network and link keys
- Technical details
- Fast guide to turning on XBee network security
- Using optional APS encryption
- ZigBee Protocol References
- Serial Flow Control
- RTS and CTS
- Sharing Data
- Pachube
- Simple Sensor Network with Pachube
- API Key
- Build the Simple Sensor Network in Chapter 5
- Program the Base Station
- Simple Sensor Network Pachube Code in Processing
- Troubleshooting
- The Future of ZigBee
- Next Steps for You
- Making Stuff
- Sharing Your Work
- Advanced ZigBee
- A. Resource Guide
- Arduino Resources
- Processing Resources
- Python Resources
- ZigBee Resources Online
- Standards Organizations
- Digi International Resources
- Additional Online Resource Lists
- Recommended Books
- Sidewalk Telescopes
- Troubleshooting
- Common XBee Mistakes
- XBee Arduino Mistakes
- Reference Tables
- Other ZigBee Modules
- ZigBee Packet Sniffers
- Digi XBee Radio Modules
- XBee Connectors and Shields
- Hex, Decimal, and Binary
- ASCII Codes
- XBee Command Reference
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly