Internet of Things with Python
- Length: 373 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2016-06-06
- ISBN-10: 1785881388
- ISBN-13: 9781785881381
- Sales Rank: #2126090 (See Top 100 Books)
Key Features
- Rapidly prototype even complex IoT applications with Python and put them to practical use
- Enhance your IoT skills with the most up-to-date applicability in the field of wearable tech, smart environments, and home automation
- Interact with hardware, sensors, and actuators and control your DIY IoT projects through Python
Book Description
Internet of Things (IoT) is revolutionizing the way devices/things interact with each other. And when you have IoT with Python on your side, you’ll be able to build interactive objects and design them.
This book lets you stay at the forefront of cutting-edge research on IoT. We’ll open up the possibilities using tools that enable you to interact with the world, such as Intel Galileo Gen 2, sensors, and other hardware. You will learn how to read, write, and convert digital values to generate analog output by programming Pulse Width Modulation (PWM) in Python. You will get familiar with the complex communication system included in the board, so you can interact with any shield, actuator, or sensor.
Later on, you will not only see how to work with data received from the sensors, but also perform actions by sending them to a specific shield. You’ll be able to connect your IoT device to the entire world, by integrating WiFi, Bluetooth, and Internet settings. With everything ready, you will see how to work in real time on your IoT device using the MQTT protocol in python.
By the end of the book, you will be able to develop IoT prototypes with Python, libraries, and tools.
What you will learn
- Prototype and develop IoT solutions from scratch with Python as the programming language
- Develop IoT projects with Intel Galileo Gen 2 board along with Python
- Work with the different components included in the boards using Python and the MRAA library
- Interact with sensors, actuators, and shields
- Work with UART and local storage
- Interact with any electronic device that supports the I2C bus
- Allow mobile devices to interact with the board
- Work with real-time IoT and cloud services
- Understand Big Data and IoT analytics
Table of Contents
Chapter 1: Understanding and Setting up the Base IoT Hardware
Chapter 2: Working with Python on Intel Galileo Gen 2
Chapter 3: Interacting with Digital Outputs with Python
Chapter 4: Working with a RESTful API and Pulse Width Modulation
Chapter 5: Working with Digital Inputs, Polling and Interrupts
Chapter 6: Working with Analog Inputs and Local Storage
Chapter 7: Retrieving Data from the Real World with Sensors
Chapter 8: Displaying Information and Performing Actions
Chapter 9: Working with the Cloud
Chapter 10: Analyzing Huge Amounts of Data with Cloud-based IoT Analytics
Appendix: Exercise Answers