Raspberry Pi

From TBP Wiki
Jump to: navigation, search

The Raspberry Pi is a series of small single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and in developing countries. The original model became far more popular than anticipated, selling outside its target market for uses such as robotics. It does not include peripherals (such as keyboards, mice and cases). However, some accessories have been included in several official and unofficial bundles.

According to the Raspberry Pi Foundation, over 5 million Raspberry Pis were sold by February 2015, making it the best-selling British computer. By November 2016 they had sold 11 million units, and 12.5m by March 2017, making it the third best-selling "general purpose computer". In July 2017, sales reached nearly 15 million.

They are made in a Sony factory in Pencoed, Wales.

Backups

You can make backups of Pi SD cards with the following:

   dd if=/dev/sdb | gzip > backup.img.gz

You can restore those backups with this:

   cat backup.img.gz | gunzip | dd of=/dev/sdb

Turn off HDMI to save power

   /opt/vc/bin/tvservice -off

PiRadio

Start the PiRadio with:

   avconv -i '/home/username/pirado/90s.mp3' -ac 1 -ar 22050 -b 352k -f wav - | OLD
   /home/username/pirado/fm_transmitter 97.0 -

FM Transmitter

   cd /home/username/fm_transmitter ; sudo python ./PiStation.py -f 100.3 90s.mp3

Temperature

Check the temperature of the CPU:

   vcgencmd measure_temp