Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Raspberry Pi cookbook for Python programmers

You're reading from   Raspberry Pi cookbook for Python programmers The Raspberry Pi Cookbook has over 50 tailor-made recipes for programmers to get the most out of Raspberry Pi using Python to unleash its huge potential.

Arrow left icon
Product type Paperback
Published in Apr 2014
Publisher
ISBN-13 9781849696623
Length 402 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (18) Chapters Close

Raspberry Pi Cookbook for Python Programmers
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with a Raspberry Pi Computer FREE CHAPTER 2. Starting with Python Strings, Files, and Menus 3. Using Python for Automation and Productivity 4. Creating Games and Graphics 5. Creating 3D Graphics 6. Using Python to Drive Hardware 7. Sense and Display Real-world Data 8. Creating Projects with the Raspberry Pi Camera Module 9. Building Robots 10. Interfacing with Technology Hardware and Software List Index

Index

A

  • Adafruit / I2C bus and level shifting
  • Adafruit Industries
    • URL / General component sources
  • additional drivers, Raspberry Pi camera module
    • about / Additional drivers for the Raspberry Pi camera
  • advanced motor control
    • using / Using advanced motor control, How to do it…, How it works…, Motor speed control using PWM control, Using I/O expanders
  • AirPi Air Quality and Weather project
    • URL / See also
  • alternative script locations
    • about / Alternative script locations
  • Amazon
    • URL / General component sources
  • analog-to-digital converter
    • used, for reading analog data / Reading analog data using an analog-to-digital converter, Getting ready, How to do it..., How it works...
  • Analog-to-Digital Converters (ADCs)
    • about / Introduction
  • analog data
    • reading, analog-to-digital converter used / Reading analog data using an analog-to-digital converter, Getting ready, How to do it..., How it works...
    • gathering, without hardware / Gathering analog data without hardware
  • analogue display method / How to do it…
  • animate() function / How it works…
  • apt commands
    • about / APT commands
  • ARM1176JZF-S
    • about / Introduction
  • ARMv6 architecture
    • about / Introduction
  • Auto-MDIX
    • about / Getting ready

B

  • 802.11bgn signal / Getting ready
  • back EMF
    • about / Darlington array circuits
  • Banggood
    • URL / General component sources
  • BASIC
    • about / Why Python?
  • basic object
    • drawing, within 3D space / How to do it…, How it works…
  • bat-and-ball game
    • creating / Creating a bat and ball game, How it works…
  • battery/power source
    • about / Getting ready
  • binary blob
    • about / How it works…
  • Blender
    • about / Creating or loading your own objects
  • Bluetooth
    • Raspberry, controlling over / Getting ready, How to do it..., How it works...
  • Bluetooth module
    • settings, configuring / Configuring Bluetooth module settings
  • Bonjour
    • about / There's more…
  • boot-up menu
    • creating / How to do it…, How it works…, There's more…
  • BOOT partition
    • accessing / Accessing the Data/RECOVERY/BOOT partition
  • BOOT Partition
    • about / How it works…
  • breadboard circuitry / Getting ready
  • btntest.py script
    • creating / How to do it…
  • Building module
    • about / Building 3D maps and mazes
  • button
    • responding to / Responding to a button, Getting ready, How it works…
  • byte
    • about / Using SPI to control an LED matrix

