본문 바로가기

리디 접속이 원활하지 않습니다.
강제 새로 고침(Ctrl + F5)이나 브라우저 캐시 삭제를 진행해주세요.
계속해서 문제가 발생한다면 리디 접속 테스트를 통해 원인을 파악하고 대응 방법을 안내드리겠습니다.
테스트 페이지로 이동하기

Practical Python Programming for IoT 상세페이지

Practical Python Programming for IoT

Build advanced IoT projects using a Raspberry Pi 4, MQTT, RESTful APIs, WebSockets, and Python 3

  • 관심 0
소장
전자책 정가
26,000원
판매가
26,000원
출간 정보
  • 2020.11.12 전자책 출간
듣기 기능
TTS(듣기) 지원
파일 정보
  • PDF
  • 500 쪽
  • 28.5MB
지원 환경
  • PC뷰어
  • PAPER
ISBN
9781838982836
UCI
-
Practical Python Programming for IoT

작품 정보

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

▶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

▶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

▶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.

▶What this book covers
⦁ Chapter 1, Setting Up Your Development Environment, explores the Python ecosystem in the context of the Raspberry Pi OS and teaches you how to correctly set up a Python development project for success. You will also learn alternative ways of starting Python programs and how to configure your Raspberry Pi for GPIO interfacing.

⦁ Chapter 2, Getting Started with Python and IoT, teaches you the basics of electronics and GPIO interfacing with Python. You will build and experiment with simple electronic circuits that are controlled using Python, and combine this learning to build a simple yet complete internet-controllable IoT application from the ground up using the dweet.io platform.

⦁ Chapter 3, Networking with RESTful APIs and Web Sockets Using Flask, explores how to build network servers in Python using two approaches – RESTful APIs and Web Sockets. You will learn how to use these servers in conjunction with Python and an HTML/JavaScript user interface to control electronic circuits over a network from a web browser.

⦁ Chapter 4, Networking with MQTT, Python, and the Mosquitto MQTT Broker, teaches networking approaches using Message Queue Telemetry Transport, a popular choice for distributed IoT applications. You will learn how to use MQTT in conjunction with Python and an HTML/JavaScript user interface to control electronic circuits over a network and from a web browser.

⦁ Chapter 5, Connecting Your Raspberry Pi to the Physical World, explores different Pythonbased software options and techniques used to interface and control electronics using a Raspberry Pi's GPIO pins. You will also build and learn to use an ADS1115 analog-todigital converter module to expand your Raspberry Pi's native interfacing options, and be introduced to Pulse Width Modulation (PWM), an important electronic and interfacing concept that you'll be using in later chapters.

⦁ Chapter 6, Electronics 101 for the Software Engineer, teaches you core electronic concepts and fundamentals. You will learn the essential how and why behind common electronic and interfacing circuits and how they are used practically to correctly and safely interface sensors and actuators to your Raspberry Pi. You will also learn the differences between digital and analog electronics and how each applies to and influences interfacing circuit requirements. Many of the fundamentals you learn about in this chapter are seen applied practically in subsequent chapters as we work with different electronic components and modules.

⦁ Chapter 7, Turning Things On and Off, teaches you how to use optocouplers, MOSFET transistors, and relays to turn other circuits on and off using your Raspberry Pi and Python. You will also learn about circuit loads, how they are measured, and how this influences the choice and use of optocouplers, MOSFET transistors, and relays in circuits.

⦁ Chapter 8, Lights, Indicators, and Displaying Information, teaches you how to use an APA102 LED lighting strip, RGB LEDs, OLED displays, and buzzers in conjunction with Python to create visual and auditable orientated circuits and applications.

⦁ Chapter 9, Measuring Temperature, Humidity, and Light Levels, teaches you how to measure common environmental attributes with your Raspberry Pi and Python. You will build a circuit using a DHT11/22 temperature and humidity sensor and learn about and use Light-Dependent-Resistors (LDRs) to detect the presence or absence of light. In this chapter, you will also deepen your practical understanding and experience of analog electronics, and apply the basic principle to build a moisture detection circuit and application.

