Loading...

Learn Raspberry Pi programming with Python /

'Learn raspberry pi programming with Python' show you how to programyour nifty new $35 computer using Python to make fun, hands-on projects, such as a web spider, a weather station, a media server and more.

Bibliographic Details
Main Author: Donat, Wolfram
Format: Printed Book
Published: London: Apress, 2018.
Series:TECHNOLOGY IN ACTION series
Subjects:
Table of Contents:
  • Machine generated contents note: ch. 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
  • ch. 2 Linux by the Seat of Your Pants
  • Getting Started with Linux on the Pi
  • Linux 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
  • Summary
  • ch. 3 Introducing Python
  • Scripting vs. a Programming Language
  • The Python Philosophy.
  • Contents note continued: Getting Started with Python
  • Running Python Using IDLE
  • Running Python Using the Terminal
  • Running Python Using Scripts
  • Exploring Python's Data Types
  • Programming with Python
  • IF tests
  • Loops
  • Functions
  • Objects and Object-Oriented Programming
  • Summary
  • ch. 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
  • ch. 5 The Web Bot
  • Bot Etiquette
  • The Connections of the Web
  • Web Communication Protocols
  • Web Page Formats.
  • Contents note continued: 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
  • ch. 6 The Weather Station
  • A Shopping List of Parts
  • Using the l2C 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
  • ch. 7 The Media Server
  • A Shopping List of Parts
  • Using an NTFS Drive
  • Installing Samba.
  • Contents note continued: Configuring Samba
  • Setting Linux Permissions
  • Fixing the Apostrophe Bug
  • Restarting the Samba Service
  • Connecting with Linux/OS X
  • Where's Python?
  • Summary
  • ch. 8 The Home Security System
  • Dogs as Security
  • Raspberry Pi as Security
  • Using a Sensor Network
  • Understanding a Pulldown Resistor
  • A Shopping List of Parts
  • Connecting to Your Network Wirelessly
  • Accessing the GPIO Pins
  • Setting Up the Motion Sensor
  • Setting Up the Reed Switch
  • Setting Up the Pressure Switch
  • Connecting the Magnetic Sensor
  • Setting Up Pi's Camera
  • Sending a Text Message from the Pi
  • Implementing the Callback
  • Connecting All of the Bits
  • The Final Code
  • Summary
  • ch. 9 The Cat Toy
  • A Shopping List of Parts
  • The Concept Behind the Toy
  • Creating and Using Random Numbers
  • Using the GPIO Library
  • Controlling the Servo
  • Constructing the Servo Mechanism
  • Constructing the Laser Mechanism
  • Connecting the Laser to the Servo.
  • Contents note continued: Connecting the Motion Sensor
  • Connecting All the Bits
  • The Final Code
  • Summary
  • ch. 10 The Radio-Controlled Airplane
  • A Shopping List of Parts
  • Connecting the GPS Receiver to the Pi
  • Setting Up a Log File
  • Formatting a KML File
  • Using Threading and Objects
  • Setting Up Automatic Startup
  • Connecting the Bits
  • The Final Code
  • The Plane Program
  • KML Conversion Program
  • Summary
  • ch. 11 The Weather Balloon
  • A Shopping List of Parts
  • Setting Up the GPS Receiver
  • Storing the GPS Data
  • Installing PiFM
  • Installing festival
  • Installing FFMPEG
  • Preparing the Pi
  • Using Threading and Objects
  • Connecting the Bits
  • Reviewing the Photo Results
  • The Final Code
  • Summary
  • ch. 12 The Submersible
  • A Shopping List of Parts
  • Accessing the Raspberry Pi's GPIO pins
  • Installing the Raspberry Pi Camera Board
  • Controlling the Sub
  • Attaching the Wiichuck Adapter
  • Activating the Pi's I2C
  • Testing the Nunchuk.
  • Contents note continued: Reading from the Nunchuk
  • Controlling the Sub Motors and Camera with the Nunchuk
  • Starting the Program Remotely
  • The Final Control Program
  • The Final Code
  • Constructing the Sub
  • Building the Frame
  • Creating the Pi's Enclosure
  • Waterproofing the Motor Enclosures
  • Connecting the Nunchuck
  • Assembling the Final Product
  • Summary
  • ch. 13 The Gertboard
  • Examining the Board
  • The GPIO Pins
  • Atmega Chip
  • A-to-D and D-to-A Converters
  • I/O Section
  • The Motor Controller
  • Open Collector Driver
  • Jumpers
  • Some Example Projects
  • Configuring the Preliminary Jumper Setup
  • Making Some LEDs Blink
  • Experimenting with Motor Controllers
  • Using the Open Collector Drivers
  • Using the Digital/Analogue Converters
  • Summary
  • ch. 14 The Raspberry Pi and the Arduino
  • Exploring the Arduino
  • Installing the Arduino IDE on the Pi
  • Running a Servo
  • The Arduino and the Gertboard
  • Summary.