Hacking Raspberry Pi®

Book description

DIY hardware hacking...easy as Pi ®!

Raspberry Pi is taking off like a rocket! You can use this amazing, dirt-cheap, credit card-sized computer to learn powerful hardware hacking techniques as you build incredibly creative and useful projects! This complete, full-color guide requires absolutely no experience with either hardware hacking or computer programming. Colorful photos guide you through each project, and the step-by-step instructions are stunningly clear and easy!

1. Start with the absolute basics:

  • Discover why millions of people are so passionate about the Pi!

  • Tour the hardware, including storage, connections, and networking

  • Install and run Raspbian, Raspberry Pi’s Linux-based operating system

  • Manage devices and configuration files

  • Network Raspberry Pi and add Wi-Fi

  • Program Raspberry Pi using Python, Scratch, XHTML, PHP, and MySQL

  • 2. Next, build all these great projects:

  • Media Center

  • Retro Console Video Game Station

  • Minecraft Server

  • Web Server

  • Portable Webcam

  • Security & Privacy Device

  • 3. Then, master all these cutting-edge techniques:

  • Overclock Raspberry Pi for better performance

  • Link Raspberry Pi to the Arduino and Arduino clones, including the AlaMode and the Gertboard

  • Use the Pi to build electronics prototypes using a breadboard

  • Table of contents

    1. About This eBook
    2. Title Page
    3. Copyright Page
    4. Contents at a Glance
    5. Table of Contents
    6. About the Author
    7. Dedication
    8. Acknowledgments
    9. We Want to Hear from You!
    10. Reader Services
    11. Introduction
      1. What’s in This Book
      2. Who Can Use This Book
      3. How to Use This Book
      4. There’s More Online...
    12. Part I: Hardware Foundations
      1. Chapter 1. What Is the Raspberry Pi?
        1. Why the Pi?
        2. Hardware Versions
        3. Is the Raspberry Pi Open Source?
        4. How Can I Purchase a Raspberry Pi?
      2. Chapter 2. Hardware Components Quick Start
        1. Understanding Pi Hardware Terminology
        2. The Hidden Cost of Owning a Raspberry Pi
        3. A Tour of the Model B Board
        4. Next Steps
      3. Chapter 3. A Tour of Raspberry Pi Peripheral Devices
        1. Circuit Prototyping Equipment
        2. Single-Board Microcontrollers
        3. The Gertboard
        4. Single-Board Computers
        5. Relevant Technician Tools
        6. Raspberry Pi Starter Kits
        7. Next Steps
    13. Part II: Software Foundations
      1. Chapter 4. Installing and Configuring an Operating System
        1. Common Operating Systems
        2. Installing Raspbian on Your Raspberry Pi
        3. An All-in-One Solution
        4. Testing Your New Raspbian Image
      2. Chapter 5. Debian Linux Fundamentals—Terminal
        1. Baby Steps
        2. Essential Terminal Commands
        3. Updating Your Software
        4. Revisiting Raspi-Config
        5. Next Steps
      3. Chapter 6. Debian Linux Fundamentals—Graphical User Interface
        1. LXDE—The Desktop Environment
        2. Installing, Updating, and Removing Software
        3. Accessing the Pi Store
        4. Tweaking the LXDE UI
        5. Editing Configuration Files
      4. Chapter 7. Networking Raspberry Pi
        1. Basic Networking Concepts
        2. Configuring Wired Ethernet
        3. Configuring Wireless Ethernet
        4. Configuring “Headless” Raspberry Pi
        5. On Browsing the Web with the Pi
      5. Chapter 8. Programming Raspberry Pi with Scratch—Beginnings
        1. Technical Aspects of Scratch
        2. Getting Comfortable with the Scratch Interface
        3. Crafting a (Very) Simple Scratch Application
        4. The PicoBoard
      6. Chapter 9. Programming Raspberry Pi with Scratch—Next Steps
        1. Begin with the End in Mind
        2. Let’s Build the Game!
        3. Uploading Your Project
        4. Remixing
      7. Chapter 10. Programming Raspberry Pi with Python—Beginnings
        1. Checking Out the Python Environment
        2. Interacting with the Python 3 Interpreter
        3. Writing Your First Python Program
        4. Running Python Scripts
        5. Broadening Your Python Horizons
      8. Chapter 11. Programming Raspberry Pi with Python—Next Steps
        1. Getting Comfortable with IDLE
        2. Writing a Simple Game
        3. Delving into a Bit More Detail
        4. Where Do You Go from Here?
    14. Part III: Basic Raspberry Pi Projects
      1. Chapter 12. Raspberry Pi Media Center
        1. A Bit o’ History
        2. But Will It Blend?
        3. Introducing Raspbmc
        4. Getting Your Remote Control Working
        5. Transferring Content to Your Pi
        6. Scraping Your Media
        7. Playing Your Content
        8. Installing Add-Ons
      2. Chapter 13. Raspberry Pi Retro Game Station
        1. A Word About Console Video Game Emulation
        2. Installing RetroPie
        3. Transferring ROMs to RetroPie
        4. Setting Up Your Controls
        5. Playing Your Games
        6. Installing Useful Add-Ons
      3. Chapter 14. Raspberry Pi Minecraft Server
        1. Installing Minecraft Pi
        2. Accessing the Python API
        3. Building a Minecraft Server
      4. Chapter 15. Raspberry Pi Web Server
        1. What Is the LAMP Stack?
        2. Installing Your Web Server
        3. Transferring Content to Your Web Server
        4. Setting Up phpMyAdmin
        5. Setting Up Joomla
        6. Putting Your Web Server on the Public Internet
      5. Chapter 16. Raspberry Pi Portable Webcam
        1. About the Raspberry Pi Camera Board
        2. Installing and Configuring the Raspberry Pi Camera Board
        3. Using the Camera Board
        4. Using a Third-Party USB Webcam
        5. Python and Your Webcam
      6. Chapter 17. Raspberry Pi Security and Privacy Device
        1. Encrypting Your Internet Connection with a VPN
        2. Browsing Where You Want via a Proxy Server
        3. Building Your Raspberry Pi VPN Gateway
        4. Building Your Raspberry Pi Proxy Server
        5. Testing the Configuration
        6. Speaking of Geolocation...
        7. Building a Raspberry Pi Tor Proxy
    15. Part IV: Hacking the Raspberry Pi
      1. Chapter 18. Raspberry Pi Overclocking
        1. What Is Overclocking?
        2. Warranty Implications of Overclocking
        3. Overclocking Your Pi
        4. Benchmarking Your Pi
        5. Adjusting the Memory Split on Your Pi
        6. Various and Sundry Performance Tweaks
      2. Chapter 19. Raspberry Pi and Arduino
        1. Introducing the Arduino
        2. Digging into the Arduino Uno
        3. Connecting the Arduino and the Raspberry Pi
        4. Understanding the Arduino Development Workflow
        5. Using the AlaMode
      3. Chapter 20. Raspberry Pi and the Gertboard
        1. Anatomy of the GPIO
        2. Connecting Your Gertboard and Raspberry Pi
        3. Installing the Testing Software
        4. Testing the LEDs
        5. Testing Input/Output
        6. A Couple Quick Breadboarding Exercises
        7. Programming the Atmel Microcontroller
        8. Final Thoughts, and Thank You
    16. Index

    Product information

    • Title: Hacking Raspberry Pi®
    • Author(s):
    • Release date: October 2013
    • Publisher(s): Que
    • ISBN: 9780133476637