Programming the BeagleBone
暫譯: BeagleBone 編程指南
Yogesh Chavan
- 出版商: Packt Publishing
- 出版日期: 2016-01-29
- 售價: $1,470
- 貴賓價: 9.5 折 $1,397
- 語言: 英文
- 頁數: 180
- 裝訂: Paperback
- ISBN: 1784390011
- ISBN-13: 9781784390013
海外代購書籍(需單獨結帳)
商品描述
Be the chief of BeagleBone programming by doing simple electronics and Internet of Things projects
About This Book
Who This Book Is For
If you want to learn programming on embedded systems with BeagleBone by doing simple electronics projects, this book is for you. This book is also helpful to BeagleBone owners who want to quickly implement small-scale home automation solutions. It is assumed that you have familiarity with C and Python programming. Some familiarity with electronics is helpful but not essential.
What You Will Learn
- Connect your BeagleBone to a computer in different ways and get the Cloud9 IDE running to quick-start programming on the BeagleBone
- Get to know about BeagleBone extension pins such as GPIO and how to connect various electronics components with BeagleBone
- Read and write to various electronics components such as LED, Push-button, sensors, and motors
- Grasp in-depth theory on Analog, PWM, and BUS programming and the electronics components used in programs
- Handle data to and from various BUS supporting modules such as UART, I2C, and SPI using the Adafruit BBIO Python library
- Write real-life IoT applications in JavaScript and Python such as shooting an e-mail on overheat and controlling a servo motor remotely
- Make use of online free cloud services to store and analyze sensor data collected on the BeagleBone
- Discover what else can be done using the BeagleBone
- Get to grips with embedded system BUS communication
In Detail
The whole world is moving from desktop computers to smartphones and embedded systems. We are moving towards utilizing Internet of Things (IoT). An exponential rise in the demand for embedded systems and programming in the last few years is driving programmers to use embedded development boards such as Beaglebone.
BeagleBone is an ultra-small, cost-effective computer that comes with a powerful hardware. It runs a full-fledged Debian Linux OS and provides numerous electronics solutions. BeagleBone is open source and comes with an Ethernet port, which allows you to deploy IoT projects without any additions to the board. It provides plenty of GPIO, Anlaog pins, and UART, I2C, SPI pins which makes it the right choice to perform electronics projects. This gives you all the benefits of Linux kernel such as multitasking, multiusers, and extensive device driver support. This allows you to do programming in many languages including high-level languages such as JavaScript and Python.
This book aims to exploit the hardware and software capabilities of BeagleBone to create real-life electronics and IoT applications quickly. It is divided into two parts. The first part covers JavaScript programs. The second part provides electronics projects and IoT applications in Python.
First, you will learn to use BeagleBone as tool to write useful applications on embedded systems. Starting with the basics needed to set up BeagleBone and the Cloud9 IDE, this book covers interfacing with various electronics components via simple programs. The electronics theory related to these components is then explained in depth before you use them in a program. Finally, the book helps you create some real-life IoT applications.
商品描述(中文翻譯)
**成為 BeagleBone 程式設計的首席,透過簡單的電子和物聯網專案來實現**
## 本書介紹
- 快速開發與網路應用互動的電子專案,使用 JavaScript 和 Python
- 了解電子元件,如感測器和馬達,並學習如何透過編寫程式與它們進行通訊
- 一步一步的指南,探索 BeagleBone 的精彩世界——從連接 BeagleBone 到進行電子專案和創建物聯網應用
## 本書適合誰
如果你想透過簡單的電子專案學習在 BeagleBone 上的嵌入式系統程式設計,那麼這本書適合你。本書對於希望快速實現小型家庭自動化解決方案的 BeagleBone 擁有者也很有幫助。假設你對 C 和 Python 程式設計有一定的熟悉度,對電子學的基本了解會有幫助,但不是必需的。
## 你將學到什麼
- 以不同方式將 BeagleBone 連接到電腦,並啟動 Cloud9 IDE 以快速開始在 BeagleBone 上的程式設計
- 了解 BeagleBone 的擴展引腳,如 GPIO,並學習如何將各種電子元件連接到 BeagleBone
- 讀取和寫入各種電子元件,如 LED、按鈕、感測器和馬達
- 深入掌握模擬、PWM 和 BUS 程式設計的理論,以及在程式中使用的電子元件
- 使用 Adafruit BBIO Python 函式庫處理來自各種支持的 BUS 模組(如 UART、I2C 和 SPI)的數據
- 使用 JavaScript 和 Python 編寫實際的物聯網應用,例如在過熱時發送電子郵件和遠程控制伺服馬達
- 利用線上免費雲服務存儲和分析在 BeagleBone 上收集的感測器數據
- 探索使用 BeagleBone 還能做什麼
- 熟悉嵌入式系統的 BUS 通訊
## 詳細內容
整個世界正從桌面電腦轉向智能手機和嵌入式系統。我們正在朝著利用物聯網 (IoT) 的方向發展。近幾年來,對嵌入式系統和程式設計的需求呈指數增長,這驅使程式設計師使用像 BeagleBone 這樣的嵌入式開發板。
BeagleBone 是一款超小型、具成本效益的計算機,配備強大的硬體。它運行完整的 Debian Linux 作業系統,並提供眾多電子解決方案。BeagleBone 是開源的,並配備以太網端口,這使你能夠在不對開發板進行任何附加的情況下部署物聯網專案。它提供大量的 GPIO、模擬引腳以及 UART、I2C、SPI 引腳,使其成為執行電子專案的理想選擇。這使你能夠享受 Linux 核心的所有優勢,如多任務處理、多用戶和廣泛的設備驅動程式支持。這使你能夠使用多種語言進行程式設計,包括 JavaScript 和 Python 等高級語言。
本書旨在快速利用 BeagleBone 的硬體和軟體能力來創建實際的電子和物聯網應用。它分為兩個部分。第一部分涵蓋 JavaScript 程式。第二部分提供 Python 的電子專案和物聯網應用。
首先,你將學會如何使用 BeagleBone 作為工具,在嵌入式系統上編寫有用的應用程式。從設置 BeagleBone 和 Cloud9 IDE 所需的基本知識開始,本書涵蓋了通過簡單程式與各種電子元件的介面。然後,將深入解釋與這些元件相關的電子理論,然後再在程式中使用它們。最後,本書幫助你創建一些實際的物聯網應用。