Raspberry Pi User Guide
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
INSTALL ARCH LINUX ARM for a SIMPLE LAN SERVER the Hardware
INSTALL ARCH LINUX ARM FOR A SIMPLE LAN SERVER The Hardware At the top, two possibilities for the DATA drive which will store all your files. A USB-3 SSD external housing with a SSD of your choice and size. In this case a Samsung 850 500GB SSD. OR if more storage is needed, a USB-3 3.5 inch external hard drive enclosure, in this case with a 2 TB WD Red Label hard drive. Next is a 5 VDC 6 Amp power brick for the Odroid-XU4, not shown is a 12 VDC power supply included with the 3.5 inch hard drive if used. At the bottom, a USB SD Reader. A micro SD to SD adapter. A micro SD card OR an emmc to micro SD adapter with an emmc card for the Operating System. Then the Odroid- XU4 SBC (Single Board Computer). With optional Real Time Clock battery, 40 mm cooling fan, and a 1/4 inch plywood base with stand offs to protect the components on the bottom. Of course, any ARM device that Arch Linux Arm supports can be used, such as a Raspberry PI 4 or the new Odroid N2 with 4 GB RAM, or what ever. Just go to the Arch Linux Arm site, https://archlinuxarm.org/ Hover over "Platforms" then the Architecture, brand name, etc. to see if your device is supported. Click on your device and get a page with overview and installation tabs. Page 1 of 12 EndeavourOS_Server_ARM.odt For security reasons, this server is not intended to be accessed from the internet and should be connected directly by LAN cable to a router or to a switch connected to the router. -
Raspberry Pi: Ubuntu Retro Remix, Raspex Kodi OS for Raspberry Pi and Pi Compute Module 4
Published on Tux Machines (http://www.tuxmachines.org) Home > content > Raspberry Pi: Ubuntu Retro Remix, RaspEX Kodi OS for Raspberry Pi and Pi Compute Module 4 Raspberry Pi: Ubuntu Retro Remix, RaspEX Kodi OS for Raspberry Pi and Pi Compute Module 4 By Roy Schestowitz Created 27/07/2020 - 2:37am Submitted by Roy Schestowitz on Monday 27th of July 2020 02:37:18 AM Filed under GNU [1] Linux [2] Hardware [3] Meet Ubuntu Retro Remix, an Ubuntu Distro to Turn Your Raspberry Pi into a Retro Gaming Console[4] Meet Ubuntu Retro Remix, a new, upcoming Ubuntu distro designed for retro gamers and Raspberry Pi fans. It?s an unofficial remix of Ubuntu that will turn your Raspberry Pi into a retro gaming machine. After building the Rolling Rhino, a command-line tool that lets you convert your regular Ubuntu installation into a rolling release, Canonical?s Ubuntu Desktop lead Martin Wimpress is now building a new Ubuntu-based distro specifically designed for Raspberry Pi computers and retro gaming, called Ubuntu Retro Remix. Why retro gaming? Because Martin Wimpress is a hardcore retro gamer who built several Raspberry Pi retro games consoles using cases that imitate the classic retro gaming consoles. RaspEX Kodi for Rpi4, Rpi3 and Rpi2 with LXDE Desktop and Kodi 18.7 Media Center ?Leia? with Netflix, YouTube, Plex and Amazon Video addons ? Build 200713 (32-bit) and Build 200726 (64-bit)[5] The system is made especially for the new Raspberry Pi 4 (8GB, 4GB and 2GB). RaspEX Kodi is based on Debian 11 Bullseye respectively Debian 10 Buster, Raspberry Pi OS (previously called Raspbian) and Kodi Media Center. -
7-Inch DIY Touch Screen
7-inch DIY Touch Screen www.sunfounder.com Jul 15, 2021 CONTENTS 1 Components List 3 2 Install the Raspberry Pi OS 5 3 Connect the Screen to the Raspberry Pi 11 4 Settings for Raspberry Pi 15 4.1 Adjust the Resolution.......................................... 15 4.2 Install Virtual Keyboard on Raspberry Pi................................ 18 4.3 Right Click on Raspberry Pi....................................... 23 5 Connect the Screen to the PC 25 6 Parameters 27 6.1 General Information........................................... 28 6.2 Absolute Maximum Ratings....................................... 29 6.3 CTP Characteristics........................................... 30 6.4 Interface Description........................................... 30 6.5 HDMI Interface Description....................................... 31 6.6 Reliability Conditions.......................................... 33 7 FAQ 35 8 Copyright Notice 37 i ii 7-inch DIY Touch Screen 7-inch touch screen supports Raspbian/Win7/Win8/Win10(Plug and play), Android/Linux (need to be configured first). Equipped with Micro USB and HDMI port support, the screen can be connected to the device via HDMI interface and be powered via USB. Achieving touch function powered by USB doesn’t need power cord or drive-free. CONTENTS 1 7-inch DIY Touch Screen 2 CONTENTS 3 7-inch DIY Touch Screen CHAPTER ONE COMPONENTS LIST 4 Chapter 1. Components List CHAPTER TWO INSTALL THE RASPBERRY PI OS In this chapter, we firstly learn to write the Raspberry Pi OS to your Micro SD card. You can check the complete tutorial on the official website of the Raspberry Pi: https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up. Note: If you have already done it, you can skip this chapter. Required Components 1 * Micro SD Card 1 * Personal Computer 1 * Micro SD Card Reader Step 1 Raspberry Pi have developed a graphical SD card writing tool that works on Mac OS, Ubuntu 18.04 and Windows, and is the easiest option for most users as it will download the image and install it automatically to the SD card. -
Iot Configuration for Industrial and Domestic Water Saving Monitoring
ARISTOTLE UNIVERSITY OF THESSALONÍKI COMPUTER SCIENCE DEPARTMENT IoT Configuration for Industrial and Domestic Water Saving Monitoring Iraklis Moutidis Advisor: Ioannis Stamelos 1 Abstract The main objective of the thesis is to implement a water flow monitoring system, using a water flow sensor, the Arduino prototyping board and the Raspberry Pi board. The system should be efficient regarding the electricity consumption and flexible regarding the water installation it will be placed. The information obtained from the sensor(s) is uploaded to a cloud platform (Thingspeak.com) and also locally stored on the Raspberry Pi, which is used as a server for any boards like the Arduino that control a sensor. The data can be further processed to obtain more information about the water consumption of the installation. 2 Contents 1. Introduction………………………..………………………………………..………..……6 1.1 Research Background……………………………………………………………….6 1.2 Problem Statement…………………………………………………………………..7 1.3 Objective of the Study……………………………………………………………….8 1.4 Scope of the Study…………………………………………………………………..8 2. Wireless Sensor Networks………….………………………..……………………….9 2.1 Introduction…….…...………………………………………………………………...9 2.2 Types of Wireless Sensor Networks……………………………………………...10 2.3 Applications………………………………………………………………………….12 2.3.1 Military Applications…….…………………………………………………13 2.3.2 Environmental Monitoring………………………………………………..13 2.3.3 Inventory Monitoring……………………………………………………...15 2.3.4 Health Applications………………………………………………………..16 2.4 Internal Sensor System……………..……………………………………………..16 -
Energy-Efficient ARM64 Cluster with Cryptanalytic Applications
Energy-Efficient ARM64 Cluster with Cryptanalytic Applications 80 Cores That Do Not Cost You an ARM and a Leg Thom Wiggers Institute of Computing and Information Science, Radboud University, The Netherlands Abstract Getting a lot of CPU power used to be an expensive under- taking. Servers with many cores cost a lot of money and consume large amounts of energy. The developments in hardware for mobile devices has resulted in a surge in relatively cheap, powerful, and low-energy CPUs. In this paper we show how to build a low-energy, eighty-core cluster built around twenty ODROID-C2 development boards for under 1500 USD. The ODROID-C2 is a 46 USD microcomputer that provides a 1.536 GHz quad-core Cortex-A53-based CPU and 2 GB of RAM. We investigate the cluster's application to cryptanalysis by implementing Pollard's Rho method to tackle the Certicom ECC2K-130 elliptic curve challenge. We optimise software from the Breaking ECC2K-130 technical report for the Cortex-A53. To do so, we show how to use microbenchmarking to derive the needed instruction characteristics which ARM neglected to document for the public. The implementation of the ECC2K-130 attack finally allows us to compare the proposed platform to various other platforms, including \classical" desktop CPUs, GPUs and FPGAs. Although it may still be slower than for example FPGAs, our cluster still provides a lot of value for money. Keywords: ARM, compute cluster, cryptanalysis, elliptic curve crypto- graphy, ECC2K-130 1 Introduction Bigger is not always better. Traditionally large computational tasks have been deployed on huge, expensive clusters. -
Raspberry Pi from Scratch – 1
Raspberry Pi from scratch – 1 Christophe Blaess Cet article a été publié dans le numéro 155 (décembre 2012) de Gnu Linux Magazine France. Le succès du petit système Raspberry Pi n'est plus à démontrer. Alliant un prix de revient modique et un potentiel informatique prometteur, il s'impose comme une base expérimentale incontournable pour Linux embarqué. Mais il est dommage de se contenter d'utiliser des images ou des packages précompilés sur cette plate-forme dédiée aux hackers... Je vous propose de construire votre système entièrement personnalisé en partant de zéro. Découverte du Raspberry Pi Dans le courrier du matin une enveloppe blanche dépasse, un peu plus épaisse que les autres et portant la mention « Royal Mail International ». Expéditeur : Farnell. À l'intérieur une petite boîte en carton contenant la fameuse carte Raspberry Pi au format d'une carte de crédit. Pas de notice ni de documentation, toutes les informations seront à chercher sur Internet, essentiellement dans des forums ou des wikis. Mon premier réflexe est évidemment de vérifier si la carte fonctionne. Je branche donc dans le connecteur micro-USB le câble du chargeur de mon téléphone. Une LED rouge s'allume instantanément et aucune autre activité ne se manifeste. Le Raspberry Pi ne contient pas de système d'exploitation intégré (contrairement par exemple des Beagleboard, Pandaboard, Igep, etc. qui embarquent d'origine un petit système Linux). Il n'y a d'ailleurs pas de mémoire flash accessible et nous devrons ajouter une petite carte SD contenant tout le système d'exploitation. Pour être honnête, je dois avouer que j'ai téléchargé à ce stade une image Arch Linux Arm sur http://www.raspberrypi.org/downloads que j'ai copiée sur une carte SD pour vérifier le bon fonctionnement de ma carte, mais j'ai rapidement décidé de l'effacer et de reconstruire le système en repartant de zéro. -
Install Bluez on the Raspberry Pi Created by Tony Dicola
Install bluez on the Raspberry Pi Created by Tony DiCola Last updated on 2020-09-17 02:45:33 PM EDT Overview This Guide is obsolete. Modern versions of Raspberry Pi OS (formerly Raspbian) come with bluez already installed and enabled. The steps described in this Guide are no longer necessary. This guide will walk through how to compile and install bluez (https://adafru.it/eDE) on the Raspberry Pi. Bluez is the Linux Bluetooth system and allows a Raspberry Pi to communicate with Bluetooth classic and Bluetooth low energy (LE) devices. Although bluez is quite full-featured it can be somewhat challenging to install and use. However this guide will show you step-by-step what you need to do to compile and install the latest version of bluez. Grab a Bluetooth USB adapter, like this handy Bluetooth 4.0 USB module (https://adafru.it/ecb), and follow this guide to get setup using bluez in almost no time. As a companion to this guide, check out the following video (https://adafru.it/lEC) which dives into Bluetooth low energy and installing and using bluez on the Pi: In addition you might want to read this Introduction to Bluetooth Low Energy (https://adafru.it/iCS) guide for more information on BLE. You will also want to be familiar with the basics of using a Raspberry Pi, like loading an operating system on a microSD card and connecting to a command terminal on the Pi. Check out the learn Raspberry Pi series (https://adafru.it/dpe) for more information on the basics. -
Circuitpython on Linux and Raspberry Pi Created by Lady Ada
CircuitPython on Linux and Raspberry Pi Created by lady ada Last updated on 2021-07-29 02:06:31 PM EDT Guide Contents Guide Contents 2 Overview 4 Why CircuitPython? 4 CircuitPython on Microcontrollers 4 CircuitPython & RasPi 6 CircuitPython Libraries on Linux & Raspberry Pi 6 Wait, isn't there already something that does this - GPIO Zero? 7 What about other Linux SBCs? 7 Installing CircuitPython Libraries on Raspberry Pi 8 Prerequisite Pi Setup! 8 Update Your Pi and Python 8 Check I2C and SPI 10 Enabling Second SPI 10 Blinka Test 11 Digital I/O 12 Parts Used 12 Wiring 13 Blinky Time! 14 Button It Up 15 I2C Sensors & Devices 16 Parts Used 16 Wiring 17 Install the CircuitPython BME280 Library 18 Run that code! 19 I2C Clock Stretching 22 SPI Sensors & Devices 24 Reassigning the SPI Chip Enable Lines 25 Using the Second SPI Port 25 Parts Used 26 Wiring 27 Install the CircuitPython MAX31855 Library 28 Run that code! 29 UART / Serial 32 The Easy Way - An External USB-Serial Converter 32 The Hard Way - Using Built-in UART 34 Disabling Console & Enabling Serial 34 Install the CircuitPython GPS Library 36 Run that code! 37 PWM Outputs & Servos 40 Update Adafruit Blinka 40 Supported Pins 40 PWM - LEDs 40 Servo Control 41 pulseio Servo Control 42 adafruit_motor Servo Control 43 © Adafruit Industries https://learn.adafruit.com/circuitpython-on-raspberrypi-linux Page 2 of 61 More To Come! 44 CircuitPython & OrangePi 45 FAQ & Troubleshooting 46 Update Blinka/Platform Libraries 46 Getting an error message about "board" not found or "board" has no attribute 46 Mixed SPI mode devices 47 Why am I getting AttributeError: 'SpiDev' object has no attribute 'writebytes2'? 48 No Pullup/Pulldown support on some linux boards or MCP2221 49 Getting OSError: read error with MCP2221 50 Using FT232H with other FTDI devices. -
Raspberry Pi As Hardware In- and Outputs (GPIO)
A credit-card sized, $35 single-board computer. It runs linux from an SD card and has support for popular options for connection and peripherals (USB, Ethernet) as well Raspberry Pi as hardware in- and outputs (GPIO). It’s open-source and built for hacking. Raspberry Pi GPIO connector (P1) pinout +5V +5V GND GPIO14(TXD) GPIO15(RXD) GPIO18(PCM_CLK) GND GPIO23 GPIO24 GND GPIO25 GPIO8(CE0) GPIO7(CE1) GND GND +3.3V +3.3V GPIO17 GPIO27 GPIO22 GPIO0(SDA1) GPIO1(SCL1) GPIO9(MISO) GPIO10(MOSI) GPIO11(SCLK) GPIO4(GPCLK0) = changed since board revision 2 ACT SD Card activity indicator PWR Device is powered okay. FDX Full duplex connection RCA Composite Video Output Outputs to older TV’s 3.5mm Analog Audio Output headphones or amplifier For LNK Network link established Broadcom ARM CPU (700MHz) & 100 100MBit Ethernet connection Memory (512MB) DSI Screen Connector Broadcom Ethernet controller 2x Full Speed USB SD Memory Card 480MBit Contains Operating System Ethernet Network Micro USB Power Connection 100MBit Requires 5VDC / 800mA HDMI Video Output CSI Camera Connector Outputs screen to newer HD-TV’s Popular operating systems / distributions: of emulators, or as their tag-line says: old computers, classic games, consoles note that some pin and I2C port numbers of connector P1 have been modified and arcade on your Pi... Worth giving a try if you love vintage computers! between revisions! Raspbian “wheezy” http://bit.ly/cham-pi – Header P6 (left from the HDMI port) was added, short these two pins to reset This is the recommended distribution for beginners, based on the Raspbian the computer or wake it up when powered down with the “sudo halt” optimised version of Debian (a Linux distribution), containing development tools Other operating systems command. -
Raspberry Pi
Raspberry Pi #raspberry- pi 1 1: Raspberry Pi 2 2 Examples 2 SD 2 - Windows 2 - Hello World in C 4 4 Hello World - 4 IPv6 5 6 Mac Linux Raspberry Pi v2 v3 Arch Linux 6 2: Raspbian SSH 8 8 8 Examples 8 Windows SSH 8 . 8 3: scanbd (Raspbian) 11 Examples 11 11 11 scanbd 12 12 scanbd . 13 ' ' ? 13 scanbm xinetd 13 14 4: 16 16 Examples 16 Raspbian 16 Yocto 16 Windows 10 IoT 16 OSMC 16 LibreELEC 16 16 18 You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: raspberry-pi It is an unofficial and free Raspberry Pi ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official Raspberry Pi. The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners. Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to [email protected] https://riptutorial.com/ko/home 1 1: Raspberry Pi raspberry-pi . Stack Exchange "RPi" , . Exchange ( http://raspberrypi.stackexchange.com/) . raspberry-pi . Examples SD MicroSD (NOOBS Raspbian) OS . Raspberry Pi . -
1 Using ARM-Based Boards in a Second Year Course by Amanpreet
1 Using ARM-based boards in a second year course by Amanpreet Dhaliwal B.Sc., Punjab University Chandigarh (India)1998 M.Sc. (Physics), Punjabi University Patiala (India)2004 M.Tech., Punjabi University Patiala (India) 2007 Project Report Submitted in Partial Fulfillment of the Requirements for the Degree of MASTER OF SCIENCE in the Department of Computer Science c Amanpreet Dhaliwal 2015 University of Victoria All rights reserved. This report may not be reproduced in whole or in part, by photocopying or other means, without the permission of the author. Supervisory Committee Using ARM-based boards in a second year course by Amanpreet Dhaliwal B.Sc., Punjab University Chandigarh (India) 1998 M.Sc. (Physics), Punjabi University Patiala (India) 2004 M.Tech., Punjabi University Patiala (India) 2007 Dr. M. Serra, Supervisor Department of Computer Science Dr. J. C. Muzio, Member Department of Computer Science ii Dr. M. Serra, Supervisor Department of Computer Science Dr. J. C. Muzio, Member Department of Computer Science Abstract The Raspberry Pi and the Arduino have emerged as very interesting platforms to learn about the ARM processor and its programming environment, and to develop small systems. They are also fairly inexpensive and could be bought directly by students. In this project we investigate the suitability of using the Raspberry Pi as a platform for the assignments in Computer Science 230, a second year course which introduces computer architecture and uses low-level programming to provide hands-on experience with registers and CPU components. To accomplish this goal, all assignments for the last few years are implemented using the Raspberry Pi. -
Raspberry Pi Needs an Operating System, and the Preferred One for the Pi Is Linux
CHAPTER 2 Install an Operating System Like every computer, the Raspberry Pi needs an operating system, and the preferred one for the Pi is Linux. That’s partly because it’s free, but mainly it’s because it runs on the Pi’s ARM processor while most other operating systems work only on the Intel architecture. Still, not every Linux distribution will run on the Pi, because some do not support the Pi’s particular type of ARM processor. For example, you cannot install Ubuntu Linux on a Pi. So, in this chapter, you’ll first learn what your options are. Choosing an operating system is only a first step, because you also have to install it. The installation procedure on the Pi is quite different from what you’re probably used to, but it’s not difficult: you need to install the operating system on an SD card. In this chapter, we’re going to install the latest Debian Linux distribution, but the process is the same for all operating systems. You can actually create several SD cards, each with a different operating system, so at the end you’ll have a pretty versatile system that you can turn into completely different machines by simply replacing the card. 2.1 See What’s Available Linux is still the most popular choice for an operating system on the Pi, and it helps you to get the most out of the Pi. Also, many people are already familiar with Linux, while the other operating systems running on the Pi are a bit more exotic.