Learning Raspberry Pi
eBook - ePub

Learning Raspberry Pi

Samarth Shah

Partager le livre
  1. 258 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Learning Raspberry Pi

Samarth Shah

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Learning Raspberry Pi est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Learning Raspberry Pi par Samarth Shah en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Ciencia de la computaciĂłn et Hardware. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
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...

Table des matiĂšres