Creative DIY Microcontroller Projects with TinyGo and WebAssembly: A practical guide to building embedded applications for low-powered devices, IoT, and home automation

دانلود کتاب Creative DIY Microcontroller Projects with TinyGo and WebAssembly: A practical guide to building embedded applications for low-powered devices, IoT, and home automation

33000 تومان موجود

کتاب پروژه های میکروکنترلر خلاق DIY با TinyGo و WebAssembly: راهنمای عملی برای ساخت برنامه های کاربردی تعبیه شده برای دستگاه های کم مصرف، اینترنت اشیا و اتوماسیون خانگی نسخه زبان اصلی

دانلود کتاب پروژه های میکروکنترلر خلاق DIY با TinyGo و WebAssembly: راهنمای عملی برای ساخت برنامه های کاربردی تعبیه شده برای دستگاه های کم مصرف، اینترنت اشیا و اتوماسیون خانگی بعد از پرداخت مقدور خواهد بود
توضیحات کتاب در بخش جزئیات آمده است و می توانید موارد را مشاهده فرمایید


در صورت ایرانی بودن نویسنده امکان دانلود وجود ندارد و مبلغ عودت داده خواهد شد

این کتاب نسخه اصلی می باشد و به زبان فارسی نیست.


امتیاز شما به این کتاب (حداقل 1 و حداکثر 5):

امتیاز کاربران به این کتاب:        تعداد رای دهنده ها: 11


توضیحاتی در مورد کتاب Creative DIY Microcontroller Projects with TinyGo and WebAssembly: A practical guide to building embedded applications for low-powered devices, IoT, and home automation

نام کتاب : Creative DIY Microcontroller Projects with TinyGo and WebAssembly: A practical guide to building embedded applications for low-powered devices, IoT, and home automation
عنوان ترجمه شده به فارسی : پروژه های میکروکنترلر خلاق DIY با TinyGo و WebAssembly: راهنمای عملی برای ساخت برنامه های کاربردی تعبیه شده برای دستگاه های کم مصرف، اینترنت اشیا و اتوماسیون خانگی
سری :
نویسندگان :
ناشر : Packt Publishing
سال نشر : 2021
تعداد صفحات : 322
ISBN (شابک) : 1800560206 , 9781800560208
زبان کتاب : English
فرمت کتاب : pdf
حجم کتاب : 19 مگابایت



بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.

توضیحاتی در مورد کتاب :




برنامه‌نویسی جاسازی شده را کاوش کنید و با پروژه‌های تعبیه‌شده در دنیای واقعی مرتبط با اینترنت اشیا، دستگاه‌های کم مصرف و سایر سیستم‌های پیچیده با استفاده از TinyGo و WebAssembly آشنا شوید

Key ویژگی ها

  • ساخت برنامه های جاسازی شده خلاقانه با TinyGo با استفاده از دستگاه ها و میکروکنترلرهای کم مصرف
  • درک کاربردی بودن یکپارچه سازی سخت افزار و سنسورها در حین برنامه نویسی آنها با استفاده از TinyGo
  • <. li>از TinyGo در مرورگرهای مدرن برای نمایش آمار برنامه های جاسازی شده در داشبورد WebAssembly استفاده کنید

توضیحات کتاب

در حالی که اغلب به عنوان یک زبان برنامه نویسی سریع و فشرده در نظر گرفته می شود، Go معمولاً بزرگ ایجاد می کند. فایل های اجرایی که اجرای آنها بر روی دستگاه های با حافظه کم یا کم مصرف مانند میکروکنترلرها یا اینترنت اشیا دشوار است. TinyGo یک کامپایلر جدید است که به توسعه دهندگان اجازه می دهد برنامه های خود را برای چنین دستگاه های کم مصرف کامپایل کنند. از آنجایی که TinyGo از تمام ویژگی‌های استاندارد زبان برنامه‌نویسی Go پشتیبانی می‌کند، نیازی نیست که کد را تغییر دهید تا روی میکروکنترلر قرار بگیرد.

این کتاب یک راهنمای عملی است مملو از پروژه‌های جالب DIY به شما نشان می دهد که چگونه برنامه های کاربردی تعبیه شده بسازید. شما یاد خواهید گرفت که چگونه سنسورها را برنامه ریزی کنید و با میکروکنترلرهایی مانند Arduino UNO و Arduino Nano IoT 33 کار کنید. فصل های بعدی به شما نشان می دهد که چگونه چندین پروژه جاسازی شده در دنیای واقعی را با استفاده از انواع دستگاه های محبوب مانند LED ها، 7 سگمنت توسعه دهید. نمایشگرها و تایمرها در مرحله بعد، برای ساختن نمونه های اولیه تعاملی مانند سیستم چراغ راهنمایی، تایمر شستشوی دست بدون لمس و موارد دیگر پیشرفت خواهید کرد. با پیشروی، یک نمونه اولیه IoT از یک سیستم هشدار آب و هوا ایجاد می‌کنید و آن هشدارها را در داشبورد TinyGo WASM نمایش می‌دهید. در نهایت، شما یک پروژه اتوماسیون خانگی خواهید ساخت که آمار را بر روی داشبورد TinyGo WASM نمایش می‌دهد.

