Difference between revisions of "Raspberry Pi"

From Organic Design wiki
(See also: Backing up and restoring the sdcard)
(Snips - the first Private by Design voice assistant that runs on your Raspberry PiSee also)
Line 49: Line 49:
 
|[[File:NeedMorePower.jpg]]
 
|[[File:NeedMorePower.jpg]]
 
}}
 
}}
 +
 +
== Pi based projects ==
 +
*[http://learn.adafruit.com/onion-pi?view=all Onion Pi] ''- TOR on Pi''
 +
*[https://makers.snips.ai/ Snips] ''- the first Private by Design voice assistant that runs on your Raspberry Pi''
 +
*[https://pi-hole.net/ pi-hole] ''- network-wide ad blocking''
 +
*[https://www.youtube.com/watch?v=irWQYYEUBWk Kano OS] ''- Kids OS for Raspberry Pi''
 +
*[[Charge controller project]]
  
 
== See also ==
 
== See also ==
 
*[http://www.raspberrypi.org/about Raspberry Pi Foundation]
 
*[http://www.raspberrypi.org/about Raspberry Pi Foundation]
 
*[http://www.h2g2.com/approved_entry/A13735596 Introducing the Raspberry Pi]
 
*[http://www.h2g2.com/approved_entry/A13735596 Introducing the Raspberry Pi]
*[[Charge controller project]]
 
*[http://learn.adafruit.com/onion-pi?view=all Onion Pi] ''- TOR on Pi''
 
 
*[[Arduino with linux]]
 
*[[Arduino with linux]]
 
*[http://www.raspberrypi.org/archives/6561 Quake III bounty: we have a winner!]
 
*[http://www.raspberrypi.org/archives/6561 Quake III bounty: we have a winner!]
 
*[https://developer.nvidia.com/jetson-tk1 Jetson TK1 Development Kit]
 
*[https://developer.nvidia.com/jetson-tk1 Jetson TK1 Development Kit]
*[https://www.youtube.com/watch?v=irWQYYEUBWk Kano OS] ''- Kids OS for Raspberry Pi''
 
 
*[https://github.com/EthEmbedded/Raspi-Eth-Install Installing Ethereum on the Raspberry Pi] ''- see also [[Ethereum]]''
 
*[https://github.com/EthEmbedded/Raspi-Eth-Install Installing Ethereum on the Raspberry Pi] ''- see also [[Ethereum]]''
 
*[https://www.raspberrypi.org/blog/raspberry-pi-zero/ Raspberry Pi Zero: the $5 computer]
 
*[https://www.raspberrypi.org/blog/raspberry-pi-zero/ Raspberry Pi Zero: the $5 computer]
 
*[http://makezine.com/2015/11/28/chip-vs-pi-zero/ CHIP vs Pi Zero]
 
*[http://makezine.com/2015/11/28/chip-vs-pi-zero/ CHIP vs Pi Zero]
 
*[https://hobbytronics.pk/raspbian-stretch-headless-setup/ Headless Pi]
 
*[https://hobbytronics.pk/raspbian-stretch-headless-setup/ Headless Pi]
*[https://pi-hole.net/ pi-hole] ''- network-wide ad blocking''
 
 
*[https://ownyourbits.com/2019/02/02/whats-wrong-with-the-raspberry-pi/ Some bad points about the Pi]
 
*[https://ownyourbits.com/2019/02/02/whats-wrong-with-the-raspberry-pi/ Some bad points about the Pi]
 
*[http://ideaheap.com/2013/07/stopping-sd-card-corruption-on-a-raspberry-pi/ Software solution to harden against spontaneous power loss]
 
*[http://ideaheap.com/2013/07/stopping-sd-card-corruption-on-a-raspberry-pi/ Software solution to harden against spontaneous power loss]
 
*[http://referencedesigner.com/blog/raspberry-pi-sd-card-power-off-corruption-and-solution/6662/ Hardware solution to harden against spontaneous power loss]
 
*[http://referencedesigner.com/blog/raspberry-pi-sd-card-power-off-corruption-and-solution/6662/ Hardware solution to harden against spontaneous power loss]
 
*[https://ownyourbits.com/nextcloudpi/#download Other more powerful options for a similar cost]
 
*[https://ownyourbits.com/nextcloudpi/#download Other more powerful options for a similar cost]
*[http://kamilslab.com/2017/02/15/how-to-backup-the-raspberry-pi-sd-card-using-linux/ Backing up and restoring the sdcard]
+
*[http://kamilslab.com/2017/02/15/how-to-backup-the-raspberry-pi-sd-card-using-linux/ Backing up and restoring the SDcard]
 
[[Category:Hardware]]
 
[[Category:Hardware]]

Revision as of 12:39, 13 April 2019

RaspberrypiAnim.png

The Raspberry Pi is a credit-card-sized single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of promoting the teaching of basic computer science in schools. The Raspberry Pi is manufactured through licensed manufacturing deals with Element 14/Farnell and RS. Both of these companies sell the Raspberry Pi online.

The Raspberry Pi has a Broadcom BCM2835 system on a chip (SoC), which includes a 700MHz ARM11 processor (The firmware includes a number of "Turbo" modes so that the user can attempt overclocking, up to 1 GHz, without affecting the warranty), VideoCore IV GPU, and was originally shipped with 256 megabytes of RAM, later upgraded to 512MB. It does not include a built-in hard disk or SSD, but uses an SD card for booting and long-term storage. The Foundation's goal is to offer two versions, priced at US$25 and US$35. The Foundation started accepting orders for the higher priced model B on 29 February 2012, and the lower cost model A on 4 February 2013.

RaspberryPi.jpg

The Foundation provides Debian and Arch Linux ARM distributions for download. Also planned are tools for supporting Python as the main programming language, with support for BBC BASIC, C, and Perl. On 17 December 2012 the Raspberry Pi Foundation, in collaboration with IndieCity and Velocix, opened the "Pi Store", as a "one-stop shop for all your Raspberry Pi (software) needs". Using an application included in Raspbian, users can browse through several categories and download what they want. Software can also be uploaded for moderation and release.

How it came about

The original idea in 2006 was a response to the gradual drop in computing skills seen in students applying for computing degrees at Cambridge. Everyone knew how to use Microsoft Word, PowerPoint, Excel, Access; they didn't know much about coding, though, or what actually happened inside the machine.

Those familiar with schools in the 1980s will know they were full of BBC Micro computers, and everyone learnt how to write programs in BASIC. Computer games back then ran on computers that were practically built for coding, and plenty of amateur enthusiasts now work in the computer science industry. Sadly, as computers have become more complicated, school lessons have changed to train students in simple computer usage, without understanding what goes on underneath. The sheer complexity and expense of computers also means that kids aren't encouraged to fiddle with them, and purpose-built games consoles now dominate where Sinclair ZXs, Amstrads and Commodore Amigas once stood.

Thus, the solution: make a cheap but very capable computer that can be used in classrooms, that can be replaced easily if broken, and that lets you play with computer code whether at school or at home. Make it so it plugs into the TV at home, like computers used to do.

Raspbian GNU/Linux

Raspbian is a Debian variant based on the ARM hard-float (armhf)-Debian 7 'Wheezy' architecture port but optimised for the ARMv6 instruction set of the Raspberry Pi hardware. Raspbian provides over 35,000 available deb packages pre-compiled for easy installation on a Raspberry Pi computer, specifically tuned for optimal performance on the Raspberry Pi ARM11 hardware. The Raspbian distribution basically contains the LXDE desktop environment, the Openbox window manager, the Midori web browser, software development tools and example source code for multimedia functions. Raspbian is a project of a small, dedicated team of developers, and is not affiliated with the Raspberry Pi Foundation.

We'll be installing the Raspbian Server Edition (RSEv2.2) on our Pi, which is a stripped down version of Raspbian with other software packages bundled as compared to the usual desktop-oriented Raspbian distribution. In total, 242 software packages were removed from the original version of Raspbian.

Useful links

Docker

rPi Docker images

External drives

Adding external drives to be mounted on boot in the Pi seems to be a bit dodgy sometimes, I've been having problems with transfers of large data freezing after a few minutes and then the drive finally being remounted in read-only. I didn't get the errors from the log unfortunately, but so far I've found nofail,noatime 0 0 seems to give the best results for an external mechanical 2.5" disk (defaults, 0 2 was not good).

This problem was a power supply issue as syslog is showing a lot of under voltage warnings, when using a 1A cellphone charger, I tried a 3.1A "fast charger" from an African on the street which worked a bit better, but still ran nto the same problem. Eventually I found that you need to use an official Raspberry Pi power supply because they have 5.1v output to account for this voltage drop that happens regardless of the current your power supply produces.

PiBackie.jpg
NeedMorePower.jpg

Pi based projects

See also