Practical Raspberry Pi (Paperback)

Brendan Horan

  • 出版商: Apress
  • 出版日期: 2013-03-29
  • 定價: $1,298
  • 售價: 6.0$779
  • 語言: 英文
  • 頁數: 272
  • 裝訂: Paperback
  • ISBN: 1430249714
  • ISBN-13: 9781430249719
  • 相關分類: Raspberry Pi
  • 立即出貨(限量) (庫存=4)

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

商品描述

Practical Raspberry Pi takes you quickly through the hardware and software basics of the Raspberry Pi. Author Brendan Horan then gets you started on a series of fun and practical projects, including a simple temperature sensor, a media center, a real-time clock, and even a security monitoring device, all of which require minimal programming experience.



Along with these projects, you'll learn all about the Raspberry Pi hardware, including how it can be so powerful and still so small and inexpensive, why it's so suitable as a video player, and how you can customize it for different tasks, including running different operating systems on it, including Android and RISC OS.



The Raspberry Pi is an inexpensive but relatively powerful little computer. It was designed to get kids interested in computing and programming, but it's also a great platform for hardware hackery. The projects in this book will get you deep into the hardware to show you what the Raspberry Pi can really do.

What you’ll learn

  • An overview of Raspberry Pi hardware
  • How to get your Pi up and running with Linux
  • How to use your Pi for sensing temperature and driving a simple character LCD
  • How to create a media player with your Raspberry Pi
  • How to use your Pi as a serial console server
  • How to set up your Pi to be a security monitoring device 
  • Other operating systems for your Pi, including Gentoo, Android, and RISC OS 

Who this book is for

Electronics enthusiasts who want to try out the Raspberry Pi, Linux fans who want to create useful projects with the Pi, or anyone interested in learning more about computing, electronics, and networking with this inexpensive and fun little computer.

Table of Contents

Introduction 

Power and power sources

Electronics overview

Tools you'll need



Chapter 1: Raspberry Pi Hardware

Inputs and Outputs

Overview of the ARM11 CPU

Overview of the Broadcom VideoCore IV GPU

Headers and pin out schematics

Notes on unusable headers



Chapter 2: Software Overview and Installing Linux

Why hard-float vs. soft-float is important

Installing Fedora

Optimizing Fedora to run from the SD



Chapter 3: Using GPIO: A Simple Temperature Sensor

Overview and warnings about Pi's GPIO

Connecting the sensor

Writing the code to read the temperature



Chapter 4: Driving a Simple Character LCD

Using an LCD controller and GPIO

Writing to and controlling the LCD



Chapter 5: Security Monitoring Device


Chapter 6: Cross-compiling Applications for the Pi

Why cross-compiling is a good idea

Setting up a cross-compile environment on your desktop

GCC tips and tricks




Chapter 7: Media Center with Raspberry Pi

Installing XBMC

Setting up HDMI audio and video



Chapter 8: Building a Real-time Clock

Add an independent RTC to your Raspberry Pi



Chapter 9: Embedded, IP-enabled Serial Console Server

Accessing the Pi's UART and building a line-level converter

Linux serial port server set-up



Chapter 10: Appliance Automation

Mains voltage warnings

Building the hardware

Writing the code to turn the appliance on and off



Chapter 11: Other Operating Systems for the Pi

Android

RISC OS

Plan9

Gentoo





























商品描述(中文翻譯)

《實用的樹莓派》快速帶您了解樹莓派的硬體和軟體基礎。作者Brendan Horan隨後將帶您開始進行一系列有趣且實用的專案,包括一個簡單的溫度感測器、一個媒體中心、一個實時時鐘,甚至還有一個安全監控裝置,所有這些專案都只需要很少的編程經驗。

除了這些專案,您還將學習有關樹莓派硬體的所有知識,包括它如何如此強大卻又如此小巧和便宜,為什麼它非常適合作為視頻播放器,以及如何根據不同的任務自定義它,包括在上面運行不同的操作系統,如Android和RISC OS。

樹莓派是一台價格便宜但相對強大的小型電腦。它的設計初衷是讓孩子們對計算和編程感興趣,但它也是一個非常適合進行硬體改造的平台。本書中的專案將深入介紹樹莓派的硬體,展示它的真正潛力。

《本書的內容》
- 樹莓派硬體概述
- 如何使用Linux啟動和運行您的樹莓派
- 如何使用樹莓派感測溫度並驅動簡單的字符LCD
- 如何使用樹莓派創建媒體播放器
- 如何將樹莓派用作串行控制台伺服器
- 如何設置樹莓派作為安全監控裝置
- 樹莓派的其他操作系統,包括Gentoo、Android和RISC OS

《本書適合對象》
- 對樹莓派感興趣的電子愛好者
- 希望使用樹莓派創建有用專案的Linux愛好者
- 對計算、電子和網絡有興趣的任何人,並希望使用這台價格便宜且有趣的小型電腦進一步學習

《目錄》
- 引言
- 電源和電源來源
- 電子概述
- 您需要的工具
- 第1章:樹莓派硬體
- 輸入和輸出
- ARM11 CPU概述
- Broadcom VideoCore IV GPU概述
- 標頭和引腳連接圖
- 關於無法使用的標頭的注意事項
- 第2章:軟體概述和安裝Linux
- 硬浮點和軟浮點的重要性
- 安裝Fedora
- 優化Fedora以從SD卡運行
- 第3章:使用GPIO:簡單的溫度感測器
- 樹莓派GPIO的概述和注意事項
- 連接感測器
- 編寫讀取溫度的程式碼
- 第4章:驅動簡單的字符LCD
- 使用LCD控制器和GPIO
- 寫入和控制LCD
- 第5章:安全監控裝置
- 第6章:為樹莓派交叉編譯應用程式
- 交叉編譯的好處
- 在桌面上設置交叉編譯環境
- GCC技巧和技巧
- 第7章:樹莓派媒體中心
- 安裝XBMC
- 設置HDMI音頻和視頻
- 第8章:建立實時時鐘
- 將獨立的RTC添加到您的樹莓派
- 第9章:嵌入式、IP-enabled串行控制台伺服器
- 存取樹莓派的UART並構建線路電平轉換器
- 設置Linux串行埠伺服器
- 第10章:家電自動化
- 交流電壓警告
- 構建硬體
- 編寫開關家電的程式碼
- 第11章:樹莓派的其他操作系統
- Android
- RISC OS
- 計劃