Beginning Sensor Networks with Arduino and Raspberry Pi

Free sample

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.

Read more

About the author

Charles Bell conducts research in emerging technologies. He is a member of the Oracle MySQL Development team and is the team lead for the MySQL Utilities team. He lives in a small town in rural Virginia with his loving wife. He received his Doctor of Philosophy in Engineering from Virginia Commonwealth University in 2005. Dr. Bell is an expert in the database field and has extensive knowledge and experience in software development and systems engineering. His research interests include 3D printers, microcontrollers, three-dimensional printing, database systems, software engineering, and sensor networks. He spends his limited free time as a practicing Maker focusing on microcontroller projects and refinement of three-dimensional printers. Dr. Bell maintains a blog on his research projects and many other interests. You can find his blog at
Read more
10 total

Additional Information

Read more
Published on
Jan 23, 2014
Read more
Read more
Read more
Read more
Read more
Read more
Computers / Hardware / General
Read more
Content Protection
This content is DRM protected.
Read more
Read Aloud
Available on Android devices
Read more

Reading information

Smartphones and Tablets

Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.

Laptops and Computers

You can read books purchased on Google Play using your computer's web browser.

eReaders and other devices

To read on e-ink devices like the Sony eReader or Barnes & Noble Nook, you'll need to download a file and transfer it to your device. Please follow the detailed Help center instructions to transfer the files to supported eReaders.
Leverage your Arduino skills in the Raspberry Pi world and see how to cross the two platforms into sophisticated programs.

The Arduino and Raspberry Pi communities overlap more than you might think. Arduinos can be expanded to have network capabilities with a variety of “shields,” all of which increase the cost and complexity of the system. By contrast, Raspberry Pis all run Linux, which is a very network-competent platform. The newest Pi, the Raspberry Pi Zero W, is WiFi and Bluetooth capable, and costs around $10 U.S. For network enabled gadgets, it makes far more sense to cross to the Raspberry PI platform, if only someone would make it easy to do. That's what this book is about.

You'll learn some survival level Linux system administration, so you know how to set the machine up and how to establish at least minimal security for your gadget. You''ll set up and learn the Geany IDE on your Pi, which is fairly similar to the Arduino IDE.
Where the two platforms overlap the most is the GPIO system. You'll see that several projects use and explain the WiringPi system. This is is deliberately similar to the Arduino's 'Wiring' functionality, which is how sketches interact with GPIO pins. You'll learn the differences between the GPIO pins of the two devices, and how the Pi has some limitations on those pins that the Arduino does not. As a final project, in an effort to escape some of those limitations, you'll attach an AtMEGA 328P to the Raspberry Pi and configure it as a real, 8MHz Arduino with the Arduino IDE running on the Pi, and learn how to have the two platforms communicate, giving you the best of both worlds.

What You'll Learn
Establish security with Linux system administration
Set up the Apache webserverWrite CGI programs so other computers can connect to your Pi and pull data in from it.
Use C/C++ from Arduino sketches to write programs for the Pi Who This Book Is For
The Arduino user who's been through all the tutorials and is comfortable writing sketches and connecting hardware to their Arduino.
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.

Arduino Adventures: Escape from Gemini Station provides a fun introduction to the Arduino microcontroller by putting you (the reader) into the action of a science fiction adventure story. You'll find yourself following along as Cade and Elle explore Gemini Station—an orbiting museum dedicated to preserving and sharing technology throughout the centuries.

Trouble ensues. The station is evacuated, including Cade and Elle's class that was visiting the station on a field trip. Cade and Elle don’t make it aboard their shuttle and are trapped on the station along with a friendly artificial intelligence named Andrew who wants to help them get off the damaged station. Using some old hardware, a laptop, and some toolboxes full of electronics parts, you will follow along and build eight gizmos with Cade and Elle that will help them escape from Gemini Station.

The hardware is Arduino. Each new challenge opens a new area of Arduino and basic electronics knowledge. You’ll be taken incrementally from a simple task such as turning on a light through to a complex combination of microcontroller, electronic components, and software programming. By the end of the book you’ll be well on your way towards being able to create and implement any sort of electronically controlled device you can imagine, using the stunningly popular Arduino microcontroller.

Provides eight challenges, each challenge increasing in complexity Builds around a fictional storyline that keeps the learning fun Leaves you on a solid foundation of electronic skills and knowledge
Learn how to use microcontrollers without all the frills and math. This book uses a practical approach to show you how to develop embedded systems with 8 bit PIC microcontrollers using the XC8 compiler. It's your complete guide to understanding modern PIC microcontrollers.
Are you tired of copying and pasting code into your embedded projects? Do you want to write your own code from scratch for microcontrollers and understand what your code is doing? Do you want to move beyond the Arduino? Then Programming PIC Microcontrollers with XC8 is for you! Written for those who want more than an Arduino, but less than the more complex microcontrollers on the market, PIC microcontrollers are the next logical step in your journey.
You'll also see the advantage that MPLAB X offers by running on Windows, MAC and Linux environments. You don't need to be a command line expert to work with PIC microcontrollers, so you can focus less on setting up your environment and more on your application.

