ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب 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: راهنمای عملی برای ساخت برنامه های کاربردی تعبیه شده برای دستگاه های کم مصرف، اینترنت اشیا و اتوماسیون خانگی

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

ویرایش:  
نویسندگان:   
سری:  
ISBN (شابک) : 1800560206, 9781800560208 
ناشر: Packt Publishing 
سال نشر: 2021 
تعداد صفحات: 322 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 19 مگابایت 

قیمت کتاب (تومان) : 39,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 8


در صورت تبدیل فایل کتاب Creative DIY Microcontroller Projects with TinyGo and WebAssembly: A practical guide to building embedded applications for low-powered devices, IoT, and home automation به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

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


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



برنامه‌نویسی جاسازی شده را کاوش کنید و با پروژه‌های تعبیه‌شده در دنیای واقعی مرتبط با اینترنت اشیا، دستگاه‌های کم مصرف و سایر سیستم‌های پیچیده با استفاده از 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

توضیحاتی درمورد کتاب به خارجی

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


فهرست مطالب

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




نظرات کاربران