Beginning Arduino Programming (Paperback)
暫譯: Arduino 程式設計入門 (平裝本)

Brian Evans

  • 出版商: Apress
  • 出版日期: 2011-10-11
  • 售價: $2,350
  • 貴賓價: 9.5$2,233
  • 語言: 英文
  • 頁數: 272
  • 裝訂: Paperback
  • ISBN: 1430237775
  • ISBN-13: 9781430237778
  • 相關分類: Arduino
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Beginning Arduino Programming provides a clear introduction to writing Arduino code, building your skills with Arduino through a series of well-designed hardware and software building blocks. Once you have read this book, you'll be ready to program Arduino in exactly the ways you want for your future projects.

Beginning Arduino Programming lets you discover new journeys with your Arduino board through programming. While everyone knows that Arduino is a platform for hardware hackers—be they engineers, artist or maker-enthusiasts—your Arduino board cannot function without code. This book will show you the fundamentals of programming and how to program your Arduino board to do the things you want it to do.

You'll learn from first principles the core Arduino programming language, examining how to program loops, variables, arrays, and functions. While these features are common to many languages, you'll also learn how they are used specifically for Arduino. Beginning Arduino Programming uses the sketching analogy, which means you'll find yourself writing snippets of code that do interesting things very quickly. You'll also learn how to code in a good, succinct Arduino style that other programmers will respect.

 
As you read Beginning Arduino Programming, you'll learn how to make your Arduino code talk directly to the chips and sensors on your boards, taking into account pulse width, timing and sensor characteristics, all under your control. You'll then be ready to discover the joys of the existing Arduino open source libraries, so you can benefit from the code that other people have already created, and even think about sharing your own Arduino code projects in the future.

 

What you’ll learn

  • Start programming quickly with Arduino sketches
  • Get up to speed with the Arduino programming language
  • Write code that interacts with devices such as sensors and motors
  • How to code around pulse widths, timing and sensor characteristics
  • Work with time delays in your Arduino coding projects
  • Write your own, new Arduino functions
  • Write concise and well-written code that other programmers will respect
  • Use existing Arduino libraries, and create new ones!

Who this book is for

This book is for all Arduino board users who want to learn to program the Arduino board, regardless of hardware version or which devices are connected to the board. You do not need to have programmed before, but if you have, then you'll learn how to apply core coding features in the Arduino context.

Table of Contents

  1. Getting Started
  2. Sketching in Code
  3. Working With Variables
  4. Making Decisions
  5. Digital Ins and Outs
  6. Analog in, Analog out
  7. Functions, Time, and Interrupts
  8. Arrays for Arduino
  9. Writing New Functions for Arduino
  10. Arduino Libraries
  11. Arduino Hardware 10
  12. Where to Go from Here?
  13. Appendix A: Common Circuits
  14. Appendix B: Arduino Math

商品描述(中文翻譯)

《開始 Arduino 程式設計》提供了一個清晰的介紹,幫助您撰寫 Arduino 代碼,通過一系列精心設計的硬體和軟體構建模塊來提升您的 Arduino 技能。閱讀完本書後,您將能夠以您希望的方式為未來的專案編寫 Arduino 程式。

《開始 Arduino 程式設計》讓您通過程式設計發現與 Arduino 板的新旅程。雖然每個人都知道 Arduino 是一個硬體黑客的平台——無論是工程師、藝術家還是創客愛好者——但您的 Arduino 板沒有代碼是無法運作的。本書將向您展示程式設計的基本原理,以及如何編寫代碼讓您的 Arduino 板執行您想要的操作。

您將從基本原則學習核心的 Arduino 程式語言,探討如何編寫迴圈、變數、陣列和函數。雖然這些特性在許多語言中都很常見,但您還將學習它們在 Arduino 中的具體用法。《開始 Arduino 程式設計》使用了草圖類比,這意味著您會發現自己能夠快速編寫出有趣的代碼片段。您還將學習如何以良好、簡潔的 Arduino 風格編寫代碼,讓其他程式設計師尊重。

在閱讀《開始 Arduino 程式設計》時,您將學會如何讓您的 Arduino 代碼直接與板上的晶片和感測器進行通訊,考慮到脈衝寬度、時序和感測器特性,所有這些都在您的控制之下。然後,您將準備好探索現有的 Arduino 開源庫的樂趣,這樣您就可以受益於其他人已經創建的代碼,甚至考慮在未來分享您自己的 Arduino 代碼專案。

您將學到的內容:
- 快速開始使用 Arduino 草圖進行程式設計
- 熟悉 Arduino 程式語言
- 編寫與感測器和馬達等設備互動的代碼
- 如何處理脈衝寬度、時序和感測器特性
- 在您的 Arduino 編碼專案中使用時間延遲
- 編寫您自己的新 Arduino 函數
- 編寫簡潔且優雅的代碼,讓其他程式設計師尊重
- 使用現有的 Arduino 庫,並創建新的庫!

本書適合對象:
本書適合所有希望學習如何編程 Arduino 板的使用者,無論硬體版本或連接到板上的設備。您不需要有程式設計經驗,但如果您有,您將學會如何在 Arduino 的上下文中應用核心編碼特性。

目錄:
1. 開始
2. 代碼中的草圖
3. 使用變數
4. 做出決策
5. 數位輸入與輸出
6. 類比輸入,類比輸出
7. 函數、時間與中斷
8. Arduino 的陣列
9. 為 Arduino 編寫新函數
10. Arduino 庫
11. Arduino 硬體
12. 接下來該怎麼辦?
附錄 A:常見電路
附錄 B:Arduino 數學