
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
نسخهٔ جدیدی از این کتاب منتشر شده است: برنامهنویسی رزبری پای پیکو/W به زبان C، ویرایش دوم.
رزبری پای پیکو یک میکروکنترلر چشمگیر است. قدرت و پیشرفتهبودنی دارد که تا همین چندی پیش تصورناپذیر بود. برای کارهایی که برایشان ایدهآل است، توان پردازش و حافظهٔ کافی دارد؛ کارهایی که زمانی نیاز به برنامهریزی دقیق داشتند، حالا نسبتاً آسان شدهاند. بهجای کلنجار رفتن با خود دستگاه، میتوانید روی پیادهسازی خوب الگوریتمهایتان تمرکز کنید.
برای بهرهبردن از همهٔ قدرت و امکاناتش، زبانی بهتر از C نیست. هیچ بخشی از توان دستگاه را هدر نمیدهد و آنچه برای دسترسی به ویژگیهای جدید لازم دارید در اختیارتان میگذارد. با این حال، شروع کار با پیکو به زبان C کار سادهای نیست؛ و همین انگیزهٔ نوشتن این کتاب بوده است: ساختن برنامههایی که تست و اشکالزداییشان آسان باشد.
کتاب برنامهنویسی رزبری پای پیکو به زبان C از محیط توسعهٔ بسیار محبوب VS Code استفاده میکند و نشان میدهد چطور میتوانید از یک رزبری پای یا یک رایانهٔ رومیزی ویندوزی بهعنوان ماشین توسعه استفاده کنید. هدف کتاب این است که نشان دهد با خطوط GPIO پیکو، همراه با حسگرها، سرووها، موتورها و ADCهای پرکاربرد، چه کارهایی میتوانید انجام دهید. پس از پوشش GPIO، خروجیها و ورودیها، رویدادها و وقفهها، تجربهٔ عملی PWM (مدولاسیون پهنای پالس)، باس SPI، باس I2C و باس 1-Wire را به شما میدهد.
یکی از مزایای کلیدی پیکو، PIO (ورودی/خروجی برنامهپذیر) است؛ و هرچند ویژگی پیشرفتهای است، در این کتاب آمده است. پس از آشنایی با نحوهٔ کار PIO، آن را برای نوشتن یک برنامهٔ PIO برای DHT22 و باس 1-Wire به کار میگیریم. یکی از محدودیتهای فعلی پیکو این است که اتصال شبکه ندارد. برای حل این مشکل، فصلی دربارهٔ استفاده از ESP8266 ارزانقیمت بهعنوان کلاینت وایفای و وبسرور آمده است. این دو دستگاه با هم، پیکو را به یک دستگاه واقعی اینترنت اشیا تبدیل میکنند.
هری فرهد پیشزمینهٔ سختافزاری دارد و پس از سالها کار با ریزپردازندهها و الکترونیک، از طرفداران پرشور اینترنت اشیا و رایانش تعبیهشده است. او نویسندهٔ دو کتاب برای برنامهنویسان C است: Fundamental C: Getting Closer To The Machine و Applying C For the IoT With Linux، و همچنین چهار کتاب دربارهٔ استفاده از رزبری پای در بستر اینترنت اشیا — دو تا با C و دو تا با پایتون. او اکنون روی نسخهٔ پایتون همین کتاب برای پیکو کار میکند.
There is a new edition of this book: Programming The Raspberry Pi Pico/W In C, Second EditionThe Raspberry Pi Pico is a remarkable microcontroller. It has a power and sophistication that would have been unthinkable just a short time ago. For the sort of jobs it is ideal for, it has plenty of processing power and enough memory to make tasks that would have once required careful planning, relatively easy. Instead of struggling with the machine, you can now focus on getting a good implementation of your algorithms. To enjoy all of its power and sophistication there is no better language than C. It wastes none of the power and it gives you what you need to get at the new features. However, getting started with the Pico with C is no easy feat, which is what motivated this book about creating programs so that testing and debugging is easy.Programming the Raspberry Pi Pico in C uses the highly popular VS Code as its development environment and shows how to use a Raspberry Pi or a desktop PC running Windows as your development machine. The purpose of the book is to reveal what you can do with the Pico's GPIO lines together with widely used sensors, servos and motors and ADCs. After covering the GPIO, outputs and inputs, events and interrupts, it gives you hands-on experience of PWM (Pulse Width Modulation), the SPI bus, the I2C bus and the 1-Wire bus.One of the key advantages of the Pico is its PIO (Programmable I/O) and while this is an advanced feature it is included in this book. After finding out how the PIO works, we apply it to writing a PIO program for the DHT22 and the 1-Wire bus. One current drawback of the Pico it is that it doesn’t have a network connection. To solve this problem there is a chapter on using the low-cost ESP8266 as a WiFi client and web server. The two devices together make the Pico a true IoT device.Harry Fairhead has a hardware background and, having worked with microprocessors and electronics in general, for many years, he is an enthusiastic proponent of the IoT and embedded computing. He is the author of two books intended for C programmers, Fundamental C: Getting Closer To The Machine and Applying C For the IoT With Linux and four books on the using the Raspberry Pi in an IoT context, two using C and two using Python. He is now working on a Python version of this book for the Pico.