Beginning Sensor Networks with XBee, Raspberry Pi, and Arduino


Book Description

Build sensor networks with Python and MicroPython using XBee radio modules, Raspberry Pi, and Arduino boards. This revised and updated edition will put all of these together to form a sensor network, and show you how to turn your Raspberry Pi into a MySQL database server to store your sensor data! You'll review the different types of sensors and sensor networks, along with new technology, including how to build a simple XBee network. You'll then walk through building an sensor nodes on the XBee, Raspberry Pi, and Arduino, and also learn how to collect data from multiple sensor nodes. The book also explores different ways to store sensor data, including writing to an SD card, sending data to the cloud, and setting up a Raspberry Pi MySQL server to host your data. You'll even learn how to connect to and interact with a MySQL database server directly from an Arduino! Finally you'll see how to put it all together by connecting your sensor nodes to your new Raspberry Pi database server. If you want to see how well XBee, Raspberry Pi, and Arduino can get along, especially to create a sensor network, then Beginning Sensor Networks with XBee, Raspberry Pi, and Arduino is just the book you need. What You'll LearnCode your sensor nodes with Python and MicroPython Work with new XBee 3 modulesHost your data on Raspberry PiGet started with MySQLCreate sophisticated sensor networks Who This Book Is For Those interested in building or experimenting with sensor networks and IoT solutions, including those with little or no programming experience. A secondary target includes readers interested in using XBee modules with Raspberry Pi and Arduino, those interested in controlling XBee modules with MicroPython.




Beginning Sensor Networks with Arduino and Raspberry Pi


Book Description

Beginning Sensor Networks with Arduino and Raspberry Pi teaches you how to build sensor networks with Arduino, Raspberry Pi, and XBee radio modules, and even shows you how to turn your Raspberry Pi into a MySQL database server to store your sensor data! First you'll learn about the different types of sensors and sensor networks, including how to build a simple XBee network. Then you'll walk through building an Arduino-based temperature sensor and data collector, followed by building a Raspberry Pi-based sensor node. Next you'll learn different ways to store sensor data, including writing to an SD card, sending data to the cloud, and setting up a Raspberry Pi MySQL server to host your data. You even learn how to connect to and interact with a MySQL database server directly from an Arduino! Finally you'll learn how to put it all together by connecting your Arduino sensor node to your new Raspberry Pi database server. If you want to see how well Arduino and Raspberry Pi can get along, especially to create a sensor network, then Beginning Sensor Networks with Arduino and Raspberry Pi is just the book you need.




Design and Analysis of Arduino, Raspberry Pi, and Xbee Based Wireless Sensor Networks


Book Description

The Coordinator node consists of an Xbee Series 2 with Coordinator firmware communicating via the Raspberry Pi GPIO serial input ports. The Raspberry Pi uses specialized Python libraries to parse incoming API statements from active end devices.




Building Wireless Sensor Networks


Book Description

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




Building Wireless Sensor Networks


Book Description

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




Building Wireless Sensor Networks Using Arduino


Book Description

Leverage the powerful Arduino and XBee platforms to monitor and control your surroundings About This Book Build your own low-power, wireless network using ready-made Arduino and XBee hardware Create a complex project using the Arduino prototyping platform A guide that explains the concepts and builds upon them with the help of examples to form projects Who This Book Is For This book is targeted at embedded system developers and hobbyists who have some working knowledge of Arduino and who wish to extend their projects using wireless connectivity. What You Will Learn Interact with XBee boards using the XCTU program on Windows, OS X, or Linux Make your Arduino boards communicate wirelessly, using XBee modules in the advanced API mode Centrally collect and store measured sensor data, in the cloud or your own database Connect the coordinator Arduino to the Internet and send data to web services Control your environment automatically, based on sensor input from your network Interact with off-the-shelf ZigBee Home Automation devices Make your devices battery-powered and let them sleep to get months or even years of battery life In Detail Arduino has been established as the de facto standard microcontroller programming platform, being used for one-off do-it-yourself projects as well as prototypes for actual products. By providing a myriad of libraries, the Arduino community has made it very easy to interact with pretty much any piece of hardware out there. XBee offers a great range of low-power wireless solutions that are easy to work with, by taking all of the complexity of wireless (mesh) networking out of your hands and letting you focus on what to send without worrying about the how. Building wireless sensor networks is cost-effective as well as efficient as it will be done with Arduino support. The book starts with a brief introduction to various wireless protocols, concepts, and the XBee hardware that enables their use. Then the book expands to explain the Arduino boards to you, letting them read and send sensor data, collect that data centrally, and then even control your home from the Internet. Moving further more advanced topics such as interacting through the standard Zigbee Home Automation protocol, or making your application power-efficient are covered. By the end of the book, you will have all the tools needed to build complete, real-world solutions. Style and approach A hands-on guide, featuring a single home automation project that can be built as described or with endless variations. Every step is illustrated with complete examples and screenshots, allowing you to build the examples swiftly.