در پایان این کتاب میکروکنترلر، شما به مهارت‌هایی که برای ساختن پروژه‌های جاسازی شده در دنیای واقعی با استفاده از آن نیاز دارید مجهز خواهید شد. قدرت TinyGo.

آنچه یاد خواهید گرفت

  • در حین برنامه نویسی دستگاه های تعبیه شده خود، انواع ویژگی ها و قابلیت های TinyGo را کشف کنید
  • نحوه استفاده را کاوش کنید نمایش دستگاه‌ها برای ارائه داده‌های خود
  • روی نحوه تعامل TinyGo با چندین حسگر برای سنجش دما، رطوبت و فشار تمرکز کنید
  • دستگاه‌های سخت‌افزاری برنامه‌ای مانند Arduino Uno و Arduino Nano IoT 33 با استفاده از TinyGo
  • درک نحوه کار TinyGo با پروتکل های شبکه GPIO، ADC، I2C، SPI، و MQTT
  • اولین نمونه های اولیه TinyGo IoT و اتوماسیون خانگی خود را بسازید
  • ادغام کنید TinyGo در مرورگرهای مدرن با استفاده از WebAssembly

این کتاب برای چه کسی است

اگر توسعه دهنده Go هستید که می خواهید دستگاه ها و سخت افزارهای کم مصرف مانند Arduino UNO و برنامه نویسی کنید. Arduino Nano IoT 33، یا اگر یک توسعه دهنده Go هستید که می خواهید دانش خود را در استفاده از Go با WebAssembly در حین برنامه نویسی Go در مرورگر گسترش دهید، این کتاب برای شما مناسب است. برنامه نویسان سرگرمی که علاقه مند به یادگیری بیشتر در مورد TinyGo با کار کردن در پروژه های DIY پوشش داده شده در این کتاب هستند نیز این راهنمای عملی را مفید خواهند یافت.

فهرست محتوا

  1. شروع با TinyGo
  2. ساخت سیستم کنترل چراغ راهنمایی
  3. ساخت قفل ایمنی با استفاده از صفحه کلید
  4. ساخت سیستم آبیاری گیاهان
  5. ساخت تایمر شستشوی دستی بدون لمس
  6. ساختن نمایشگر برای برقراری ارتباط با استفاده از رابط های I2C و SPI
  7. نمایش هشدارهای آب و هوا در داشبورد TinyGo Wasm
  8. خودکارسازی و نظارت بر خانه شما از طریق داشبورد TinyGo Wasm
  9. ضمیمه – \"Going\" Ahead

فهرست مطالب :


Cover Title Page Copyright and credits Contributors Table of Contents Preface Chapter 1: Getting Started with TinyGo Technical requirements Understanding what TinyGo is How TinyGo works Comparing TinyGo to Go Setting up TinyGo Installing on Linux Installing on Windows Installing on macOS Installing on Docker Understanding IDE integration VS Code integration General IDE integration Setting up Goland Integrating any editor The Arduino UNO Getting to know the technical specifications Exploring pinout Checking out the Hello World of Things Getting the requirements ready Preparing the project Programming the microcontroller Flashing the program Using TinyGo Playground Summary Questions Chapter 2: Building a Traffic Lights Control System Technical requirements Lighting an external LED Lighting an LED when a button is pressed Building the circuit Programming the logic Building traffic lights Building the circuit Creating a folder structure Writing the logic Building traffic lights with pedestrian lights Assembling the circuit Setting up the project structure Writing the logic Summary Questions Further reading Chapter 3: Building a Safety Lock Using a Keypad Technical requirements Writing to the serial port Monitoring the serial port Monitoring input from a keypad Building the circuit Understanding the workings of a 4x4 keypad Writing the driver Driver variables Configure GetIndices GetKey main Finding drivers for TinyGo Contributing drivers to TinyGo Controlling a servomotor Understanding SG90 servomotors Building the circuit Writing the servo control logic Building a safety lock using a keypad Building the circuit Writing the logic Summary Questions Chapter 4: Building a Plant Watering System Technical requirements Reading soil moisture sensor data Assembling the circuit Finding thresholds Understanding ADC in TinyGo Writing a library for the sensor Testing the library Reading water level sensor data Writing a water level sensor library Controlling a buzzer Writing a buzzer library Controlling a pump Working with relays Writing a pump library Watering your plants Summary Questions References Chapter 5: Building a Touchless Handwash Timer Technical requirements Introducing the Arduino Nano 33 IoT Installing Bossa Learning to measure distances Understanding the HC-SR04 sensor Assembling the circuit Writing a library Unit testing in TinyGo Writing an example program for the library Using 4-digit 7-segment displays Using a MAX7219 Writing a library to control the MAX7219 Writing a library to control the hs42561k display Putting it all together Summary Questions Chapter 6: Building Displays for Communication using I2C and SPI Interfaces Technical requirements Exploring the TinyGo drivers Displaying text on an HD44780 16x2 LCD display Building the circuit Understanding I2C Writing the code Displaying user input on the display Building a CLI Understanding SPI Displaying a simple game Building the circuit Using an ST7735 display Developing a game Summary Questions Chapter 7: Displaying Weather Alerts on the TinyGo Wasm Dashboard Technical requirements Building a weather station Assembling the circuit Programming the weather station Sending MQTT messages to a broker Implementing the Wi-Fi package Implementing an MQTT client abstraction layer Implementing the weather station Introducing Wasm Displaying sensor data and weather alerts on a Wasm page Serving the application Implementing the weather app Summary Questions Chapter 8: Automating and Monitoring Your Home through the TinyGo Wasm Dashboard Technical requirements Building a home automation dashboard Creating a reusable MQTT component Setting up the Wasm instantiation code Creating the HTML template Implementing the login view logic Implementing the dashboard component Implementing the main logic Serving the app Building the home automation client Setting up the circuit Implementing the logic Requesting data from the microcontroller Checking other implementation ideas Summary Questions Appendix – "Go"ing Ahead Blocking a goroutine Reading from a channel A select statement Sleeping is a blocking call Finding heap allocations Assessments Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Afterword Why subscribe? About Packt Other Books You May Enjoy Index