C

  • cable ties
    • about / Getting ready
  • Caesar Cypher / How it works…
  • calibrateCompass() function / Calibrating the compass
  • calibration
    • saving / Saving the calibration
  • camera
    • about / Camera
    • focus, improving / Improving the focus
    • hardware shutter, creating / Creating a hardware shutter
  • cameraGUI.camCapture() function / How it works…
  • cameraGUI class
    • about / Class member and static functions
    • class members / Class member and static functions
    • static functions / Class member and static functions
    • class inheritance / Class inheritance and function overriding
    • function overriding / Class inheritance and function overriding
  • camera LED
    • disabling / Disabling the camera LED
  • camera module
    • about / Using the camera with Python
    • using, with Python / Getting ready, How it works…
  • Camera Serial Interface (CSI) connector
    • about / Introduction
  • camTimelapse() function / How it works…
  • capture_continuous() function / Generating a time-lapse video
  • caster wheel
    • about / Getting ready
  • Cat5e
    • about / Getting ready
  • CE signal / Using SPI to control an LED matrix
  • chassis
    • about / Getting ready
  • Chip Select (CS)
    • about / Using SPI to control an LED matrix
  • Ciseco
    • URL / General component sources
  • collisions
    • detecting, SolidObjects used / Using SolidObjects to detect collisions
  • compass
    • calibrating / Calibrating the compass
    • used, for driving robot / Driving the robot using the compass
  • compass bearing
    • calculating / Calculating the compass bearing
  • controlled shutdown button
    • about / A controlled shutdown button
    • working / How it works…
  • convertFile() function / How it works…
  • cycleImages() function / How it works…

D

  • 3D maps
    • building / How to do it…, How it works...
  • 3D mazes
    • building / How to do it…, How it works...
  • 3D models
    • creating / Creating and importing 3D models, Getting ready, How it works...
    • importing / Creating and importing 3D models, Getting ready, How it works...
  • 3D space
    • basic object, drawing within / How to do it…, How it works…
  • 3D world
    • creating / Getting ready, How it works…
  • daisy chain SPI configuration
    • about / Daisy-chain SPI configuration
  • Darlington transistors
    • using, to drive motors / Darlington array circuits
  • data
    • logging / How to do it..., How it works...
    • plotting / How to do it..., How it works...
    • calibrating / Scaling and calibrating data
    • scaling / Scaling and calibrating data
    • sending, to online services / Sensing and sending data to online services, Getting ready, How it works...
    • sensing / Sensing and sending data to online services, Getting ready, How it works...
  • data Partition
    • about / How it works…
  • data partition
    • accessing / Accessing the Data/RECOVERY/BOOT partition
  • dd command
    • about / Using the tools to backup your SD card in case of failure
  • DealExtreme
    • URL / General component sources
  • decryptButton() function / How it works…
  • desktop
    • running, with X11 Forwarding / Running as a desktop with X11 Forwarding
  • determineDir() function / How it works…
  • devices
    • using, with I2C bus / Getting ready, How to do it...
  • DHCP
    • about / How to do it…
  • direct network link
    • using / Direct network link
  • dispPreview() function
    • about / There's more…
  • dmesg command / Configuring a USB to RS232 device for the Raspberry Pi
  • DNS server
    • about / Getting ready
  • doAnimate() function / How it works…
  • doChangeLAN() function / Adding extra functions
  • doShutdown() function / How it works…
  • double pole (DP) / Getting ready
  • double throw (DT) / Getting ready

E

  • eBay
    • URL / General component sources
  • egg / Creating or loading your own objects
  • else option
    • about / How it works…
  • encryptButton() function / How it works…
  • encryptdecrypt.py module
    • about / Introduction
  • encryptText() function / How it works…
  • errors
    • handling / Using files and handling errors, Getting ready, How to do it…, How it works…
  • except option
    • about / How it works…
  • except ValueError option
    • about / How it works…
  • Exchangeable Image File Format (EXIF)
    • about / How it works…

F

  • File Allocation Table (FAT)
    • about / Accessing the Data/RECOVERY/BOOT partition
  • files
    • handling / Using files and handling errors, Getting ready, How to do it…, How it works…
  • finally option
    • about / How it works…
  • flite
    • about / Getting ready
  • Fritzing
    • URL / Getting ready
  • FuncAnimation() function / Plotting live data
  • fuze / Generating other key combinations

