Raspberry Pi

Total Page:16

File Type:pdf, Size:1020Kb

Raspberry Pi Raspberry Pi i Raspberry Pi About the Tutorial Raspberry Pi, developed by Raspberry Pi Foundation in association with Broadcom, is a series of small single-board computers and perhaps the most inspiring computer available today. From the moment you see the shiny green circuit board of Raspberry Pi, it invites you to tinker with it, play with it, start programming, and create your own software with it. Earlier, the Raspberry Pi was used to teach basic computer science in schools but later, because of its low cost and open design, the model became far more popular than anticipated. Audience This tutorial will be useful for people of all ages especially students who want to take their first step in computer science. The reader can be a beginner or an advanced learner. Prerequisites The readers must have basic knowledge about Linux and Python programming language. They should also be aware of the basics of electronic circuits. Copyright & Disclaimer Copyright 2021 by Tutorials Point (I) Pvt. Ltd. All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher. We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our website or its contents including this tutorial. If you discover any errors on our website or in this tutorial, please notify us at [email protected] i Raspberry Pi Table of Contents About the Tutorial ............................................................................................................................................ i Audience ........................................................................................................................................................... i Prerequisites ..................................................................................................................................................... i Copyright & Disclaimer ..................................................................................................................................... i Table of Contents ............................................................................................................................................ ii 1. Raspberry Pi – Introduction ...................................................................................................................... 1 Generations and Models ................................................................................................................................. 1 History ............................................................................................................................................................. 6 2. Raspberry Pi — Getting Started ................................................................................................................ 7 Uses ................................................................................................................................................................. 7 Retailers and Distributors ................................................................................................................................ 7 Requirements .................................................................................................................................................. 8 Compatible and Incompatible Devices ............................................................................................................ 9 3. Raspberry Pi — Operating System .......................................................................................................... 10 NOOBS Software ............................................................................................................................................ 10 Install NOOBS to Memory card ..................................................................................................................... 14 4. Connecting Raspberry Pi ......................................................................................................................... 16 Ports and Sockets .......................................................................................................................................... 16 Insert SD or MicroSD card ............................................................................................................................. 18 Camera Module ............................................................................................................................................. 18 Connect Raspberry Pi to Devices ................................................................................................................... 19 Turn on Raspberry Pi ..................................................................................................................................... 21 5. Raspberry Pi — Configuration ................................................................................................................. 24 Raspbian configuration .................................................................................................................................. 24 Configure Wi-Fi .............................................................................................................................................. 25 Configure Bluetooth Devices ......................................................................................................................... 26 ii Raspberry Pi Data Partition Setup ...................................................................................................................................... 26 6. Raspberry Pi — Working with Linux ........................................................................................................ 27 PIXEL Desktop Environment .......................................................................................................................... 27 Navigate Desktop Environment ..................................................................................................................... 27 The Application Menu ................................................................................................................................... 28 Submenu Programs ....................................................................................................................................... 28 Running programs ......................................................................................................................................... 30 Close and Rearrange Programs ..................................................................................................................... 30 7. Raspberry Pi — PIXEL Desktop Environment ........................................................................................... 32 Task Manager ................................................................................................................................................ 32 File Manager .................................................................................................................................................. 33 Browsing the Web ......................................................................................................................................... 36 Claws Mail ..................................................................................................................................................... 37 Image Viewer ................................................................................................................................................. 38 Text Editor ..................................................................................................................................................... 39 Install New Applications ................................................................................................................................ 41 8. Raspberry Pi — Linux Shell ...................................................................................................................... 43 Open Shell Window ....................................................................................................................................... 43 List Files and Directories ................................................................................................................................ 43 Relative and Absolute Paths .......................................................................................................................... 46 Advanced Listing Commands ......................................................................................................................... 46 Long Listing Format ....................................................................................................................................... 47 Permissions .................................................................................................................................................... 48 Less Command..............................................................................................................................................
Recommended publications
  • Resurrect Your Old PC
    Resurrect your old PCs Resurrect your old PC Nostalgic for your old beige boxes? Don’t let them gather dust! Proprietary OSes force users to upgrade hardware much sooner than necessary: Neil Bothwick highlights some great ways to make your pensioned-off PCs earn their keep. ardware performance is constantly improving, and it is only natural to want the best, so we upgrade our H system from time to time and leave the old ones behind, considering them obsolete. But you don’t usually need the latest and greatest, it was only a few years ago that people were running perfectly usable systems on 500MHz CPUs and drooling over the prospect that a 1GHz CPU might actually be available quite soon. I can imagine someone writing a similar article, ten years from now, about what to do with that slow, old 4GHz eight-core system that is now gathering dust. That’s what we aim to do here, show you how you can put that old hardware to good use instead of consigning it to the scrapheap. So what are we talking about when we say older computers? The sort of spec that was popular around the turn of the century. OK, while that may be true, it does make it seem like we are talking about really old hardware. A typical entry-level machine from six or seven years ago would have had something like an 800MHz processor, Pentium 3 or similar, 128MB of RAM and a 20- 30GB hard disk. The test rig used for testing most of the software we will discuss is actually slightly lower spec, it has a 700MHz Celeron processor, because that’s what I found in the pile of computer gear I never throw away in my loft, right next to my faithful old – but non-functioning – Amiga 4000.
    [Show full text]
  • Ubuntu Kung Fu
    Prepared exclusively for Alison Tyler Download at Boykma.Com What readers are saying about Ubuntu Kung Fu Ubuntu Kung Fu is excellent. The tips are fun and the hope of discov- ering hidden gems makes it a worthwhile task. John Southern Former editor of Linux Magazine I enjoyed Ubuntu Kung Fu and learned some new things. I would rec- ommend this book—nice tips and a lot of fun to be had. Carthik Sharma Creator of the Ubuntu Blog (http://ubuntu.wordpress.com) Wow! There are some great tips here! I have used Ubuntu since April 2005, starting with version 5.04. I found much in this book to inspire me and to teach me, and it answered lingering questions I didn’t know I had. The book is a good resource that I will gladly recommend to both newcomers and veteran users. Matthew Helmke Administrator, Ubuntu Forums Ubuntu Kung Fu is a fantastic compendium of useful, uncommon Ubuntu knowledge. Eric Hewitt Consultant, LiveLogic, LLC Prepared exclusively for Alison Tyler Download at Boykma.Com Ubuntu Kung Fu Tips, Tricks, Hints, and Hacks Keir Thomas The Pragmatic Bookshelf Raleigh, North Carolina Dallas, Texas Prepared exclusively for Alison Tyler Download at Boykma.Com Many of the designations used by manufacturers and sellers to distinguish their prod- ucts are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf and the linking g device are trademarks of The Pragmatic Programmers, LLC.
    [Show full text]
  • Lightweight Distros on Test
    GROUP TEST LIGHTWEIGHT DISTROS LIGHTWEIGHT DISTROS GROUP TEST Mayank Sharma is on the lookout for distros tailor made to infuse life into his ageing computers. On Test Lightweight distros here has always been a some text editing, and watch some Linux Lite demand for lightweight videos. These users don’t need URL www.linuxliteos.com Talternatives both for the latest multi-core machines VERSION 2.0 individual apps and for complete loaded with several gigabytes of DESKTOP Xfce distributions. But the recent advent RAM or even a dedicated graphics Does the second version of the distro of feature-rich resource-hungry card. However, chances are their does enough to justify its title? software has reinvigorated efforts hardware isn’t supported by the to put those old, otherwise obsolete latest kernel, which keeps dropping WattOS machines to good use. support for older hardware that is URL www.planetwatt.com For a long time the primary no longer in vogue, such as dial-up VERSION R8 migrators to Linux were people modems. Back in 2012, support DESKTOP LXDE, Mate, Openbox who had fallen prey to the easily for the i386 chip was dropped from Has switching the base distro from exploitable nature of proprietary the kernel and some distros, like Ubuntu to Debian made any difference? operating systems. Of late though CentOS, have gone one step ahead we’re getting a whole new set of and dropped support for the 32-bit SparkyLinux users who come along with their architecture entirely. healthy and functional computers URL www.sparkylinux.org that just can’t power the newer VERSION 3.5 New life DESKTOP LXDE, Mate, Xfce and others release of Windows.
    [Show full text]
  • I Know What You Streamed Last Night: on the Security and Privacy of Streaming
    Digital Investigation xxx (2018) 1e12 Contents lists available at ScienceDirect Digital Investigation journal homepage: www.elsevier.com/locate/diin DFRWS 2018 Europe d Proceedings of the Fifth Annual DFRWS Europe I know what you streamed last night: On the security and privacy of streaming * Alexios Nikas a, Efthimios Alepis b, Constantinos Patsakis b, a University College London, Gower Street, WC1E 6BT, London, UK b Department of Informatics, University of Piraeus, 80 Karaoli & Dimitriou Str, 18534 Piraeus, Greece article info abstract Article history: Streaming media are currently conquering traditional multimedia by means of services like Netflix, Received 3 January 2018 Amazon Prime and Hulu which provide to millions of users worldwide with paid subscriptions in order Received in revised form to watch the desired content on-demand. Simultaneously, numerous applications and services infringing 15 February 2018 this content by sharing it for free have emerged. The latter has given ground to a new market based on Accepted 12 March 2018 illegal downloads which monetizes from ads and custom hardware, often aggregating peers to maximize Available online xxx multimedia content sharing. Regardless of the ethical and legal issues involved, the users of such streaming services are millions and they are severely exposed to various threats, mainly due to poor Keywords: fi Security hardware and software con gurations. Recent attacks have also shown that they may, in turn, endanger Privacy others as well. This work details these threats and presents new attacks on these systems as well as Streaming forensic evidence that can be collected in specific cases. Malware © 2018 Elsevier Ltd. All rights reserved.
    [Show full text]
  • Free As in Freedom
    Daily Diet Free as in freedom ... • The freedom to run the program, for any purpose (freedom 0). Application Seen elsewhere Free Software Choices • The freedom to study how the program works, and adapt it to Text editor Wordpad Kate / Gedit/Vi/ Emacs your needs (freedom 1). Access to the source code is a precondition for this. Office Suite Microsoft Office KOffice / Open Office • The freedom to redistribute copies so you can help your Word Processor Microsoft Word Kword / Writer Presentation PowerPoint KPresenter / Impress neighbor (freedom 2). Spreadsheet Excel Kexl / Calc • The freedom to improve the program, and release your Mail & Info Manager Outlook Thunderbird / Evolution improvements to the public, so that the whole community benefits (freedom 3). Access to the source code is a Browser Safari, IE Konqueror / Firefox precondition for this. Chat client MSN, Yahoo, Gtalk, Kopete / Gaim IRC mIRC Xchat Non-Kernel parts = GNU (GNU is Not Unix) [gnu.org] Netmeeting Ekiga Kernel = Linux [kernel.org] PDF reader Acrobat Reader Kpdf / Xpdf/ Evince GNU Operating Syetem = GNU/Linux or GNU+Linux CD - burning Nero K3b / Gnome Toaster Distro – A flavor [distribution] of GNU/Linux os Music, video Winamp, Media XMMS, mplayer, xine, player rythmbox, totem Binaries ± Executable Terminal>shell>command line – interface to type in command Partition tool Partition Magic Gparted root – the superuser, administrator Graphics and Design Photoshop, GIMP, Image Magick & Corel Draw Karbon14,Skencil,MultiGIF The File system Animation Flash Splash Flash, f4l, Blender Complete list- linuxrsp.ru/win-lin-soft/table-eng.html, linuxeq.com/ Set up Broadband Ubuntu – set up- in terminal sudo pppoeconf.
    [Show full text]
  • Descripción De Raspberry Pi Raspberry Pi
    PREPA 3 Preparatoria No 3 bbbbbbbbbb Universidad Autónoma del Estado de Hidalgo PREPA 3 Preparatoria No 3 INFORMÁTICA I PRESENTA: MTRA. ALBA NUBYA RODRÍGUEZ SOLIS 2.2 PLATAFORMA ABIERTA DE HARDWARE PARA CONSTRUIR SISTEMAS INFORMÁTICOS INFORMÁTICA I PLATAFORMA ABIERTA PREPA 3 Preparatoria No 3 Descripción de Raspberry Pi Raspberry Pi: Considerado un ordenador del tamaño de una tarjeta de crédito, el cual va conectado a una televisión o monitor y un teclado. Cuenta con la capacidad de soportar varios componentes conectados, como los tiene una PC de escritorio (ABC, 2013). Universidad Autónoma del Estado de Hidalgo INFORMÁTICA I PLATAFORMA ABIERTA PREPA 3 Preparatoria No 3 Raspberry Pi, componentes: (RODRIGUEZ, 2018) Placa SBC RELOJ Alimentación 2.5-3.5 Componentes PUERTOS Procesador Broadcom ENTRADA/SALIDA que integra el Raspberry Pi SISTEMA OPERATIVO RAM 256 mb-1gb LINUX/WINDOWS ALMACENAMIENTO: TARJETA SD,SDHC, MICROSD Universidad Autónoma del Estado de Hidalgo PREPA 3 INFORMÁTICA I PLATAFORMA ABIERTA Preparatoria No 3 Raspberry Pi, PRINCIPALES USOS: (VALENCIA, 2013) Para la educación, industria y prototipos Aplicaciones utilizadas, como: hojas de cálculo, procesadores de texto, juegos, entre otros Programación Uso multimedia, salida y entrada de: audio, imagen y video Sirve como gestor o administración de redes inalámbricas Robótica Usado como consola Universidad Autónoma del Estado de Hidalgo INFORMÁTICA I PLATAFORMA ABIERTA PREPA 3 Preparatoria No 3 Raspberry Pi, SOFTWARE QUE LO CONTROLA: (VALENCIA, 2013) SISTEMA OPERATIVO APLICACIONES LINUX NAVEGADORES: Midori, Dillo, NetSurf LENGUAJE DE PROGRAMACIÓN: Pithon, WINDOWS Scrach, Pygame UNIX ADMINISTRADOR DE REDES: Wifi-Config OFIMÁTICOS: LibreOffice o Asterisk Universidad Autónoma del Estado de Hidalgo INFORMÁTICA I PLATAFORMA ABIERTA PREPA 3 Preparatoria No 3 REFERENCIAS: • ABC, T.
    [Show full text]
  • Manage Partitions and Disks with Gparted-Clonezi
    Linux.com :: Manage partitions and disks with GParted-Clonezilla live CD http://www.linux.com/feature/115208?theme=print Linux.com Everything Linux and Open Source Manage partitions and disks with GParted-Clonezilla live CD July 02, 2007 (9:00:00 PM) - 7 hours, 11 minutes ago By: Mayank Sharma Backing up partitions and hard disks sounds like work -- until you've tried Clonezilla. With Clonezilla you can clone and duplicate partitions of various formats and disks of various sizes locally or over the network. Even more impressive is the fact that you can do all this without typing complicated commands. And since Clonezilla is available as part of the GParted-Clonezilla live CD, you don't even have to install it. Most desktop users don't back up disks or partitions day in and day out. But once in a while you may manage to exhaust free disk space on a partition. If it's surrounded by another partition, you can either move it to another disk or to another area of the same disk that has free disk space around it, but that's easier said than done. While system administrators may take such problems in stride, for most desktop users this situation is like a punch in the face. After breaking into a sweat and Googling for an easy solution, they may spend a couple of hours backing up most of the data to removable drives, repartitioning the drive, reinstalling the distro, and restoring the data. But there's an easier solution. The GParted-Clonezilla live CD is available as a 131.5MB minimal distro based on Gentoo-catalyst, and uses the Xorg X server, the lightweight Fluxbox window manager, and a modified 2.6-series Linux kernel.
    [Show full text]
  • Home Automation
    Deep Diving Inside ADB • Geiger Counter • Lakka • Gogs • I/O Extenders Year Four Issue #43 Jul 2017 ODROIDMagazine Sensor tech: ODROID Seismograph MeasuringMeasuring SeismicSeismic AccelerationAcceleration usingusing thethe ODROID-C2ODROID-C2 A Smart house Use your own with your ODROID ODROID-XU4 by your side As A Map Server What we stand for. We strive to symbolize the edge of technology, future, youth, humanity, and engineering. Our philosophy is based on Developers. And our efforts to keep close relationships with developers around the world. For that, you can always count on having the quality and sophistication that is the hallmark of our products. Simple, modern and distinctive. So you can have the best to accomplish everything you can dream of. We are now shipping the ODROID-C2 and ODROID-XU4 devices to EU countries! Come and visit our online store to shop! Address: Max-Pollin-Straße 1 85104 Pförring Germany Telephone & Fax phone: +49 (0) 8403 / 920-920 email: [email protected] Our ODROID products can be found at http://bit.ly/1tXPXwe EDITORIAL opefully you’ll never have to experience an earthquake first hand, but it’s nice to know that an ODROID can help Hdetect seismic activity in your area! Using a simple ac- celerometer, a C Tinkering Kit, WiringPi library, ThingSpeak platform, and a custom Python script, a C2 can be turned into a miniature geographic labora- tory that outputs the magnitude of waves that occur nearby. Our regu- lar contributor Miltiadis details this amazing project so that you can build one of your own. Home automation is virtually standard in new houses these days, and Adrian shows us how to retrofit an existing house to connect to over 650 types of components in order to have completely central- ized control over smart devices from any ODROID device.
    [Show full text]
  • Opentechnologies My Server 3DVBT User Guide
    OpenTechnologies my server 3DVBT User guide 1 Quick start ....................................................................................................................................................................... 2 1.1 Features .................................................................................................................................................................. 2 1.2 Requirements .......................................................................................................................................................... 2 1.3 Package content ...................................................................................................................................................... 2 1.4 TV Server configuration .......................................................................................................................................... 3 1.5 Watching TV ............................................................................................................................................................ 6 1.6 Precautions ............................................................................................................................................................. 7 1.7 Device disposal ........................................................................................................................................................ 7 2 TV Server configuration .................................................................................................................................................
    [Show full text]
  • Valorizzazione E Promozione Del Volontariato”, Art
    REGIONE PIEMONTE BU44 31/10/2012 Comunicato della Direzione Politiche sociali e politiche per la famiglia della Regione Piemonte L.R. n. 38/1994 “Valorizzazione e promozione del volontariato”, art. 4, c. 5, - Pubblicazione del registro del volontariato”. La presente pubblicazione si articola per Province. L’elenco, per comodità di consultazione, è ordinato per settore di intervento, la sezione regionale degli organismi di coordinamento e collegamento è collocata dopo le sezioni provinciali. La pubblicazione contiene i dati forniti dagli uffici provinciali, che ne assicurano la validità, ed è aggiornata e fa fede alla data del 31 luglio 2012. Allegato PROVINCIA DI ALESSANDRIA ATTIVITA' DATA SEZIONE DENOMINAZIONE/INDIRIZZO LEGALE RECAPITO SPEDIZIONE TELEFONO FAX E-MAIL/SITO INTERNET PREVALENTE ISCRIZIONE A.V. AIUTIAMOCI A VIVERE ONLUS C/O C.D.R. SRL ASSISTENZA 1 - SOCIO- VIA MONTEVERDE, 22 VIA A. GALEAZZO, 7 RICOVERATI IN ASSISTENZIALE ACQUI TERME 15011 15011 ACQUI TERME (AL) 0144-324996 0144-356596 www.aiutiamociavivere.it OSPEDALE 25/06/2003 ALESSANDRIA MISSIONARIA 1 - SOCIO- VIA VESCOVADO, 3 VIA VESCOVADO, 3 ASSISTENZIALE ALESSANDRIA 15121 15121 ALESSANDRIA (AL) 0131-512222 0131-444897 [email protected] SOSTEGNO FAMILIARE 27/09/2002 ALLEANZE PER L'AUTISMO VIA PAOLO SACCO, 16 1 - SOCIO- VIA PAOLO SACCO, 16 C/O GRIMALDI ASSISTENZIALE ALESSANDRIA 15121 15121 ALESSANDRIA (AL) 0131-347683 - SOSTEGNO FAMILIARE 13/09/2005 ALT 76 - ASSOCIAZIONE LOTTA ALLE TOSSICODIPENDENZE 1 - SOCIO- VIA DEL CARMINE, 8 VIA DEL CARMINE, 8 ASCOLTO ASSISTENZIALE CASALE MONFERRATO 15033 15033 CASALE MONFERRATO (AL) 0142-461519 0142-435751 [email protected] TELEFONICO 24/09/2002 C/O ISTITUTO SUORE AMICI MADRE BELTRAMI IMMACOLATINE 1 - SOCIO- VIA TORTONA, 27 VIA TORTONA, 27 ACCOGLIENZA ASSISTENZIALE ALESSANDRIA 15100 15100 ALESSANDRIA (AL) - - RESIDENZIALE 04/08/2000 AQUERO 1 - SOCIO- VIA PLANA, 49 VIA PLANA, 49 SOSTEGNO PERSONE ASSISTENZIALE ALESSANDRIA 15121 15121 ALESSANDRIA (AL) 0131-441080 - [email protected] IN DIFFICOLTA' 12/11/2004 ASSOC.
    [Show full text]
  • Web Browsing and Communication Notes
    digital literacy movement e - learning building modern society ITdesk.info – project of computer e-education with open access human rights to e - inclusion education and information open access Web Browsing and Communication Notes Main title: ITdesk.info – project of computer e-education with open access Subtitle: Web Browsing and Communication, notes Expert reviwer: Supreet Kaur Translator: Gorana Celebic Proofreading: Ana Dzaja Cover: Silvija Bunic Publisher: Open Society for Idea Exchange (ODRAZI), Zagreb ISBN: 978-953-7908-18-8 Place and year of publication: Zagreb, 2011. Copyright: Feel free to copy, print, and further distribute this publication entirely or partly, including to the purpose of organized education, whether in public or private educational organizations, but exclusively for noncommercial purposes (i.e. free of charge to end users using this publication) and with attribution of the source (source: www.ITdesk.info - project of computer e-education with open access). Derivative works without prior approval of the copyright holder (NGO Open Society for Idea Exchange) are not permitted. Permission may be granted through the following email address: [email protected] ITdesk.info – project of computer e-education with open access Preface Today’s society is shaped by sudden growth and development of the information technology (IT) resulting with its great dependency on the knowledge and competence of individuals from the IT area. Although this dependency is growing day by day, the human right to education and information is not extended to the IT area. Problems that are affecting society as a whole are emerging, creating gaps and distancing people from the main reason and motivation for advancement-opportunity.
    [Show full text]
  • Media Center Oriented Linux Operating System
    Media Center oriented Linux Operating System Tudor MIU, Olivia STANESCU, Ana CONSTANTIN, Sorin LACRIŢEANU, Roxana GRIGORE, Domnina BURCA, Tudor CONSTANTINESCU, Alexandru RADOVICI University “Politehnica” of Bucharest Faculty of Engineering in Foreign Languages [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], , [email protected] Abstract: Nowadays there is a high demand of computer controller multimedia home systems. A great variety of computer software media center systems is available on the market, software which transforms an ordinary computer into a home media system. This means it adds some functionality to the normal computer. Our goal is to develop such a user-friendly intuitive system, dedicated for home media centers. In contrast with other proprietary approaches (Windows Media Center, Apple TV), we are building an entire operating system specialized on this. It is based on the Linux kernel, thus providing high portability and flexibility at a very low cost. The system is designed to work out of the box (plug it in and use it), needing zero configurations (no human configuration as much as possible) and no installation (Linux-live system, works from a CD, DVD or USB device). The user interface is not more complicated than a generic TV user interface. In this aim, the file system is hidden from the user, being replaced with an intuitive media library, the driver configurations is done automatically, network configuration is also handled without user actions (as much as possible). Key-words: OS, media center, Linux, multimedia, portable, intuitive, free, open-source 1.
    [Show full text]