⦁ Chapter 10, Movement with Servos, Motors, and Steppers, teaches you how to create movement using popular mechanical devices together with your Raspberry Pi and Python. You will learn how to control a servo using PWM to create angular movement, use an Hbridge IC circuit together with a motor to control its speed and direction of rotation. Plus, you will learn how to adapt the H-bridge IC circuit for use with a stepper motor for those projects where you need precise control over movement.

⦁ Chapter 11, Measuring Distance and Detecting Movement, teaches you the principles behind distance measurements using an HC-SR04 ultrasonic distance sensor and how to use an HC-SR501 PIR sensor to detect movement on a macro scale. You will also learn how to use both a ratiometric and switch-type Hall-effect sensor to detect movement and measure relative distance on micro scales.

⦁ Chapter 12, Advanced IoT Programming Concepts – Threads, AsyncIO, and Event Loops, is an advanced programming chapter that looks at alternative approaches to structuring complex Python programs. You will learn about Python threading, asynchronous I/O, classic event loops, and publisher-subscriber patterns, all within the context of electronic interfacing. By the end of the chapter, you will have experimented with and understood four functionally equivalent applications that are written in four very different ways.

⦁ Chapter 13, IoT Visualization and Automation Platforms, is a journey into the world of IoTrelated online services and integration. You will be creating two environmental-monitoring applications based on the DHT11/22 temperature and humidity circuit from Chapter 9, Measuring Temperature, Humidity, and Light Levels. First, you will leverage your MQTT understanding from Chapter 4, Networking with MQTT, Python, and the Mosquitto MQTT Broker, to create an online dashboard at ThingSpeak.com to display and graph both temperature and humidity data. Then, you will also apply RESTful API concepts from Chapter 4, Networking with MQTT, Python, and the Mosquitto MQTT Broker, and build an If- This-Then-That (IFTTT.com) workflow Applet that sends you an email whenever the temperature rises above or falls below a certain point.

⦁ Chapter 14, Tying It All Together – An IoT Christmas Tree, pulls together many of the themes and concepts you have learned about in earlier chapters with a multifaceted example centered around an internet-connected Christmas tree. From an electronics perspective, you will revisit the APA102 LED strip from Chapter 8, Lights, Indicators, and Displaying Information (this will be the Christmas tree lights), and servos from Chapter 10, Movement with Servos, Motors, and Steppers (this is used to provide a mechanism to shake or rock the tree). From a networking perspective, you will revisit dweet.io from Chapter 2, Getting Started with Python and IoT; RESTful-APIs from Chapter 3, Networking with RESTful APIs and Web Sockets Using Flask; and MQTT from Chapter 4, Networking with MQTT, Python, and the Mosquitto MQTT Broker, and learn how to combine techniques to achieve complex integrations that need to bridge different technologies. Finally, you will revisit IFTTT from Chapter 13, IoT Visualization and Automation Platforms, and create two Applets that let you control your tree's lights and make the tree shake or rock over the internet. These three Applets include email control, and voice-activated control using Google Assistant.

작가 소개

▶About the Author
- Gary Smart
Gary Smart is a senior software engineer and an IoT and integration expert. The commencement of Gary's IT career coincided with the birth of the World Wide Web and has grown in line with the internet and emerging technologies ever since, including the rise of mobile phones and tablets, embedded technologies, SaaS and business migration to the cloud, and in recent years, the IoT revolution. Gary's practical experience includes both technical and management positions and experience in both small and large organizations, including Hewlett-Packard, Deakin University, and Pacific Hydro-Tango, boutique consulting firms, and innovative internet and IoT start-ups.

리뷰

0.0

구매자 별점
0명 평가

이 작품을 평가해 주세요!

