توضیحات
The Raspberry Pi makes an ideal match for the Internet of Things. But to put it to good use in IoT you need two areas of expertise, electronics and programming and because of the way hardware and software engineering tend to occupy separate niches you may need help with combining the two. This book teaches you to think like an IoT programmer. In Raspberry Pi IoT in C you will find a practical approach to understanding electronic circuits and datasheets and translating this to code, specifically using the C programming language. The main reason for choosing C is speed, a crucial factor when you are writing programs to communicate with the outside world. If you are familiar with another programming language, C shouldn’t be hard to pick up. Here it is used in conjunction with NetBeans and with the bcm2835 library. The main idea in this book is to not simply install a driver, but to work directly with the hardware. So rather than using Raspberry Pi HATs or other expansion boards we use the Pi’s GPIO (General Purpose Input Output) and connect off-the-shelf sensors. If you want to know how to work with the GPIO lines directly, how to work with near realtime Linux and generally take control of the Pi this is the book you need. It explains how to use the standard bus types – SPI, I2C, PWM – and with custom protocols including an in-depth exposition of the 1-wire bus. You will also discover how to put the Internet into the IoT using sockets and the low cost ESP8266. After reading this book you will be in a better position to tackle interfacing anything-with-anything without the need for custom drivers and prebuilt hardware modules. Having written a Blinky program to check that everything we need is installed and working we move on to exploring the basics of using the GPIO and also master memory mapping, pulse width modulation and other more sophisticated bus types. From here we can start connecting sensors, which is a core requirement for IoT. First well meet the ubiquitous I2C bus, next well implement a custom protocol for a one-wire bus, and eventually well add eight channels of 12-bit AtoD with the SPI bus, which involves overcoming some subtle difficulties. Next we look at the traditional serial interface how to use it to communicate with other devices. This paves the way for getting the Pi on the web after all this is a book about the Internet of Things -using first a USB WiFi adapter and sockets and then the low cost ESP8266, which is particularly useful with the Pi Zero which has only one USB port. Having transformed the Pi into both a web client and a web server we can then use them to exchange information.
————————————————————–
ترجمه ماشینی :
رزبری پای یک مسابقه ایده آل برای اینترنت اشیا است. اما برای استفاده خوب از آن در اینترنت اشیا به دو حوزه تخصص نیاز دارید، الکترونیک و برنامه نویسی و به دلیل روشی که مهندسی سخت افزار و نرم افزار تمایل به اشغال جایگاه های جداگانه دارند، ممکن است برای ترکیب این دو به کمک نیاز داشته باشید. این کتاب به شما می آموزد که مانند یک برنامه نویس اینترنت اشیا فکر کنید. در Raspberry Pi IoT در C شما یک رویکرد عملی برای درک مدارهای الکترونیکی و برگه های داده و ترجمه آن به کد، به ویژه با استفاده از زبان برنامه نویسی C پیدا خواهید کرد. دلیل اصلی انتخاب C سرعت است، عاملی حیاتی در هنگام نوشتن برنامه برای برقراری ارتباط با دنیای خارج. اگر با زبان برنامه نویسی دیگری آشنا هستید، انتخاب C نباید سخت باشد. در اینجا به همراه NetBeans و با کتابخانه bcm2835 استفاده می شود. ایده اصلی در این کتاب این است که صرفاً یک درایور را نصب نکنید، بلکه مستقیماً با سخت افزار کار کنید. بنابراین بهجای استفاده از کلاههای Raspberry Pi یا سایر بردهای توسعه، از GPIO Pi (خروجی ورودی با هدف عمومی) استفاده میکنیم و سنسورهای خارج از قفسه را به هم متصل میکنیم. اگر می خواهید بدانید که چگونه مستقیماً با خطوط GPIO کار کنید، چگونه با لینوکس نزدیک به زمان واقعی کار کنید و به طور کلی کنترل Pi را در دست بگیرید، این کتابی است که نیاز دارید. نحوه استفاده از انواع گذرگاه استاندارد – SPI، I2C، PWM – و با پروتکل های سفارشی از جمله نمایش عمیق گذرگاه 1 سیمی را توضیح می دهد. شما همچنین خواهید فهمید که چگونه با استفاده از سوکت ها و ESP8266 کم هزینه، اینترنت را در اینترنت اشیا قرار دهید. پس از خواندن این کتاب، در موقعیت بهتری خواهید بود که بدون نیاز به درایورهای سفارشی و ماژولهای سختافزاری از پیش ساخته شده، با هر چیزی با هر چیزی ارتباط برقرار کنید. پس از نوشتن یک برنامه Blinky برای بررسی اینکه همه چیزهایی که نیاز داریم نصب شده و کار میکنند، به بررسی اصول اولیه استفاده از GPIO و همچنین نقشهبرداری حافظه، مدولاسیون عرض پالس و دیگر انواع گذرگاه پیچیدهتر میرویم. از اینجا میتوانیم اتصال سنسورها را آغاز کنیم، که یک نیاز اصلی برای اینترنت اشیا است. ابتدا به خوبی با گذرگاه I2C همه جا حاضر آشنا شوید، سپس یک پروتکل سفارشی برای یک گذرگاه یک سیمه را به خوبی پیاده سازی کنید، و در نهایت به خوبی هشت کانال AtoD 12 بیتی را با گذرگاه SPI اضافه کنید، که شامل غلبه بر برخی مشکلات ظریف است. در ادامه به رابط سریال سنتی نحوه استفاده از آن برای برقراری ارتباط با دستگاههای دیگر نگاه میکنیم. این راه را برای قرار دادن Pi در وب هم
tag : دانلود کتاب Raspberry Pi IoT In C، نسخه دوم , Download Raspberry Pi IoT In C، نسخه دوم , دانلود Raspberry Pi IoT In C، نسخه دوم , Download Raspberry Pi IoT In C, 2nd Edition Book , Raspberry Pi IoT In C، نسخه دوم دانلود , buy Raspberry Pi IoT In C، نسخه دوم , خرید کتاب Raspberry Pi IoT In C، نسخه دوم , دانلود کتاب Raspberry Pi IoT In C, 2nd Edition , کتاب Raspberry Pi IoT In C, 2nd Edition , دانلود Raspberry Pi IoT In C, 2nd Edition , خرید Raspberry Pi IoT In C, 2nd Edition , خرید کتاب Raspberry Pi IoT In C, 2nd Edition ,
برای فرستادن دیدگاه، باید وارد شده باشید.

نقد و بررسیها
هنوز بررسیای ثبت نشده است.