Learning Raspberry Pi
eBook - ePub

Learning Raspberry Pi

Samarth Shah

Compartir libro
  1. 258 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Learning Raspberry Pi

Samarth Shah

Detalles del libro
Vista previa del libro
Índice
Citas

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Learning Raspberry Pi un PDF/ePUB en línea?
Sí, puedes acceder a Learning Raspberry Pi de Samarth Shah en formato PDF o ePUB, así como a otros libros populares de Ciencia de la computación y Hardware. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
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...

Índice