- Internet of Things with Intel Galileo
- Miguel de Sousa
- 1450字
- 2021-07-16 13:36:06
Preface
As technology is evolving, things that surround us in our daily lives are starting to have the ability to share data over the Internet. With this evolution, it is no longer the case that only humans can operate the devices connected to the Internet. These devices are now able to collect and share sensorial data that can be controlled by sensor inputs. They also help you power up big data analysis, monitor systems, and even make devices work together for a common purpose. A new era has begun, the era of Internet of Things!
Following this vision, Intel presented the Galileo board, a board that packs together many of the most common components that are usually purchased separately for most development boards. An Intel Galileo Board can be programmed to read and control sensors and actuators, being an interesting tool for sensorial data collection. The possibility of connecting it straight to the Internet using an Ethernet cable or a wireless card in its mini PCI-express slot enables it to share the collected data over the Internet. Another great feature is that being hardware and software compatible with Arduino, it will make you have a very familiar development environment. If you prefer using other development tools, you can also do that by booting your board from a custom Linux image.
This book will give you the right tools to help you start developing your own IoT projects using an Intel Galileo board.
What this book covers
Chapter 1, Introducing Galileo, introduces you to the Intel Galileo boards by explaining their components, main differences when compared to other boards, and the other interesting boards for building IoT projects.
Chapter 2, Rediscovering the Arduino IDE, will guide you through the Arduino IDE from the process of setting up your board to uploading and running your first sketches.
Chapter 3, Monitoring the Board Temperature, will help you develop your first IoT project with the Arduino IDE. You'll create and collect temperature data samples from your own board CPU temperature and plot it to an online chart using Galileo as a web client.
Chapter 4, Creating a Motion Sensing Light, will show you how to create a web server with the Arduino IDE and use it to display a web page, allowing you to switch the lighting system operation mode, which is controlled by motion sensor, either by luminosity or manually.
Chapter 5, Intel IoT Developer Kit Tools, introduces you to the Intel ecosystem, giving you an overview of its perks and how you can use its main libraries to read and control your sensors and actuators in other development languages.
Chapter 6, Building an Irrigation System, will guide you through the process of monitoring your sensor data using Wyliodrin, and the creation of rules to control actuators.
Chapter 7, Creating Christmas Light Effects, will teach you how to create remotely controlled animations using an LED strip and a YouTube player.
Chapter 8, The Intel XDK IoT Edition, will explain how you can use the Intel XDK IoT Edition IDE to develop Node.js projects for Galileo.
Chapter 9, Developing an IoT Quiz, will help you develop a quiz game played with mobile devices.
Chapter 10, Integrating with Muzzley, will show you how you can integrate Galileo in your daily life. You'll be creating a building door unlocking system using your Galileo board and integrating it with market-available smart devices using the Muzzley cloud-based ecosystem.
What you need for this book
- An Intel Galileo board (Gen 1 or Gen 2) with the corresponding power supply
- A USB to micro-B cable
- An ethernet cable
- An 8 GB microSD card with adaptor
- Grove Starter Kit Plus sensors kit (Gen 1 or Gen 2)
- A breadboard and jumper wires
- 1k and 10k Ohm resistors
- An LED (5 V max)
- A moisture sensor
- A photocell
- A passive infrared presence sensor
- An HC-SR04 ultrasound sensor
- A digitally addressable LPD8806 LED strip
- A lightbulb with a socket and power plug
- A 220V AC solid state relay, 5 V DC controlled
- An inter communicator with a door unlocker button
- A PC/laptop running Windows, Linux, or Mac OS X with an internal or external SD card reader
All the software you'll be using in this book is available for free.
Who this book is for
This book is intended for developers, hobbyists, and enthusiasts in general. Basic background knowledge of computing, electronics, and microcontroller development with technology such as Arduino or Raspberry Pi boards will make the learning process easier. Also, an awareness of the basic development concepts of Arduino and Node.js (JavaScript) will be helpful.
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "In the demos you tested in the previous steps, you've tried only the digitalWrite
and analogWrite
methods."
A block of code is set as follows:
socket.on('error', function (error) { console.log('Something went wrong!'); });
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
exports = module.exports = {}; exports.start = runAnimation; exports.stop = stopAnimation;
Any command-line input or output is written as follows:
npm install async
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: " To see all the available libraries, navigate to Sketch | Import Library... on the IDE top menu."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.
To send us general feedback, simply e-mail <feedback@packtpub.com>
, and mention the book's title in the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
Downloading the example code
You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
Downloading the color images of this book
We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from https://www.packtpub.com/sites/default/files/downloads/Internet_of_Things_with_Intel_Galileo_ColoredImages.pdf.
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.
To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.
Piracy
Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at <copyright@packtpub.com>
with a link to the suspected pirated material.
We appreciate your help in protecting our authors and our ability to bring you valuable content.
Questions
If you have a problem with any aspect of this book, you can contact us at <questions@packtpub.com>
, and we will do our best to address the problem.
- Go Web編程
- Visual C++實例精通
- Python深度學習
- 體驗設計原理:行為、情感和細節
- C語言程序設計實踐教程
- 深度強化學習算法與實踐:基于PyTorch的實現
- Mastering KnockoutJS
- Drupal 8 Module Development
- Kotlin編程實戰:創建優雅、富于表現力和高性能的JVM與Android應用程序
- PySpark Cookbook
- PHP從入門到精通(第4版)(軟件開發視頻大講堂)
- Building Microservices with .NET Core
- Instant Apache Camel Messaging System
- 少兒編程輕松學(全2冊)
- 輕松學Scratch 3.0 少兒編程(全彩)