건전한 리뷰 정착 및 양질의 리뷰를 위해 아래 해당하는 리뷰는 비공개 조치될 수 있음을 안내드립니다.
  1. 타인에게 불쾌감을 주는 욕설
  2. 비속어나 타인을 비방하는 내용
  3. 특정 종교, 민족, 계층을 비방하는 내용
  4. 해당 작품의 줄거리나 리디 서비스 이용과 관련이 없는 내용
  5. 의미를 알 수 없는 내용
  6. 광고 및 반복적인 글을 게시하여 서비스 품질을 떨어트리는 내용
  7. 저작권상 문제의 소지가 있는 내용
  8. 다른 리뷰에 대한 반박이나 논쟁을 유발하는 내용
* 결말을 예상할 수 있는 리뷰는 자제하여 주시기 바랍니다.
이 외에도 건전한 리뷰 문화 형성을 위한 운영 목적과 취지에 맞지 않는 내용은 담당자에 의해 리뷰가 비공개 처리가 될 수 있습니다.
아직 등록된 리뷰가 없습니다.
첫 번째 리뷰를 남겨주세요!
'구매자' 표시는 유료 작품 결제 후 다운로드하거나 리디셀렉트 작품을 다운로드 한 경우에만 표시됩니다.
무료 작품 (프로모션 등으로 무료로 전환된 작품 포함)
'구매자'로 표시되지 않습니다.
시리즈 내 무료 작품
'구매자'로 표시되지 않습니다. 하지만 같은 시리즈의 유료 작품을 결제한 뒤 리뷰를 수정하거나 재등록하면 '구매자'로 표시됩니다.
영구 삭제
작품을 영구 삭제해도 '구매자' 표시는 남아있습니다.
결제 취소
'구매자' 표시가 자동으로 사라집니다.

개발/프로그래밍 베스트더보기

  • 바이브 코딩 너머 개발자 생존법 (애디 오스마니, 강민혁)
  • 도메인 주도 설계를 위한 함수형 프로그래밍 (스콧 블라신, 박주형)
  • 혼자 공부하는 바이브 코딩 with 클로드 코드 (조태호)
  • 요즘 당근 AI 개발 (당근 팀)
  • 요즘 바이브 코딩 클로드 코드 완벽 가이드 (최지호(코드팩토리))
  • 알아서 잘하는 에이전틱 AI 시스템 구축하기 (안자나바 비스와스, 릭 탈루크다르)
  • 개정2판 | 소프트웨어 아키텍처 The Basics (마크 리처즈, 닐 포드)
  • 연필과 종이로 풀어보는 딥러닝 수학 워크북 214제 (톰 예(Tom yeh) )
  • 그림으로 이해하는 도커와 쿠버네티스 (토쿠나가 코헤이 , 서수환)
  • 러스트 클린 코드 (브렌든 매슈스, 윤인도)
  • AI 자율학습 밑바닥부터 배우는 AI 에이전트 (다비드스튜디오)
  • 개정판 | Do it! 점프 투 파이썬 (박응용)
  • 혼자 공부하는 컴퓨터 구조+운영체제 (강민철)
  • 쏙쏙 들어오는 자료구조 (마르첼로 라 로카, 김성원)
  • 데이터베이스 설계, 이렇게 하면 된다 (미크, 윤인성)
  • AI 엔지니어링 (칩 후옌, 변성윤)
  • 밑바닥부터 시작하는 웹 브라우저 (파벨 판체카, 크리스 해럴슨)
  • 혼자 공부하는 네트워크 (강민철)
  • 그림으로 배우는 StatQuest 신경망 & AI 강의 (조시 스타머, 김태헌)
  • LLM 프로덕션 엔지니어링 (루이-프랑수아 부샤르, 루이 피터스)

본문 끝 최상단으로 돌아가기

spinner
앱으로 연결해서 다운로드하시겠습니까?
닫기 버튼
대여한 작품은 다운로드 시점부터 대여가 시작됩니다.
앱으로 연결해서 보시겠습니까?
닫기 버튼
앱이 설치되어 있지 않으면 앱 다운로드로 자동 연결됩니다.
모바일 버전