G

  • games
    • about / Introduction
  • Geany
    • about / Getting ready
    • installing / Getting ready
  • gears
    • about / Getting ready
  • GeekOnFire
    • URL / General component sources
  • general electronic component retailers
    • about / General component sources
  • getDate(self) operation / How it works…
  • getTKImage() function / How it works…
  • global variable / How it works…
  • GPIO built-in serial pins
    • using / Using the GPIO built-in serial pins
  • GPIO current
    • controlling / Controlling the GPIO current
  • GPIO keypad input
    • working / How it works…
  • gpiokeys.py script
    • creating / How to do it…, How it works…
  • graphical application Start menu
    • creating / Creating a graphical application Start menu, How to do it…, How it works…
  • Graphical Processing Unit (GPU) / Introduction
  • graphical user interface (GUI)
    • about / Introduction
  • graphical user interfaces (GUIs) / Introduction
    • creating, Tkinter used / Using Tkinter to create graphical user interfaces, Getting ready, How it works…
  • grep command
    • about / How to do it…

H

  • H-bridge
    • using / Using advanced motor control
  • hardware list / Hardware list
  • hardware multiplexing
    • about / Multiplexed color LEDs
  • HDMI display / How to do it…
  • hellopi.py file / Introduction
  • Hobbyking
    • URL / General component sources
  • home
    • automating, with remote sockets / Automating your home with remote sockets, Getting ready, How to do it..., How it works...
  • HyperTerminal
    • URL / How to do it...

I

  • I/O expander
    • Raspberry Pi GPIO, extending with / Extending the Raspberry Pi GPIO with an I/O expander, Getting ready, How to do it..., How it works...
    • voltage regulator, connecting to / I/O expander voltages and limits
  • I/O expander module
    • using / Using your own I/O expander module
  • I/O expanders
    • using / Using I/O expanders
  • I/O expander voltages / I/O expander voltages and limits
  • I2C
    • about / Using devices with the I2C bus
  • I2C bus
    • devices, using with / Getting ready, How to do it...
    • about / I2C bus and level shifting
    • level shifting / I2C bus and level shifting
  • IDE (Integrated Development Environment)
    • about / Getting ready
  • IDLE3 / Getting ready
    • used, for debugging program / Using IDLE3 to debug your programs, How it works…
  • ImportError exception
    • about / Getting ready
  • import __future__ statement
    • about / Python 2 and Python 3
  • initCompass() function / How it works…
  • initDates(self) operation / How it works…
  • initExif() function / How it works…
  • initExif(self,image) operation / How it works…
  • initImage(self) operation / How it works…
  • InputEvent objects
    • about / Getting ready
  • installation, Geany / Getting ready
  • installation, Pi3D / Getting ready
  • installation, uInput / Getting ready
  • Internet Service Provider (ISP)
    • about / Getting ready
  • IPv4 address
    • about / Getting ready

J

  • Joint Test Action Group (JTAG) / Secondary hardware connections

K

  • key elements, 3D graphics programming
    • camera / Camera
    • shaders / Shaders
    • lights / Lights
    • textures / Textures

L

  • LAN connector
    • Raspberry Pi, connecting to Internet via / Networking and connecting your Raspberry Pi to the Internet via the LAN connector, How to do it…, There's more…
  • layout, Raspberry Pi
    • HDMI display / How to do it…
    • analogue display method / How to do it…
    • Stereo Analogue Audio / How to do it…
    • Network (Model B Only) / How to do it…
    • USB (x1 Model A, x2 Model B) / How to do it…
    • Micro USB Power / How to do it…
  • LCD alphanumeric display
    • controlling, directly / Directly controlling an LCD alphanumeric display
  • Least Significant Bit (LSB) / How it works...
  • LED
    • controlling / Getting ready, How to do it…
    • hardware multiplexing / Hardware multiplexing
    • random patterns, displaying / Displaying random patterns
    • multiple colors, mixing / Mixing multiple colors
  • LED matrix
    • controlling, SPI used / Getting ready, How to do it…, How it works...
  • led_activate() function / How it works…
  • led_cleanup() function / How it works…
  • led_combo() function / Mixing multiple colors
  • led_deactivate() function / How it works…
  • led_gpiocontrol() function / How it works…
  • led_rgbrandom() function / Displaying random patterns
  • lighting
    • about / Lights
  • lights
    • about / Lights
  • lines
    • drawing, on Tkinter Canvas / Drawing lines using a mouse on Tkinter Canvas, Getting ready, How it works…
  • Linux Reader
    • about / Accessing the Data/RECOVERY/BOOT partition
  • live data
    • plotting / Plotting live data
  • local variable / How it works…

