Python Development in Practice for IoT (2nd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- Beginners with basic Python syntax concepts who want to enter IoT development
- Embedded beginners who need to learn microcontrollers, gateways, and Web backends as an integrated whole
- College teachers who teach IoT or Python application courses and are looking for project cases
- Developers working on small IoT projects who want to understand practical use of protocols such as MQTT and CoAP
Not a good fit for
- Complete beginners with no programming experience and no exposure to any language
- Engineers focused only on hardware circuit design and PCB development who do not do software development
- Senior architects seeking large-scale industrial IoT architecture and high-concurrency backend solutions
Reading tips
- First skim the table of contents to identify the four threads—microcontroller, gateway, backend, and communication—then plan the reading order.
- Be sure to do the MicroPython and gateway chapters hands-on with a development board; writing and debugging as you go is more rewarding than just reading code.
- For the communication protocols, master MQTT first, then study CoAP alongside it to understand the differences in their applicable scenarios.
- Finally, use the large project as an outline to review each chapter and connect the scattered knowledge points into a complete development chain.
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- 版权信息
- 前言
- 第1章 物联网邂逅Python
- 1.1 物联网组成架构
- 1.2 物联网发展现状
- 1.3 物联网典型应用
- 1.4 使用Python的理由
- 1.5 美丽的相遇
- 第2章 开启Python之旅
- 2.1 Python版本的选择
- 2.2 搭建开发环境
- 2.3 开始编写Python程序
- 2.4 变量和数据类型
- 2.5 条件和循环
- 2.6 函数
- 2.7 变量进阶
- 2.8 模块与包
- 2.9 异常处理
- 第3章 Python数据结构
- 3.1 字符串
- 3.2 列表
- 3.3 元组
- 3.4 字典
- 3.5 集合
- 第4章 Python高级特性
- 4.1 生成器
- 4.2 迭代器
- 4.3 函数式编程
- 4.4 面向对象编程
- 第5章 物联网核心组件
- 5.1 网络通信方案
- 5.2 网络通信协议
- 5.3 硬件
- 5.4 物联网云平台
- 第6章 MicroPython开发物联网终端
- 6.1 MicroPython简介
- 6.2 MicroPython开发板
- 6.3 第一个MicroPython程序
- 6.4 交互式解释器
- 6.5 按键中断与回调
- 6.6 定时器的使用
- 6.7 串口测试
- 6.8 SPI接口驱动显示屏
- 6.9 源代码编译与固件升级
- 6.10 MicroPython多线程
- 6.11 安全模式和恢复出厂设置
- 第7章 构建物联网网关
- 7.1 网关概述
- 7.2 自主构建网关
- 7.3 树莓派作为网关
- 第8章 网关数据编码与处理
- 8.1 读写CSV文件
- 8.2 JSON格式
- 8.3 XML文件
- 8.4 二进制数据的读写
- 8.5 Base64编解码
- 8.6 正则表达式
- 第9章 网关多进程与多线程
- 9.1 多进程
- 9.2 多线程
- 9.3 多线程和多进程的思考
- 9.4 异步IO
- 第10章 网关数据持久化
- 10.1 文件操作
- 10.2 SQLite数据库
- 第11章 Python扩展
- 11.1 Python扩展的原因
- 11.2 连接硬件的纽带
- 11.3 C语言扩展Python
- 第12章 网关网络编程
- 12.1 网关网络通信方案
- 12.2 Socket编程
- 12.3 requests
- 12.4 hbmqtt
- 12.5 LoRa网络通信
- 第13章 物联网后台Web开发
- 13.1 Django简介
- 13.2 创建一个网站
- 13.3 网站首页
- 13.4 Django模板系统
- 13.5 Django模型
- 13.6 用户注册
- 13.7 账号登录
- 第14章 物联网Python项目实战
- 14.1 项目简介
- 14.2 终端设备程序开发
- 14.3 网关程序开发
- 14.4 服务器端程序开发
FAQ
Will this book be too difficult for Python beginners to read directly?
What hardware modules are needed to practice with this book?
What framework is used for the Web backend part of the book?
Is the second edition suitable for use as a course textbook?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
An Xiang is an author about whom limited public information is available. Two works by this author are included in the collection, one on computer technology and the other on cultural research. Internet of Things Python Development in Practice (2nd Edition) addresses IoT development practice, using Python as a tool to explain related technical applications, and belongs to the general computing category. The Historical Materials Methods of Soundscape Ecology and the Sounds of Beijing (with CD) turns to soundscape ecology and methods for organizing local sound historical materials, taking a cultural research approach and including audio materials. The two works span considerably different subjects, one leaning toward technical practice and the other toward sound culture and historical methods, suggesting that the author balances technical application with humanistic observation in writing. Since information such as dates of birth and death, nationality, and professional experience cannot be confirmed, no speculation is made here; this note briefly introduces only the subjects and approaches of the works for readers' reference.