Practical Raspberry Pi

Book description

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

    1. Title Page
    2. Dedication
    3. Contents at a Glance
    4. Contents
    5. About the Author
    6. About the Technical Reviewers
    7. Acknowledgments
    8. Introduction
    9. CHAPTER 1: Hardware Overview
      1. Pi In, Pi Out
      2. Pi Brains
      3. Pi Eyes
      4. What Happens at Power On?
      5. Pi on Your Face
      6. Summary
    10. CHAPTER 2: Installing Fedora
      1. Dissecting the Image
      2. Booting Your Pi
      3. Configure and Look Around
      4. Updating the Firmware and Operating System
      5. Cutting Out the Fat
      6. I/O Tuning
      7. Lighter Applications and Tools
      8. Summary
    11. CHAPTER 3: A Simple Temperature Sensor
      1. Breadboards and GPIO Pins
      2. Building the Sensors
      3. Scripting the Sensors
      4. Summary
    12. CHAPTER 4: Driving a Simple Character LCD
      1. Pulling Apart the HD44780 and the Clones
      2. Preparing the Hardware
      3. Software and LCD Clients
      4. Server Configuration
      5. Summary
    13. CHAPTER 5: Security Monitoring Device
      1. Introduction to the PIR
      2. Introducing the Pressure Mat
      3. Assembling the Devices
      4. Bring Forth the WEBrick
      5. Summary
    14. CHAPTER 6: Cross Compile Environment
      1. Introducing Cross Compiling
      2. The Host
      3. Cross Compiling with Dependencies
      4. Optimization
      5. Summary
    15. CHAPTER 7: Mini Media Center
      1. Why OpenELEC?
      2. Installing OpenELEC
      3. Decode Licenses
      4. The First Boot
      5. Browser Access
      6. Remote Control Phone
      7. Summary
    16. CHAPTER 8: Adding an RTC
      1. The Beginning of the RTC in PCs
      2. The DS1338 RTC
      3. The Crystal
      4. Parts List and Assembly
      5. The Soft Side
      6. Summary
    17. CHAPTER 9: Serial Server
      1. What Exactly Is a Serial Console Anyway?
      2. Serial Port, What Serial Port?
      3. UARTs and Logic Shifters
      4. Serial No Console
      5. Ser2net
      6. Summary
    18. CHAPTER 10: Controlling a Mains Device
      1. Alternating Current
      2. Putting the Circuit Together
      3. The Soft Side
      4. Summary
    19. CHAPTER 11: Other Operating Systems
      1. Android
      2. RISC OS
      3. Plan 9
      4. Gentoo
      5. Summary
    20. Index

    Product information

    • Title: Practical Raspberry Pi
    • Author(s):
    • Release date: March 2013
    • Publisher(s): Apress
    • ISBN: 9781430249719