Learning Raspberry Pi
eBook - ePub

Learning Raspberry Pi

Samarth Shah

Condividi libro
  1. 258 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Learning Raspberry Pi

Samarth Shah

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Learning Raspberry Pi è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Learning Raspberry Pi di Samarth Shah in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Ciencia de la computación e Hardware. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
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...

Indice dei contenuti