M

  • .mtl files / Changing the object's textures and .mtl files
  • Machine Code Assembler
    • about / Why Python?
  • MagPi Issue 18
    • about / Pi NoIR – taking night shots
  • Maplin UK
    • URL / General component sources
  • matplotlib
    • installing, manually / Getting ready
  • MAX7219 LED driver / Getting ready
  • MISO signal / Using SPI to control an LED matrix
  • missile type devices
    • controlling / Controlling similar missile-type devices
  • ModMyPi
    • URL / General component sources
  • MOSFETs
    • about / Transistor and relay circuits
  • MOSI signal / Using SPI to control an LED matrix
  • Most Significant Bit (MSB) / How it works...
  • motor class functions
    • off() / How it works…
    • drive() / How it works…
    • cmd() / How it works…
  • motor driver/controller
    • about / Getting ready
  • motors
    • about / Getting ready
  • motor speed
    • controlling, PWM signal used / Motor speed control using PWM control
  • mouse
    • used, for drawing lines on Tkinter Canvas / Drawing lines using a mouse on Tkinter Canvas, Getting ready, How it works…
  • mouse events
    • emulating / Emulating mouse events
  • Mouser Electronics
    • URL / General component sources
  • multiple I2C devices
    • using / Using multiple I2C devices
  • multiple programs
    • running, with X11 Forwarding / Running multiple programs with X11 Forwarding
  • multiplexed color LEDs
    • working / How it works…

N

  • nameservers
    • about / Getting ready
  • nano editor
    • about / There's more…
  • nano text editor / Getting ready
  • netmask
    • about / Getting ready
  • network
    • configuring, manually / Getting ready, How to do it…, There's more…
  • Newark
    • URL / General component sources
  • NoIR camera / There's more…
  • NOOBS
    • about / Getting ready, Using NOOBS to set up your Raspberry Pi SD card
    • used, for setting up Raspberry Pi SD card / Getting ready, How to do it…, How it works…
    • URL, for downloading / Getting ready
    • URL, for documentation / Getting ready
  • Notepad ++
    • URL / PC software utilities
  • Notepad++
    • about / How to do it…

O

  • .obj model
    • creating / Creating or loading your own objects
  • obj / Creating or loading your own objects
  • object
    • texture, modifying / Changing the object's textures and .mtl files
  • objects
    • creating / Creating or loading your own objects
    • loading / Creating or loading your own objects
  • obstacles
    • avoiding / Avoiding objects and obstacles, How to do it…, How it works…, There's more…
  • online services
    • data, sending to / Sensing and sending data to online services, Getting ready, How it works...
  • OOD
    • principle / There's more…
  • OpenArena / Introduction
  • OpenCV Self-balancing Robot
    • URL / See also
  • OpenGL ES 2.0 / Introduction
  • Open Source Computer Vision (OpenCV) project / See also
  • OWI Robotic Arm
    • controlling, with USB interface / Robot arm

