Learning Raspberry Pi
eBook - ePub

Learning Raspberry Pi

Samarth Shah

Buch teilen
  1. 258 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Learning Raspberry Pi

Samarth Shah

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Learning Raspberry Pi als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Learning Raspberry Pi von Samarth Shah im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Ciencia de la computación & Hardware. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2015
ISBN
9781783982820

Learning Raspberry Pi


Table of Contents

Learning Raspberry Pi
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with Raspberry Pi
Getting to know your Raspberry Pi
Different types of operating systems
The Raspbian OS
The Arch Linux ARM OS
The RISC OS
OpenELEC and Raspbmc
Other operating systems
Command summary
Installation methods
NOOBS and BerryBoot
Installing Raspbian using RAW images
Writing an image using Windows
Writing an image using Linux
Raspbian OS interface
Expanding the filesystem
Installing Raspbian using raspbian-ua-netinst
Preparing the NetInstall on Linux
Preparing the NetInstall on Windows
Post-install configuration for Raspbian distribution
User management
Remotely accessing Raspberry Pi
The SSH remote server
Securing SSH
Transferring files
X11 Forwarding
Maintaining remote session using screen
The reverse SSH
Virtual display using VNC
Share the keyboard and mouse using Synergy
Installing a web server
Adding PHP support
Installing WordPress
Summary
2. Developing Web Applications
Getting started with HTML, JavaScript, and jQuery
Adding page content with HTML
Customizing the visual appearance
Adding interactivity with JavaScript
Simplifying scripts with jQuery
An introduction to Python
Syntax
Data types
Decorators
Modules
Flask
Creating an Internet radio station
Creating the user interface
Writing the backend
Connecting the user interface to the backend
Setting up MPD
Deploying Flask applications
Summary
3. Introduction to Electronics
Understanding the physics behind electronics
Charge, voltage, current, and resistance
Basic laws of electronics
Ohm's law
Kirchhoff's law
Kirchhoff's Current Law (KCL)
Kirchhoff's Voltage Law (KVL)
Electronics components
Resistors
Diodes
Switches
Integrated circuits
Sensors
LCD
Wire
Breadboard
Raspberry Pi electronics
WiringPi
Developing a digital clock
Setting up Raspberry Pi
Understanding HD44780-based LCD
Connecting LCD pins and Raspberry Pi GPIO pins
Scripting
The __init__ function
The clear function
The cmd function
The message function
Developing an e-mail notifier
Connecting LCD pins and Raspberry Pi GPIO pins
Scripting
Developing an alarm clock
Connecting LCD pins, Raspberry Pi GPIO pins, and a speaker
Scripting
Summary
4. Getting into Robotics
Introduction to robotics
More electronic components
Introduction to motors
Introduction to multimeter
Robotic base
Level converter
Motor driver IC
H-Bridge
The Raspberry Pi camera
Setting up the camera
Usage of modules
Taking a picture
Recording a video
An Ultrasonic sensor
The Raspberry Pi battery
The Raspberry Pi Wi-Fi module
Developing a remote-controlled robot with live feed and live distance to the nearest wall
Calculating distance using an ultrasonic sensor
Setting up Raspberry Pi
Connecting ultrasonic sensors pins and Raspberry Pi pins
Scripting
Displaying live feed from the Raspberry Pi camera module
Setting up Raspberry Pi
Connecting the Raspberry Pi and Raspberry Pi camera module
Scripting
Developing a remote-controlled robot using Raspberry Pi
Setting up Raspberry Pi
Connecting Raspberry Pi pins and robot
Scripting
Creating a user interface for controlling the robot
Controlling the movement of the robot
Initialization
Robot movement
Forward
Others
Server files that can control the Raspberry Pi GPIO
Merging everything
Connection
Scripting
Updating the user interface
Updating server-related files
Summary
5. Introduction to Image Processing
What is image processing?
Images and types of images
The grayscale image
Color/RGB
Image formats
Applications of image processing
The Raspberry Pi camera module
The image processing library
Introduction to OpenCV
Installation
The first approach
The second approach
A quick start to image processing
Reading and opening an image
Saving the image in other formats
Saving the image as a grayscale image
Pixel-related operation on the image
Accessing and modifying pixel values
Accessing image properties
Arithmetic operations on the image
Image addition
Image blending
Reading and opening a video
Creating time-lapse videos with the Raspberry Pi camera
Taking time-lapse pictures
Merging images into a video
Developing a Twitter-controlled Raspberry Pi camera
Setting up
Setting up Raspberry Pi
Getting Twitter Access keys
Scripting
Summary
6. Image Processing Algorithms
Important image processing operations
The image smoothing filter
Averaging
Gaussian filtering
Median filtering
Bilateral filtering
Morphologi...

Inhaltsverzeichnis