Learn Raspberry Pi Programming with Python

Learn Raspberry Pi Programming with Python will show you how to program your nifty new $35 computer to make a web spider, a weather station, a media server, and more. You'll learn how to program in Python on your Raspberry Pi with hands-on examples and fun projects. Even if you're complete...

Descripción completa

Detalles Bibliográficos
Autor principal: Donat, Wolfram. author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Berkeley, CA : Apress 2014.
Edición:1st ed. 2014.
Colección:Technology in action.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629648806719
Tabla de Contenidos:
  • Contents at a Glance; Chapter 1: Introducing the Raspberry Pi; The History of Raspberry Pi; Exploring the Pi Board; The SD Card; The Power Port; The HDMI Port; The Ethernet and USB Ports; The Audio and RCA Video Jacks; The GPIO Pins; The System on a Chip; Comparing Raspberry Pi to Similar Devices; Hardware Requirements of the Pi; Connecting to Power; Adding a Monitor; Adding a USB Hub; Using a Wireless USB Dongle; The Pi Operating System; Formatting the Card; Using NOOBS; Connecting the Peripherals; Configuring the Pi; Shutting Down the Pi; Summary; Chapter 2: Linux by the Seat of Your Pants
  • Getting Started with Linux on the PiLinux Files and the File System; Root User vs. sudo; Commands; Exercise: Navigating in the Linux File System; Shells in Linux; Package Managers; Text Editors; Vim vs. emacs vs. nano; Using Vim; Using Emacs; Using nano; Leafpad; Summary; Chapter 3: Introducing Python; Scripting vs. a Programming Language; The Python Philosophy; Getting Started with Python; Running Python Using IDLE; Running Python Using the Terminal; Running Python Using Scripts; Exploring Python's Data Types; Numbers; Strings; Lists; Dictionaries; Tuples and Files; Programming with Python
  • IF testsLoops; Functions; Objects and Object-Oriented Programming; Summary; Chapter 4: Electronics at 100 MPH; Basic Electricity Concepts; Required Tools for Robotics; Screwdrivers; Pliers and Wire Strippers; Wire Cutters; Files; Magnifying Light; Hot Glue Gun; Assorted Glues; Multimeter; Power Supplies; Breadboard; Power Strip; Soldering Iron; General Safety Rules; Working with Heat; Working With Sharp Objects; Wear Safety Glasses; Fire Extinguishers at the Ready; Keep a First-Aid Kit Handy; Work in a Ventilated Area; Organizing Your Workplace; Bonus: Soldering Techniques; Summary
  • Chapter 5: The Web BotBot Etiquette; The Connections of the Web; Web Communication Protocols; Web Page Formats; A Request Example; Our Web Bot Concept; Parsing Web Pages; Coding with Python Modules; Using the Mechanize Module; Parsing with Beautiful Soup; Downloading with the urllib Library; Deciding What to Download; Choosing a Starting Point; Storing Your Files; Writing the Python Bot; Reading a String and Extracting All the Links; Looking For and Downloading Files; Testing the Bot; Creating Directories and Instantiating a List; The Final Code; Summary; Chapter 6: The Weather Station
  • A Shopping List of PartsUsing the I2C Protocol; Using an Anemometer; Building the Anemometer; Connecting the Anemometer to the Pi; Correlating Revolutions per Second with Wind Speed; Connecting the Digital Compass; Connecting the Temperature/Humidity Sensor; Connecting the Barometer; Connecting the Bits; The Final Code; Summary; Chapter 7: The Media Server; A Shopping List of Parts; Using an NTFS Drive; Installing Samba; Configurin g Samba; Setting Linux Permissions; Fixing the Apostrophe Bug; Restarting the Samba Service; Connecting with Linux/OS X; Where's Python?; Summary
  • Chapter 8: The Home Security System