Beginning Robotics with Raspberry Pi and Arduino


Book Description

Learn how to use a Raspberry Pi in conjunction with an Arduino to build a basic robot with advanced capabilities. Getting started in robotics does not have to be difficult. This book is an insightful and rewarding introduction to robotics and a catalyst for further directed study. You'll be led step by step through the process of building a robot that uses the power of a Linux based computer paired with the simplicity of Arduino. You’ll learn why the Raspberry Pi is a great choice for a robotics platform; its strengths as well as its shortcomings; how to overcome these limitations by implementing an Arduino; and the basics of the Python programming language as well as some of the more powerful features. With the Raspberry Pi you can give your project the power of a Linux computer, while Arduino makes interacting with sensors and motors very easy. These two boards are complimentary in their functions; where one falters the other performs admirably. The book also includes references to other great works to help further your growth in the exciting, and now accessible, field of smart robotics. As a bonus, the final chapter of the book demonstrates the real power of the Raspberry Pi by implementing a basic vision system. Using OpenCV and a standard USB web cam, you will build a robot that can chase a ball. What You'll Learn Install Raspbian, the operating system that drives the Raspberry Pi Drive motors through an I2C motor controller Read data through sensors attached to an Arduino Who This Book Is For Hobbyists and students looking for a rapid start in robotics. It assumes no technical background. Readers are guided to pursue the areas that interest them in more detail as they learn.




The Internet of Things: Do-It-Yourself at Home Projects for Arduino, Raspberry Pi and BeagleBone Black


Book Description

Build and program projects that tap into the Internet of Things (IoT) using Arduino, Raspberry Pi, and BeagleBone Black! This innovative guide gets you started right away working with the most popular processing platforms, wireless communication technologies, the Cloud, and a variety of sensors. You’ll learn how to take advantage of the utility and versatility of the IoT and connect devices and systems to the Internet using sensors. Each project features a list of the tools and components, how-to explanations with photos and illustrations, and complete programming code. All projects can be modified and expanded, so you can build on your skills. The Internet of Things: DIY Projects with Arduino, Raspberry Pi, and BeagleBone Black Covers the basics of Java, C#, Python, JavaScript, and other programming languages used in the projects Shows you how to use IBM’s Net Beans IDE and the Eclipse IDE Explains how to set up small-scale networks to connect the projects to the Internet Includes essential tips for setting up and using a MySQL database. The fun, DIY projects in the book include: Raspberry Pi home temperature measurements Raspberry Pi surveillance webcams Raspberry Pi home weather station Arduino garage door controller Arduino irrigation controller Arduino outdoor lighting controller Beaglebone message panel Beaglebone remote control SDR Machine-to-machine demonstration project




Beginning Artificial Intelligence with the Raspberry Pi


Book Description

Gain a gentle introduction to the world of Artificial Intelligence (AI) using the Raspberry Pi as the computing platform. Most of the major AI topics will be explored, including expert systems, machine learning both shallow and deep, fuzzy logic control, and more! AI in action will be demonstrated using the Python language on the Raspberry Pi. The Prolog language will also be introduced and used to demonstrate fundamental AI concepts. In addition, the Wolfram language will be used as part of the deep machine learning demonstrations. A series of projects will walk you through how to implement AI concepts with the Raspberry Pi. Minimal expense is needed for the projects as only a few sensors and actuators will be required. Beginners and hobbyists can jump right in to creating AI projects with the Raspberry PI using this book. What You'll Learn What AI is and—as importantly—what it is not Inference and expert systems Machine learning both shallow and deep Fuzzy logic and how to apply to an actual control system When AI might be appropriate to include in a system Constraints and limitations of the Raspberry Pi AI implementation Who This Book Is For Hobbyists, makers, engineers involved in designing autonomous systems and wanting to gain an education in fundamental AI concepts, and non-technical readers who want to understand what AI is and how it might affect their lives.




IOS Sensor Apps with Arduino


Book Description

This book looks at how to integrate iOS devices into distributed sensors network, both to make use of its own on-board sensors in such networks, but also as a hub.