What You’ll LearnSet up the MPLAB X and XC8 compilers for microcontroller development
Use GPIO and PPS
Review EUSART and Software UART communications
Use the eXtreme Low Power (XLP) options of PIC microcontrollers
Explore wireless communications with WiFi and BluetoothWho This Book Is For
Those with some basic electronic device and some electronic equipment and knowledge. This book assumes knowledge of the C programming language and basic knowledge of digital electronics though a basic overview is given for both. A complete newcomer can follow along, but this book is heavy on code, schematics and images and focuses less on the theoretical aspects of using microcontrollers. This book is also targeted to students wanting a practical overview of microcontrollers outside of the classroom.
Create physical interfaces that interact with the Internet and web pages. With Arduino and JavaScript you can create interactive physical displays and connected devices that send data to or receive data from the web. You'll take advantage of the processes needed to set up electronic components, collect data, and create web pages able to interact with electronic components.
Through exercises, projects, and explanations, this book will give you the core front end web development and electronics skills needed to create connected physical interfaces and build compelling visualizations with a range of JavaScript libraries.
By the end of the book you will have developed fully working interactive prototypes capable of sending data to and receiving data from a physical interface. Most importantly, Connecting Arduino to the Web will give you a taste of what is possible and the knowledge to create your own connected physical interfaces and bring the web into your electronics projects.
What You'll Learn
Build an Internet of Things dashboard that updates with electronics attached to an Arduino
Use components to interact with online 3D displaysCreate web pages with HTML and CSSSet up a Node.js serverUse WebSockets to process live dataInteract with scalable vector graphics (SVG)
Who This Book Is For
Technologists, developers, and enthusiasts looking to extend their skills, be able to develop physical prototypes with connected devices, and with an interest in getting started with IoT. Also, those excited by the possibilities of connecting the physical and the web.
Maintaining and Troubleshooting Your 3D Printer by Charles Bell is your guide to keeping your 3D printer running through preventive maintenance, repair, and diagnosing and solving problems in 3D printing. If you’ve bought or built a 3D printer such as a MakerBot only to be confounded by jagged edges, corner lift, top layers that aren’t solid, or any of a myriad of other problems that plague 3D printer enthusiasts, then here is the book to help you get past all that and recapture the joy of creative fabrication. The book also includes valuable tips for builders and those who want to modify their printers to get the most out of their investment.

Good fabrication begins with calibration. Aligning the print bed to support deposition of medium in three dimensions is critical. Even off-the-shelf machines that are pre-built must be aligned and periodically realigned throughout their life cycle. Maintaining and Troubleshooting Your 3D Printer helps you achieve and hold proper alignment. Maintaining and Troubleshooting Your 3D Printer also helps with software and hardware troubleshooting. You’ll learn to diagnose and solve firmware calibration problems, filament and feed problems, chassis issues, and more.

Finally there are regular maintenance and enhancements. You’ve invested significantly in your 3D printer. Protect that investment using the guidance in this book. Learn to clean and lubricate your printer, to maintain the chassis, and know when realignment of the print bed is needed. Learn ways to master your craft and improve the quality of your prints through such things as post-print finishing and filament management.

Don’t let the challenges of 3D printing stand in the way of creativity. Maintaining and Troubleshooting Your 3D Printer by Charles Bell helps you conquer the challenges and get the most benefit from your expensive investment in personal fabrication.

Learn to easily build gadgets, gizmos, robots, and more using Arduino

Written by Arduino expert Jeremy Blum, this unique book uses the popular Arduino microcontroller platform as an instrument to teach you about topics in electrical engineering, programming, and human-computer interaction. Whether you're a budding hobbyist or an engineer, you'll benefit from the perfectly paced lessons that walk you through useful, artistic, and educational exercises that gradually get more advanced. In addition to specific projects, the book shares best practices in programming and design that you can apply to your own projects. Code snippets and schematics will serve as a useful reference for future projects even after you've mastered all the topics in the book.

Includes a number of projects that utilize different capabilities of the Arduino, while interfacing with external hardware Features chapters that build upon each other, tying in concepts from previous chapters to illustrate new ones Includes aspects that are accompanied by video tutorials and other multimedia content  Covers electrical engineering and programming concepts, interfacing with the world through analog and digital sensors, communicating with a computer and other devices, and internet connectivity Explains how to combine smaller topics into more complex projects Shares downloadable materials and source code for everything covered in the book Projects compatible with many official Arduino boards including Arduino Uno; Arduino Leonardo; Arduino Mega 2560; Arduino Due; Arduino Nano; Arduino Mega ADK; LilyPad Arduino and may work with Arduino-compatible boards such as Freeduino and new third party certified boards such as the Intel Galileo

Exploring Arduino takes you on an adventure and provides you with exclusive access to materials not found anywhere else!

©2019 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.