Internet of Things Programming Projects: Build modern IoT solutions with the Raspberry Pi 3 and Python

Colin Dow

買這商品的人也買了...

相關主題

商品描述

A practical project-based guide to help you build and control your IoT projects

Key Features

  • Leverage the full potential of IoT with the combination of Raspberry Pi 3 and Python
  • Build complex Python-based applications with IoT
  • Work on various IoT projects and understand the basics of electronics

Book Description

The Internet of Things (IOT) has managed to attract the attention of researchers and tech enthusiasts, since it powerfully combines classical networks with instruments and devices.

In Internet of Things Programming Projects, we unleash the power of Raspberry Pi and Python to create engaging projects. In the first part of the book, you'll be introduced to the Raspberry Pi, learn how to set it up, and then jump right into Python programming. Then, you'll dive into real-world computing by creating a“Hello World” app using flash LEDs.

As you make your way through the chapters, you'll go back to an age when analog needle meters ruled the world of data display. You'll learn to retrieve weather data from a web service and display it on an analog needle meter, and build a home security system using the Raspberry Pi. The next project has a modern twist, where we employ the Raspberry Pi to send a signal to a web service that will send you a text when someone is at the door. In the final project, you take what you've learned from the previous two projects and create an IoT robot car that you can use to monitor what your pets are up to when you are away.

By the end of this book, you will be well versed in almost every possible way to make your IoT projects stand out.

What you will learn

  • Install and set up a Raspberry Pi for IoT development
  • Learn how to use a servo motor as an analog needle meter to read data
  • Build a home security dashboard using an infrared motion detector
  • Communicate with a web service that sends you a message when the doorbell rings
  • Receive data and display it with an actuator connected to the Raspberry Pi
  • Build an IoT robot car that is controlled through the internet

Who this book is for

Internet of Things Programming Projects is for Python developers and programmers who are interested in building their own IoT applications and IoT-based projects. It is also targeted at IoT programmers and developers who are looking to build exciting projects with Python.

Table of Contents

  1. Installing Raspbian on the Raspberry Pi
  2. Writing Python Programs Using Raspberry Pi
  3. Using the GPIO to Connect to the Outside World
  4. Subscribing to Web Services
  5. Controlling a Servo with Python
  6. Working with the Servo Control Code to Control an Analog Device
  7. Setting up a Raspberry Pi Web Server
  8. Reading Raspberry Pi GPIO Sensor Data Using Python
  9. Building a Home Security Dashboard
  10. Publishing to Web Services
  11. Creating a Doorbell Button Using Bluetooth
  12. Enhancing Our IoT Doorbell
  13. Introducing the Raspberry Pi Robot Car
  14. Controlling the Robot Car Using Python
  15. Connecting sensory inputs from the Robot Car to the web
  16. Controlling the Robot Car with web service calls
  17. Building the JavaScript Client
  18. Putting It All Together
  19. Assessments

商品描述(中文翻譯)

一本實用的基於專案的指南,幫助您建立和控制您的物聯網專案。

主要特點:
- 利用Raspberry Pi 3和Python的結合,充分發揮物聯網的潛力
- 使用Python建立複雜的物聯網應用程式
- 參與各種物聯網專案,並了解電子學的基礎知識

書籍描述:
物聯網(IoT)成功吸引了研究人員和科技愛好者的注意,因為它將傳統網絡與儀器和設備強大地結合在一起。

在《物聯網程式設計專案》中,我們利用Raspberry Pi和Python的力量創建引人入勝的專案。在書的第一部分,您將介紹Raspberry Pi,學習如何設置它,然後立即進入Python編程。然後,您將通過創建一個使用閃光LED的“Hello World”應用程式,深入了解現實世界的計算。

隨著您逐步閱讀各章節,您將回到一個以模擬指針儀表為主導的數據顯示世界。您將學習從Web服務檢索天氣數據並在模擬指針儀表上顯示它,並使用Raspberry Pi建立家庭安全系統。下一個專案具有現代化的特點,我們使用Raspberry Pi向Web服務發送信號,當有人按門鈴時,Web服務將向您發送短信。在最後一個專案中,您將從前兩個專案中學到的知識,創建一個物聯網機器人車,您可以在離開時用它來監控寵物的行為。

通過閱讀本書,您將熟悉幾乎所有使您的物聯網專案脫穎而出的可能方法。

您將學到:
- 安裝和設置Raspberry Pi進行物聯網開發
- 學習如何使用伺服馬達作為模擬指針儀表來讀取數據
- 使用紅外線運動檢測器建立家庭安全儀表板
- 與向您發送門鈴聲的Web服務進行通信
- 接收數據並使用連接到Raspberry Pi的執行器顯示它
- 建立一個通過互聯網控制的物聯網機器人車

本書適合對建立自己的物聯網應用程式和基於物聯網的專案感興趣的Python開發人員和程式設計師。同時也適合對使用Python建立令人興奮的物聯網專案的物聯網程式設計師和開發人員。

目錄:
1. 在Raspberry Pi上安裝Raspbian
2. 使用Raspberry Pi編寫Python程式
3. 使用GPIO連接到外部世界
4. 訂閱Web服務
5. 使用Python控制伺服馬達
6. 使用伺服馬達控制模擬設備的程式碼
7. 設置Raspberry Pi網頁伺服器
8. 使用Python讀取Raspberry Pi GPIO感測器數據
9. 建立家庭安全儀表板
10. 發布到Web服務
11. 使用藍牙創建門鈴按鈕
12. 增強我們的物聯網門鈴
13. 介紹Raspberry Pi機器人車
14. 使用Python控制機器人車
15. 將機器人車的感測輸入連接到Web
16. 使用Web服務呼叫控制機器人車
17. 構建JavaScript客戶端
18. 將所有內容整合在一起
19. 評估