Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Blueprints

You're reading from   Raspberry Pi Blueprints Design and build your own hardware projects that interact with the real world using the Raspberry Pi

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784392901
Length 284 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Raspberry Pi Pirate Radio FREE CHAPTER 2. Portable Speaker System 3. Mini Retro Arcade Cabinet 4. GPS-enabled Time-lapse Recorder 5. Home Theater PC 6. Outdoor Weather Station 7. Home Security System 8. Remote-operated Robotic Arm 9. Magic Mirror 10. Bottle Xylophone Index

The Pi setup


The initial steps to set up the Pi are to get a copy of Raspbian installed on an SD card of at least 4 GB (although 8 GB or larger is preferable), as described in Chapter 1, Raspberry Pi Pirate Radio, and if desired, connect the Pi to your Wi-Fi network. This project will keep the Pi outside the display enclosure so that Wi-Fi is only really needed if a wired connection is not available.

Rotating the display

You may wish to rotate the display to use the mirror in a portrait orientation, in which case the video output of the Pi will also need to be rotated. Fortunately, this is done by a simple change to a configuration file:

  1. Open the boot configuration file using:

    sudo nano /boot/config.txt
    
  2. Add the following line and replace N with one of the options described in the next screenshot:

    display_rotate=N

    The configuration file looks similar to the following screenshot:

  3. Save the file and reboot the Pi to see the changes:

    sudo reboot
    

    The possible options that can be given for N are:

    • 0: Normal...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image