본문 바로가기

리디 접속이 원활하지 않습니다.
강제 새로 고침(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
ECN
-
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. 다른 리뷰에 대한 반박이나 논쟁을 유발하는 내용
* 결말을 예상할 수 있는 리뷰는 자제하여 주시기 바랍니다.
이 외에도 건전한 리뷰 문화 형성을 위한 운영 목적과 취지에 맞지 않는 내용은 담당자에 의해 리뷰가 비공개 처리가 될 수 있습니다.
아직 등록된 리뷰가 없습니다.
첫 번째 리뷰를 남겨주세요!
'구매자' 표시는 유료 작품 결제 후 다운로드하거나 리디셀렉트 작품을 다운로드 한 경우에만 표시됩니다.
무료 작품 (프로모션 등으로 무료로 전환된 작품 포함)
'구매자'로 표시되지 않습니다.
시리즈 내 무료 작품
'구매자'로 표시되지 않습니다. 하지만 같은 시리즈의 유료 작품을 결제한 뒤 리뷰를 수정하거나 재등록하면 '구매자'로 표시됩니다.
영구 삭제
작품을 영구 삭제해도 '구매자' 표시는 남아있습니다.
결제 취소
'구매자' 표시가 자동으로 사라집니다.

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

  • 핸즈온 LLM (제이 알아마르, 마르턴 흐루턴도르스트)
  • 모던 소프트웨어 엔지니어링 (데이비드 팔리, 박재호)
  • 러닝 랭체인 (메이오 오신, 누노 캄포스)
  • 개정4판 | 스위프트 프로그래밍 (야곰)
  • LLM 엔지니어링 (막심 라본, 폴 이우수틴)
  • 주니어 백엔드 개발자가 반드시 알아야 할 실무 지식 (최범균)
  • 미래를 선점하라 : AI Agent와 함께라면 당신도 디지털 천재 (정승원(디지털 셰르파))
  • 잘되는 머신러닝 팀엔 이유가 있다 (데이비드 탄, 에이다 양)
  • 혼자 만들면서 공부하는 딥러닝 (박해선)
  • 개정판 | 개발자 기술 면접 노트 (이남희)
  • 스테이블 디퓨전 실전 가이드 (시라이 아키히코, AICU 미디어 편집부)
  • 개정판|혼자 공부하는 파이썬 (윤인성)
  • 실리콘밸리에서 통하는 파이썬 인터뷰 가이드 (런젠펑, 취안수쉐)
  • 7가지 프로젝트로 배우는 LLM AI 에이전트 개발 (황자, 김진호)
  • 개발자를 위한 쉬운 쿠버네티스 (윌리엄 데니스, 이준)
  • 전략적 모놀리스와 마이크로서비스 (반 버논, 토마스 야스쿨라)
  • 요즘 우아한 AI 개발 (우아한형제들)
  • 최고의 프롬프트 엔지니어링 강의 (김진중)
  • [리얼타임] 버프스위트 활용과 웹 모의해킹 (김명근, 조승현)
  • 입문자를 위한 맞춤형 AI 프로그램 만들기 (다비드스튜디오)

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

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