P

  • P1 13 x 2 GPIO pin header / Secondary hardware connections
  • P2/P3 GPU/LAN JTAG / Secondary hardware connections
  • P5 8 x 2 GPIO pin header / Secondary hardware connections
  • P5 and P6 pin header / Secondary hardware connections
  • P5 header
    • about / Relocating to the P5 header
    • relocating to / Relocating to the P5 header
  • P6 reset / Secondary hardware connections
  • passwd command
    • about / Changing the default user password
  • PATH
    • scripts, adding to / Adding scripts to PATH
  • PCF8591 chip
    • URL, for info / Using just the PCF8591 chip or adding alternative sensors
  • PCF8591 module
    • circuit diagram / Using just the PCF8591 chip or adding alternative sensors
  • PC software utilities
    • about / PC software utilities
  • photo information
    • displaying, in application / Displaying photo information in an application, How to do it…, How it works…, There's more…
  • photos
    • organizing, automatically / Organizing your photos automatically, How to do it…, How it works…
  • Pi3D
    • URL, for wiki and documentation pages / Introduction
    • URL, for support/development groups / Introduction
    • usage, demonstrating / Getting ready, How it works…
    • downloading / Getting ready
    • installing / Getting ready
  • pi3d.Building module
    • about / The Building module
  • Pi3D library / Introduction
  • PiBorg
    • URL / General component sources
  • picamera module
    • about / Using the camera with Python
    • URL, for documentation / Using the camera with Python
  • PicoBorg
    • about / Transistor and relay circuits
  • Pi Hardware
    • URL / General component sources
  • Pillow
    • about / Getting ready
  • Pimoroni
    • URL / General component sources
  • Pi NoIR / Pi NoIR – taking night shots
  • PIP
    • about / Getting ready
  • Pip Python package manager commands
    • about / Pip Python package manager commands
  • Pi Supply
    • URL / General component sources
  • Polyfuses / How to do it…
  • PPM file
    • about / How it works…
  • premade Rover chassis / Rover kits
  • previewPhoto(self) operation / How it works…
  • Printed Circuit Board (PCB)
    • about / Getting ready
  • program
    • debugging, IDLE3 used / Using IDLE3 to debug your programs, How it works…
  • protection resistors / Protection resistors
  • protective resistors
    • pull-up resistor / Pull-up and pull-down resistor circuits
    • pull-down resistor / Pull-up and pull-down resistor circuits
  • proxy server
    • Raspberry Pi, connecting to Internet through / Getting ready, How it works…
  • pull-down resistor / Pull-up and pull-down resistor circuits
  • pull-up resistor / Pull-up and pull-down resistor circuits
  • PuTTY
    • about / How to do it…
    • URL, for downloading / How to do it…
    • URL / PC software utilities
  • PWM signal
    • about / There's more…
    • used, for controlling motor speed / Motor speed control using PWM control
  • pycamera module / Generating a time-lapse video
  • PyGame
    • running, with X11 Forwarding / Running PyGame and Tkinter with X11 Forwarding
  • pyplot
    • URL / Logging and plotting data
  • PyQRCode
    • used, for creating QR codes / Generating QR codes
  • Python
    • about / Why Python?, Introduction
    • camera module, using with / Getting ready, How it works…
  • Python 2
    • about / Python 2 and Python 3
  • Python 3
    • about / Python 2 and Python 3
  • Python Image Library (PIL)
    • about / Getting ready
  • Python Package Manager
    • about / Getting ready
  • Python Software Foundation
    • about / Python 2 and Python 3
  • PyUSB
    • about / Controlling USB devices
    • installing, for Python 3 / Getting ready

Q

  • QR code reader
    • generating / Making a QR code reader, Getting ready, How to do it…, How it works…
  • QR codes
    • creating, PyQRCode used / Generating QR codes
  • Quake 3 / Introduction
  • Quick2Wire
    • URL / General component sources

