Practical Python Programming for IoT

0
(0)

Practical Python Programming for IoT
 

  • Author:Gary Smart
  • Length: 516 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2020-11-12
  • ISBN-10: 1838982469
  • ISBN-13: 9781838982461
  • Sales Rank: #165525 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Leverage Python and Raspberry Pi to create complex IoT applications capable of creating and detecting movement and measuring distance, light, and a host of other environmental conditions

    Key Features

    • Learn the fundamentals of electronics and how to integrate them with a Raspberry Pi
    • Understand how to build RESTful APIs, WebSocket APIs, and MQTT-based applications
    • Explore alternative approaches to structuring IoT applications with Python

    Book Description

    The age of connected devices is here, be it fitness bands or smart homes. It’s now more important than ever to understand how hardware components interact with the internet to collect and analyze user data. The Internet of Things (IoT), combined with the popular open source language Python, can be used to build powerful and intelligent IoT systems with intuitive interfaces.

    This book consists of three parts, with the first focusing on the “Internet” component of IoT. You’ll get to grips with end-to-end IoT app development to control an LED over the internet, before learning how to build RESTful APIs, WebSocket APIs, and MQTT services in Python. The second part delves into the fundamentals behind electronics and GPIO interfacing. As you progress to the last part, you’ll focus on the “Things” aspect of IoT, where you will learn how to connect and control a range of electronic sensors and actuators using Python. You’ll also explore a variety of topics, such as motor control, ultrasonic sensors, and temperature measurement. Finally, you’ll get up to speed with advanced IoT programming techniques in Python, integrate with IoT visualization and automation platforms, and build a comprehensive IoT project.

    By the end of this book, you’ll be well-versed with IoT development and have the knowledge you need to build sophisticated IoT systems using Python.

    What you will learn

    • Understand electronic interfacing with Raspberry Pi from scratch
    • Gain knowledge of building sensor and actuator electronic circuits
    • Structure your code in Python using Async IO, pub/sub models, and more
    • Automate real-world IoT projects using sensor and actuator integration
    • Integrate electronics with ThingSpeak and IFTTT to enable automation
    • Build and use RESTful APIs, WebSockets, and MQTT with sensors and actuators
    • Set up a Raspberry Pi and Python development environment for IoT projects

    Who this book is for

    This IoT Python book is for application developers, IoT professionals, or anyone interested in building IoT applications using the Python programming language. It will also be particularly helpful for mid to senior-level software engineers who are experienced in desktop, web, and mobile development, but have little to no experience of electronics, physical computing, and IoT.

    Table of Contents

    1. Setting Up your Development Environment
    2. Getting Started with Python and IoT
    3. Networking with RESTful APIs and Web Sockets using Flask
    4. Networking with MQTT, Python, and the Mosquitto MQTT Broker
    5. Connecting Your Raspberry Pi to the Physical World
    6. Electronics 101 for the Software Engineer
    7. Turning Things On and Off
    8. Lights, Indicators, and Displaying Information
    9. Measuring Temperature, Humidity, and Light Levels
    10. Movement with Servos, Motors, and Steppers
    11. Measuring Distance and Detecting Movement
    12. Advanced IoT Programming Concepts – Threads, AsyncIO, and Event Loops
    13. IoT Visualisation and Automation Platforms
    14. Tying It All Together – An IoT Christmas Tree

    中文:

    书名:Practical Python Programming for IoT

    利用Python和Raspberry PI创建复杂的物联网应用程序,这些应用程序能够创建和检测移动并测量距离、光线和许多其他环境条件

    Key Features

    • 学习电子基础知识,以及如何将其与覆盆子猪相结合
    • 了解如何构建REST风格的API、WebSocket API和基于MQTT的应用程序
    • 探索使用Python构建物联网应用程序的替代方法

    Book Description

    无论是健身手环还是智能家居,互联设备的时代已经到来。现在,了解硬件组件如何与互联网交互以收集和分析用户数据比以往任何时候都更加重要。物联网(IoT)与流行的开源语言Python相结合,可以用来构建具有直观界面的强大而智能的物联网系统。

    本书由三部分组成,第一部分重点介绍了物联网的互联网组成部分。在学习如何用Python构建REST风格的API、WebSocket API和MQTT服务之前,您将掌握端到端物联网应用程序开发来控制互联网上的LED。第二部分深入探讨电子学和GPIO接口背后的基本原理。在进行到最后一部分时,您将重点关注物联网的物联网方面,在这方面,您将学习如何使用Python连接和控制一系列电子传感器和执行器。你还将探索各种主题,如电机控制、超声波传感器和温度测量。最后,您将熟悉先进的物联网编程技术,并与物联网可视化和自动化平台集成,并构建一个全面的物联网项目。

    到本书结束时,您将精通物联网开发,并掌握使用Python构建复杂的物联网系统所需的知识。

    你将学到什么

    • 从头开始了解与树莓PI的电子接口
    • Gain knowledge of building sensor and actuator electronic circuits
    • 使用异步IO、发布/订阅模型等在Python中构建代码结构
    • 使用传感器和执行器集成自动化现实世界中的物联网项目
    • 将电子产品与ThingSak和IFTTT集成以实现自动化
    • 构建并使用REST风格的API、WebSockets和带有传感器和执行器的MQTT
    • 为物联网项目设置Raspberry PI和Python开发环境

    这本书是为谁而写的

    这本物联网Python书籍面向应用程序开发人员、物联网专业人员或任何对使用Python编程语言构建物联网应用程序感兴趣的人。对于在桌面、网络和移动开发方面经验丰富,但在电子、物理计算和物联网方面几乎没有经验的中高级软件工程师来说,它也特别有帮助。

    目录表

    1. Setting Up your Development Environment
    2. Python和IoT入门
    3. 使用烧瓶连接REST风格的API和Web套接字
    4. 与MQTT、Python和Mosquito MQTT代理联网
    5. 将你的树莓PI连接到物理世界
    6. 面向软件工程师的电子学入门
    7. 打开和关闭设备
    8. 指示灯、指示灯和显示信息
    9. Measuring Temperature, Humidity, and Light Levels
    10. 带伺服、马达和步进器的运动
    11. 测量距离和检测运动
    12. 高级物联网编程概念-线程、异步IO和事件循环
    13. 物联网可视化和自动化平台
    14. 把这一切都捆绑在一起&一棵物联网圣诞树
  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册