
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
از پایتون و رزبری پای برای ساخت برنامههای پیچیده اینترنت اشیا استفاده کنید؛ برنامههایی که قادر به ایجاد و تشخیص حرکت، و سنجش فاصله، نور و بسیاری از شرایط دیگر محیطی هستند.
ویژگیهای کلیدی:
- یادگیری اصول اولیه الکترونیک و نحوه ادغام آنها با رزبری پای
- درک نحوه ساخت رابطهای برنامهنویسی RESTful، وبسوکت و برنامههای مبتنی بر MQTT
- بررسی رویکردهای جایگزین برای ساختاردهی برنامههای اینترنت اشیا با پایتون
توضیحات کتاب:
عصر دستگاههای متصل به هم فرا رسیده است؛ فرقی نمیکند مچبندهای سلامتی باشند یا خانههای هوشمند. امروزه درک نحوه تعامل قطعات سختافزاری با اینترنت برای جمعآوری و تحلیل دادههای کاربر، بیش از همیشه اهمیت دارد. اینترنت اشیا (IoT) در ترکیب با زبان محبوب و متنباز پایتون، میتواند برای ساختسیستمهای اینترنت اشیای قدرتمند و هوشمند با رابطهای کاربری بصری استفاده شود.
این کتاب شامل سه بخش است که بخش اول روی مؤلفه «اینترنت» در اینترنت اشیا تمرکز دارد. پیش از اینکه یاد بگیرید چگونه رابطهای برنامهنویسی RESTful، وبسوکت و خدمات MQTT را با پایتون بسازید، با توسعه سرتاسری برنامههای اینترنت اشیا برای کنترل یک لامپ LED از طریق اینترنت آشنا خواهید شد. بخش دوم به اصول زیربنایی الکترونیک و اتصال پینهای GPIO میپردازد. با پیشروی به سمت بخش پایانی، روی جنبه «اشیا» در اینترنت اشیا تمرکز میکنید؛ جایی که یاد میگیرید چگونه با استفاده از پایتون، طیف وسیعی از حسگرها و عملگرهای الکترونیکی را متصل و کنترل کنید. همچنین موضوعات متنوعی مانند کنترل موتور، حسگرهای اولتراسونیک و اندازهگیری دما را بررسی خواهید کرد. در نهایت، با تکنیکهای پیشرفته برنامهنویسی اینترنت اشیا در پایتون آشنا میشوید، آن را با پلتفرمهای مصورسازی و اتوماسیون اینترنت اشیا یکپارچه میکنید و یک پروژه جامع اینترنت اشیا میسازید.
تا پایان این کتاب، بر توسعه اینترنت اشیا مسلط خواهید شد و دانش لازم برای ساختسیستمهای پیشرفته اینترنت اشیا با استفاده از پایتون را به دست خواهید آورد.
آنچه خواهید آموخت:
- یادگیری اتصال الکترونیکی با رزبری پای از صفر
- کسب دانش در زمینه ساخت مدارهای الکترونیکی حسگر و عملگر
- ساختاردهی کد خود در پایتون با استفاده از عملیات ناهمگام (Async IO)، مدلهای انتشار/اشتراک و موارد دیگر
- اتوماسیون پروژههای واقعی اینترنت اشیا با استفاده از یکپارچهسازی حسگر و عملگر
- ادغام قطعات الکترونیکی با ThingSpeak و IFTTT برای فعالسازی اتوماسیون
- ساخت و استفاده از رابطهای برنامهنویسی RESTful، وبسوکتها و MQTT با حسگرها و عملگرها
- راهاندازی رزبری پای و محیط توسعه پایتون برای پروژههای اینترنت اشیا
این کتاب برای چه کسانی است؟
این کتاب پایتون برای اینترنت اشیا مناسب توسعهدهندگان نرمافزار، متخصصان اینترنت اشیا یا هر کسی است که علاقه دارد با استفاده از زبان برنامهنویسی پایتون، برنامههای اینترنت اشیا بسازد. این کتاب همچنین برای مهندسان نرمافزار سطح متوسط تا ارشد که در زمینه توسعه دسکتاپ، وب و موبایل تجربه دارند اما تجربه کمی در زمینه الکترونیک، رایانش فیزیکی و اینترنت اشیا دارند، بسیار مفید خواهد بود.
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 conditionsKey FeaturesLearn the fundamentals of electronics and how to integrate them with a Raspberry PiUnderstand how to build RESTful APIs, WebSocket APIs, and MQTT-based applicationsExplore alternative approaches to structuring IoT applications with PythonBook DescriptionThe 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 learnUnderstand electronic interfacing with Raspberry Pi from scratchGain knowledge of building sensor and actuator electronic circuitsStructure your code in Python using Async IO, pub/sub models, and moreAutomate real-world IoT projects using sensor and actuator integrationIntegrate electronics with ThingSpeak and IFTTT to enable automationBuild and use RESTful APIs, WebSockets, and MQTT with sensors and actuatorsSet up a Raspberry Pi and Python development environment for IoT projectsWho this book is forThis 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 ContentsSetting Up your Development EnvironmentGetting Started with Python and IoTNetworking with RESTful APIs and Web Sockets using FlaskNetworking with MQTT, Python, and the Mosquitto MQTT BrokerConnecting Your Raspberry Pi to the Physical WorldElectronics 101 for the Software EngineerTurning Things On and OffLights, Indicators, and Displaying InformationMeasuring Temperature, Humidity, and Light LevelsMovement with Servos, Motors, and SteppersMeasuring Distance and Detecting Movement