R

  • randint() function / Displaying random patterns
  • Raspberry Pi
    • about / Introducing the Raspberry Pi
    • connecting / Getting ready, How to do it…
    • layout / How to do it…
    • shutting down / Ensuring that you shut down safely
    • connecting, to Internet via LAN connector / Networking and connecting your Raspberry Pi to the Internet via the LAN connector, How to do it…, There's more…
    • connecting, to Internet via USB Wi-Fi dongle / Getting ready, How to do it…
    • connecting, to Internet through proxy server / Getting ready, How it works…
    • connecting, remotely over network with VNC / Getting ready, How to do it…
    • connecting, remotely over network with SSH / Connecting remotely to the Raspberry Pi over the network using SSH (and X11 Forwarding), How to do it…, How it works…
    • home folder, sharing with SMB / Getting ready, How to do it…
    • upgrading / Keeping the Raspberry Pi up to date
    • resetting / Resetting and rebooting Raspberry Pi
    • rebooting / Resetting and rebooting Raspberry Pi
    • controlling, over Bluetooth / Getting ready, How to do it..., How it works...
  • Raspberry Pi camera module
    • about / Introduction, Getting started with the Raspberry Pi camera module
    • setting up / Getting ready
    • additional drivers / Additional drivers for the Raspberry Pi camera
  • Raspberry Pi Foundation
    • about / Introducing the Raspberry Pi, Getting ready
  • Raspberry Pi GPIO
    • extending, with I/O expander / Extending the Raspberry Pi GPIO with an I/O expander, Getting ready, How to do it..., How it works...
  • Raspberry Pi LAN port
    • connecting, to laptop/computer / Networking directly to a laptop or computer, Getting ready, How to do it…, How it works…
  • Raspberry Pi model B
    • about / Introducing the Raspberry Pi
  • Raspberry Pi packages
    • about / Raspberry Pi packages
  • Raspberry Pi SD card
    • setting up, NOOBS used / Getting ready, How to do it…, How it works…
  • Raspberry Pi specialists
    • about / General component sources
  • raspi-blacklist.conf file / Getting ready
  • raspi-config command
    • about / There's more…, Getting ready
  • raspistill utility
    • about / How it works…
  • raspivid utility
    • about / How it works…
  • readCal() function / Saving the calibration
  • readCompass() function / Calibrating the compass
  • readCompassAngle() function / Calculating the compass bearing
  • readCompassRaw() function / How it works…
  • RealTerm
    • URL / How to do it..., PC software utilities
  • RECOVERY partition
    • accessing / Accessing the Data/RECOVERY/BOOT partition
  • RECOVERY Partition
    • about / Getting ready
  • relay circuits
    • switching, transistors used / Transistor and relay circuits
  • remote sockets
    • home, automating with / Automating your home with remote sockets, Getting ready, How to do it..., How it works...
  • REST
    • about / Sensing and sending data to online services
  • RF control signals
    • sending, directly / Sending RF control signals directly
  • rgbled.py script
    • creating / How to do it…
  • RGB LED module
    • about / Getting ready
  • RJ45 type connector
    • about / Getting ready
  • robot direction
    • determining / Getting a sense of direction
    • determining, XLoBorg module used / Getting ready, How to do it…, How it works…
  • root Partition
    • about / How it works…
  • Rover-Pi robot
    • building, forward driving motors used / Building a Rover-Pi robot with forward driving motors, Getting ready, How to do it…, How it works…
    • Darlington transistors / Darlington array circuits
    • relay circuits / Transistor and relay circuits
    • transistors / Transistor and relay circuits
    • tether, using / Tethered or untethered robots
  • Rover-Pi robot elements
    • chassis / Getting ready
    • front skid/caster / Getting ready
    • motor / Getting ready
    • gears / Getting ready
    • wheels / Getting ready
    • battery/power source / Getting ready
    • motor driver/controller / Getting ready
    • cable ties/wire ties / Getting ready
    • connecting, to Raspberry Pi / Getting ready
  • RPi.GPIO library / How to do it…
  • RS232
    • about / Communicating using a serial interface
    • signals / RS232 signals and connections
    • connections / RS232 signals and connections
    • loopback / The RS232 loopback
  • RS232 device
    • USB, configuring to / Configuring a USB to RS232 device for the Raspberry Pi
  • RS Components
    • URL / General component sources
  • run() function / How it works…
  • runApplicationThread() class / How it works…

