Raspberry Pi Computer Architecture Essentials

Andrew K. Dennis

  • 出版商: Packt Publishing
  • 出版日期: 2016-03-22
  • 售價: $1,680
  • 貴賓價: 9.5$1,596
  • 語言: 英文
  • 頁數: 232
  • 裝訂: Paperback
  • ISBN: 1784397970
  • ISBN-13: 9781784397975
  • 相關分類: Raspberry Pi
  • 下單後立即進貨 (約3~4週)

商品描述

Key Features

  • Explore Raspberry Pi 2's hardware through the Assembly, C/C++, and Python programming languages
  • Experiment with connecting electronics up to your Raspberry Pi 2 and interacting with them through software
  • Learn about the Raspberry Pi 2 architecture and Raspbian operating system through innovative projects

Book Description

With the release of the Raspberry Pi 2, a new series of the popular compact computer is available for you to build cheap, exciting projects and learn about programming.

In this book, we explore Raspberry Pi 2's hardware through a number of projects in a variety of programming languages. We will start by exploring the various hardware components in detail, which will provide a base for the programming projects and guide you through setting up the tools for Assembler, C/C++, and Python. We will then learn how to write multi-threaded applications and Raspberry Pi 2's multi-core processor. Moving on, you'll get hands on by expanding the storage options of the Raspberry Pi beyond the SD card and interacting with the graphics hardware. Furthermore, you will be introduced to the basics of sound programming while expanding upon your knowledge of Python to build a web server. Finally, you will learn to interact with the third-party microcontrollers.

From writing your first Assembly Language application to programming graphics, this title guides you through the essentials.

What you will learn

  • Set up your Raspberry Pi 2 and learn about its hardware
  • Write basic programs in Assembly Language to learn about the ARM architecture
  • Use C and C++ to interact with electronic components
  • Find out about the Python language and how to use it to build web applications
  • Interact with third-party microcontrollers
  • Experiment with graphics and audio programming
  • Expand Raspberry Pi 2's storage mechanism by using external devices
  • Discover Raspberry Pi 2's GPIO pins and how to interact with them

About the Author

Andrew K. Dennis is the manager of professional services software development at Prometheus Research. Prometheus Research is a leading provider of integrated data management for research and is the home of HTSQL, an open source navigational query language for RDBMS.

Andrew has a diploma in computing, a BSc in software engineering, and is currently studying for a second BSc in creative computing in his spare time.

He has over 12 years of experience working in the software industry in the UK, Canada, and the USA. This experience includes e-learning courseware development, custom CMS and LMS development, SCORM consultancy, web development in a variety of languages, open source application development, blogging about the integration of web technologies with electronics for home automation, and punching lots of Cat5 cables.

His interests include web development, e-learning, 3D printing, Linux, the Raspberry Pi and Arduino, open source projects, home automation and the use of web technology in this sphere, amateur electronics, home networking, and software engineering.

Table of Contents

  1. Introduction to the Raspberry Pi's Architecture and Setup
  2. Programming on Raspbian
  3. Low-Level Development with Assembly Language
  4. Multithreaded Applications with C/C++
  5. Expanding on Storage Options
  6. Low-Level Graphics Programming
  7. Exploring the Raspberry Pi's GPIO Pins
  8. Exploring Sound with the Raspberry Pi 2
  9. Building a Web Server
  10. Integrating with Third-Party Microcontrollers
  11. Final Project

商品描述(中文翻譯)

主要特點



  • 透過組合語言、C/C++和Python程式語言探索Raspberry Pi 2的硬體

  • 透過軟體與Raspberry Pi 2連接電子元件並與之互動

  • 透過創新專案了解Raspberry Pi 2的架構和Raspbian作業系統

書籍描述


隨著Raspberry Pi 2的推出,你可以建立便宜且令人興奮的專案,並學習程式設計。


在這本書中,我們將透過多種程式語言的專案來探索Raspberry Pi 2的硬體。我們將首先詳細探索各種硬體元件,這將為程式設計專案提供基礎,並引導你設置組合語言、C/C++和Python的工具。然後,我們將學習如何撰寫多執行緒應用程式和Raspberry Pi 2的多核心處理器。接著,你將透過擴展Raspberry Pi的儲存選項,超越SD卡,並與圖形硬體互動。此外,你將介紹聲音程式設計的基礎知識,同時擴展你對Python的了解,以建立一個網頁伺服器。最後,你將學習如何與第三方微控制器互動。


從撰寫第一個組合語言應用程式到程式設計圖形,本書將引導你掌握基礎知識。

你將學到什麼



  • 設置你的Raspberry Pi 2並了解其硬體

  • 使用組合語言撰寫基本程式,了解ARM架構

  • 使用C和C++與電子元件互動

  • 了解Python語言以及如何使用它建立網頁應用程式

  • 與第三方微控制器互動

  • 實驗圖形和音訊程式設計

  • 透過外部設備擴展Raspberry Pi 2的儲存機制

  • 探索Raspberry Pi 2的GPIO腳位以及如何與之互動

關於作者


Andrew K. Dennis是Prometheus Research的專業服務軟體開發經理。Prometheus Research是一家領先的研究整合資料管理提供商,也是HTSQL的開源導航式查詢語言的開發機構。


Andrew擁有計算機文憑、軟體工程學士學位,並正在業餘時間攻讀第二個創意計算學士學位。


他在英國、加拿大和美國的軟體行業擁有超過12年的工作經驗。這些經驗包括電子學習課程開發、定制CMS和LMS開發、SCORM諮詢、多種語言的網頁開發、開源應用程式開發、關於將網頁技術與家庭自動化電子設備整合的部落格,以及大量的Cat5電纜連接。


他的興趣包括網頁開發、電子學習、3D列印、Linux、Raspberry Pi和Arduino、開源專案、家庭自動化以及在這個領域中使用網頁技術、業餘電子學、家庭網絡和軟體工程。

目錄



  1. 介紹Raspberry Pi的架構和設置

  2. Raspbian上的程式設計

  3. 使用組合語言進行低階開發

  4. 使用C/C++撰寫多執行緒應用程式

  5. 擴展儲存選項

  6. 低階圖形程式設計

  7. 探索Raspberry Pi的GPIO腳位

  8. 使用Raspberry Pi 2探索音訊

  9. 建立網頁伺服器

  10. 與第三方微控制器整合

  11. 最終專案