توضیحاتی در مورد کتاب به زبان اصلی :


Explore embedded programming, and get hands-on with real-world embedded projects relating to IoT, low-powered devices, and other complex systems using TinyGo and WebAssembly

Key Features

  • Build creative embedded apps with TinyGo using low-powered devices and microcontrollers
  • Understand the practicality involved in integrating hardware and sensors while programming them using TinyGo
  • Use TinyGo in modern browsers to display embedded applications' statistics on WebAssembly dashboards

Book Description

While often considered a fast and compact programming language, Go usually creates large executables that are difficult to run on low-memory or low-powered devices such as microcontrollers or IoT. TinyGo is a new compiler that allows developers to compile their programs for such low-powered devices. As TinyGo supports all the standard features of the Go programming language, you won't have to tweak the code to fit on the microcontroller.

This book is a hands-on guide packed full of interesting DIY projects that will show you how to build embedded applications. You will learn how to program sensors and work with microcontrollers such as Arduino UNO and Arduino Nano IoT 33. The chapters that follow will show you how to develop multiple real-world embedded projects using a variety of popular devices such as LEDs, 7-segment displays, and timers. Next, you will progress to build interactive prototypes such as a traffic lights system, touchless hand wash timer, and more. As you advance, you'll create an IoT prototype of a weather alert system and display those alerts on the TinyGo WASM dashboard. Finally, you will build a home automation project that displays stats on the TinyGo WASM dashboard.

By the end of this microcontroller book, you will be equipped with the skills you need to build real-world embedded projects using the power of TinyGo.

What you will learn

  • Discover a variety of TinyGo features and capabilities while programming your embedded devices
  • Explore how to use display devices to present your data
  • Focus on how to make TinyGo interact with multiple sensors for sensing temperature, humidity, and pressure
  • Program hardware devices such as Arduino Uno and Arduino Nano IoT 33 using TinyGo
  • Understand how TinyGo works with GPIO, ADC, I2C, SPI, and MQTT network protocols
  • Build your first TinyGo IoT and home automation prototypes
  • Integrate TinyGo in modern browsers using WebAssembly

Who this book is for

If you are a Go developer who wants to program low-powered devices and hardware such as Arduino UNO and Arduino Nano IoT 33, or if you are a Go developer who wants to extend your knowledge of using Go with WebAssembly while programming Go in the browser, then this book is for you. Go hobbyist programmers who are interested in learning more about TinyGo by working through the DIY projects covered in the book will also find this hands-on guide useful.

Table of Contents

  1. Getting Started with TinyGo
  2. Building a Traffic Lights Control System
  3. Building a Safety Lock Using a Keypad
  4. Building a Plant Watering System
  5. Building a Touchless Handwash Timer
  6. Building Displays for Communication Using I2C and SPI Interfaces
  7. Displaying Weather Alerts on the TinyGo Wasm Dashboard
  8. Automating and Monitoring Your Home through a TinyGo Wasm Dashboard
  9. Appendix – "Going" Ahead



پست ها تصادفی