S

  • S2 Direct Display DSI / Secondary hardware connections
  • S5 Direct Camera CSI / Secondary hardware connections
  • safe voltages / Safe voltages
  • SCLK signal / Using SPI to control an LED matrix
  • Scratch
    • about / Why Python?
  • screenshots
    • taking / Taking screenshots
  • scripts
    • about / Working with text and strings
    • adding, to PATH / Adding scripts to PATH
  • SD card
    • preparing, manually / Preparing an SD card manually
  • SD Formatter
    • URL / PC software utilities
  • secondary hardware connections, Raspberry Pi
    • P1 13 x 2 GPIO pin header / Secondary hardware connections
    • P5 8 x 2 GPIO pin header / Secondary hardware connections
    • P6 reset / Secondary hardware connections
    • P5 and P6 pin header / Secondary hardware connections
    • P2/P3 GPU/LAN JTAG / Secondary hardware connections
    • S5 Direct Camera CSI / Secondary hardware connections
    • S2 Direct Display DSI / Secondary hardware connections
  • self-defining menu
    • creating / Creating a self-defining menu, How it works…
  • self.genVideoTL / How it works…
  • self.numImageTL / How it works…
  • self.peroidTL / How it works…
  • self.preview() function / How it works…
  • self.shutter() function / How it works…
  • self.totalTimeTL / How it works…
  • serial interface
    • used, for communication / Communicating using a serial interface, Getting ready, How to do it..., How it works...
  • Serial Port Profile (SPP) / Controlling the Raspberry Pi over Bluetooth
  • Service set identifier (SSID) / Getting ready
  • servo class
    • about / The servo class
  • servos
    • controlling / Controlling the servos
  • SETTINGS Partition
    • about / How it works…
  • shaders / How it works…
    • about / Shaders
  • shtdwn.py script
    • creating / How to do it…
  • shutdown circuit
    • layout / Getting ready
    • components, adding / Adding extra functions
  • shutdown command
    • about / Ensuring that you shut down safely
  • single pole (SP) / Getting ready
  • single pole single throw (SPST) / Getting ready
  • single throw (ST) / Getting ready
  • six-legged Pi-Bug robot
    • building / Building a six-legged Pi-Bug robot, How to do it…, How it works…
    • servos, controlling / Controlling the servos
    • working / Controlling the servos, The servo class, Learning to walk, The Pi-Bug code for walking
    • servo class / The servo class
    • movement, controlling / Learning to walk
    • code, for walking / The Pi-Bug code for walking
  • skid
    • about / Getting ready
  • Slave Select (SS)
    • about / Using SPI to control an LED matrix
  • SMB
    • about / Sharing the home folder of the Raspberry Pi with SMB
    • home folder, sharing of Raspberry Pi / Getting ready, How to do it…
  • software debouncing / How it works…
  • software list
    • about / Software list
    • PC software utilities / PC software utilities
    • Raspberry Pi packages / Raspberry Pi packages
  • SolidObjects
    • about / How it works...
    • used, for detecting collisions / Using SolidObjects to detect collisions
  • SparkFun Electronics
    • URL / General component sources
  • SPI
    • about / Using SPI to control an LED matrix
    • used, for controlling LED matrix / Getting ready, How to do it…, How it works...
  • SPI bus
    • SCLK signal / Using SPI to control an LED matrix
    • CE signal / Using SPI to control an LED matrix
    • MOSI signal / Using SPI to control an LED matrix
    • MISO signal / Using SPI to control an LED matrix
  • SSH
    • about / Connecting remotely to the Raspberry Pi over the network using SSH (and X11 Forwarding)
    • Raspberry Pi, connecting over network remotely / Connecting remotely to the Raspberry Pi over the network using SSH (and X11 Forwarding), How to do it…, How it works…
  • Static IP DHCP address
    • about / There's more…
  • Stereo Analogue Audio / How to do it…
  • stop frame animation
    • creating / Creating a stop frame animation, How to do it…, How it works…
  • strings
    • working with / Working with text and strings, Getting ready, How to do it…, How it works…
  • struct.pack() function / How it works…
  • struct.unpack() function / How it works…
  • subnet mask
    • about / Getting ready
  • system
    • expanding, for fitting to SD card / Expanding the system to fit in your SD card
  • System-On-Chip (SoC) / Introduction

