Programming the BeagleBone

Yogesh Chavan

  • 出版商: Packt Publishing
  • 出版日期: 2016-01-29
  • 售價: $1,440
  • 貴賓價: 9.5$1,368
  • 語言: 英文
  • 頁數: 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


  • Quickly develop electronics projects that interact with Internet applications using JavaScript and Python

  • Learn about electronics components such as sensors and motors, and how to communicate with them by writing programs

  • A step-by-step guide to explore the exciting world of BeagleBone-from connecting BeagleBone to doing electronics projects and creating IoT applications


  • 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庫處理與UART、I2C和SPI等BUS支持模塊之間的數據
    - 使用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所需的基礎知識開始,本書介紹了通過簡單的程序與各種電子元件進行接口。然後深入解釋了與這些元件相關的電子理論,然後在程序中使用它們。最後,本書將幫助您創建一些真實的物聯網應用程序。