Learn Raspberry Pi Programming with Python : Learn to Program on the World's Most Popular Tiny Computer /
"Learn how to program your nifty new $35 computer to make a web spider, a weather station, a media server, and more. This book explores how to make a variety of fun and even useful projects, from a web bot to search and download files to a toy to drive your pets insane. Even if you're comp...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Berkeley, CA] :
Apress,
[2018]
|
Edición: | Second edition. |
Colección: | Technology in action series.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Preface; Introduction; Chapter 1: Introducing the Raspberry Pi; The History of the Raspberry Pi; Exploring the Pi; The GPIO Pins; USB & Ethernet; Audio Jack; Camera Connector; HDMI; Power; Display; The System on a Chip; SD Card; Not Visible; The Pi Zero/Zero W; GPIO; Camera Connector; Power; USB; HDMI; SD Card; System on a Chip; Not Visible; Comparing the Raspberry Pi to Similar Devices; Getting Started with the Pi; Hardware Requirements of the Pi; Connecting to Power; Adding a Monitor; Adding a USB Hub.
- The Pi Operating SystemFormatting the Card; Installing the OS; 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 Pi; Linux Files and the File System; Root User Versus sudo; Commands; Exercise: Navigating in the Linux File System; Shells in Linux; Package Managers; Text Editors; Vim Versus emacs Versus nano; Using Vim; Using emacs; Using nano; Default Text Editor; Summary; Chapter 3: Introducing Python; Scripting Versus a Programming Language; The Python Philosophy.
- Getting Started with PythonRunning Python Using IDLE; Running Python Using the Terminal; Running Python Using Scripts; Exploring Python Data Types; Numbers; Strings; Lists; Dictionaries; Tuples and Files; Programming with Python; IF tests; Loops; 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 HeatWorking 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 Bot; Bot Etiquette; The Connections of the Web; Web Communications 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 BotReading 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 Parts; Using 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.