T

  • Tandy UK
    • URL / General component sources
  • terrain
    • about / Creating a 3D world to roam in
  • tether
    • using, disadvantage / Tethered or untethered robots
  • tethered robots
    • about / Tethered or untethered robots
  • tetrahedron / How it works…
  • text
    • working with / Working with text and strings, Getting ready, How to do it…, How it works…
  • text editors, Raspberry Pi
    • nano / Getting ready
    • IDLE3 / Getting ready
    • Geany / Getting ready
  • texture
    • modifying, of object / Changing the object's textures and .mtl files
  • textures / How it works…
    • about / Textures
  • Threading module
    • about / How it works…
  • three-pass protocol / There's more…
  • TightVNC server
    • about / How to do it…
  • time-lapse video
    • generating / Generating a time-lapse video, Getting ready, How to do it…, How it works…
  • timestamp() function / How it works…
  • Tkinter
    • running, with X11 Forwarding / Running PyGame and Tkinter with X11 Forwarding
    • about / Introduction, Getting ready
    • used, for creating graphical user interfaces / Using Tkinter to create graphical user interfaces, Getting ready, How it works…
  • tkinter.Event object / How it works…
  • Tkinter Canvas
    • about / Introduction
    • lines, drawing on / Drawing lines using a mouse on Tkinter Canvas, Getting ready, How it works…
  • tkinter library
    • about / Introduction
  • TMP36 temperature sensor
    • about / Using just the PCF8591 chip or adding alternative sensors
  • transistors
    • used, for switching relay circuits / Transistor and relay circuits
  • try…except code / How it works…

U

  • uInput
    • URL, for info / The GPIO keypad input
    • installing / Getting ready
  • uinput
    • key combinations, generating / Generating other key combinations
    • mouse events, emulating / Emulating mouse events
  • ULN2003 chip / Getting ready
  • ultrasonic reversing sensors
    • about / Ultrasonic reversing sensors
    • working / Ultrasonic reversing sensors
  • Unified Modelling Language (UML) / Class inheritance and function overriding
  • untethered robots
    • about / Tethered or untethered robots
  • update command / How to do it…
  • USB
    • configuring, to RS232 device for Raspberry Pi / Configuring a USB to RS232 device for the Raspberry Pi
    • about / Controlling USB devices
  • USB devices
    • controlling / Controlling USB devices, How to do it..., How it works...
  • USB interface
    • OWI Robotic Arm, controlling / Robot arm
  • USB webcam
    • using / Using a USB webcam instead
  • USB Wi-Fi dongle
    • about / Networking and connecting your Raspberry Pi to the Internet via a USB Wi-Fi dongle
    • Raspberry Pi, connecting to Internet via / Getting ready, How to do it…
  • USB wired network adapters
    • using / Using USB wired network adapters
  • user account
    • default user password, modifying / Changing the default user password

V

  • VideoCore IV GPU / Introduction
  • VNC
    • Raspberry Pi, connecting over network remotely / Getting ready, How to do it…
  • vncserver command
    • about / There's more…
  • VNC Viewer
    • about / How to do it…
    • URL / PC software utilities
  • voltage regulator
    • connecting, to I/O expander / I/O expander voltages and limits

W

  • WEP
    • about / Getting ready
  • Wheatstone bridge
    • about / Using just the PCF8591 chip or adding alternative sensors
  • wheels
    • about / Getting ready
  • Win32 Disk Imager
    • about / Using the tools to backup your SD card in case of failure
    • used, for backing up SD card / Using the tools to backup your SD card in case of failure
  • WiringPi2 / Getting ready
  • wiringPi2
    • URL / Getting ready
    • about / How it works...
  • WPA
    • about / Getting ready
  • WPA2
    • about / Getting ready
  • writeCal() function / Saving the calibration
  • www.dx.com module / How it works...

X

  • X-11 forwarding
    • about / Getting ready
  • X11 Forwarding
    • multiple programs, running with / Running multiple programs with X11 Forwarding
    • desktop, running with / Running as a desktop with X11 Forwarding
    • PyGame, running with / Running PyGame and Tkinter with X11 Forwarding
    • Tkinter, running with / Running PyGame and Tkinter with X11 Forwarding
  • Xively
    • about / Sensing and sending data to online services
  • xively-python library
    • about / Sensing and sending data to online services
    • URL / Sensing and sending data to online services
  • XLoBorg module
    • using / Getting ready, How to do it…, How it works…
  • Xming
    • URL / How to do it…, PC software utilities

Z

  • ZBar
    • about / Getting ready
  • zbarimg program
    • about / Getting ready
  • ZyDAS chipset
    • about / How to do it…
  • ZyXEL device
    • about / How to do it…
lock icon The rest of the chapter is locked
arrow left Previous Section
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 ₹800/month. Cancel anytime