Raspberry Pi
Total Page:16
File Type:pdf, Size:1020Kb
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..............................................................................................................................................