Difference between revisions of "Raspberry Pi"

From Sketching with Hardware at LMU Wiki
Jump to navigation Jump to search
Line 1: Line 1:
There are different version of the [Raspberry Pi https://www.raspberrypi.org/], e.g.
+
There are different version of the Raspberry Pi https://www.raspberrypi.org/, e.g.
 
* Raspberry Pi 4 Model B
 
* Raspberry Pi 4 Model B
 
* Raspberry Pi Zero W
 
* Raspberry Pi Zero W
Line 12: Line 12:
 
For programming, we will use python.
 
For programming, we will use python.
  
On the Raspberry Pi, you may want to look at the following library
+
For controlling the Pins on the Raspberry Pi, you may want to look at the following library
* [[RPi.GPIO https://pypi.org/project/RPi.GPIO/]]
+
* RPi.GPIO https://pypi.org/project/RPi.GPIO/
** [[Examples of RPi.GPIO https://sourceforge.net/p/raspberry-gpio-python/wiki/Examples/]]
+
** Examples of RPi.GPIO https://sourceforge.net/p/raspberry-gpio-python/wiki/Examples/
* [[gpiozero access to GPIO https://gpiozero.readthedocs.io/en/stable/]]
+
* gpiozero access to GPIO https://gpiozero.readthedocs.io/en/stable/

Revision as of 18:22, 5 November 2020

There are different version of the Raspberry Pi https://www.raspberrypi.org/, e.g.

  • Raspberry Pi 4 Model B
  • Raspberry Pi Zero W
  • Raspberry Pi Zero
  • Raspberry Pi 400
  • Raspberry Pi 3 Model B

The Raspberry Pi is a Linux computer that has a multitude of connectors and in particular, it provides GPIO pins. The connector (HAT) provides an easy way to add your own sensors and actuators and there are many boars that can be connected.

Audio input and output are not very good, hence we recommend using a USB Sound Adapter (the 5€ versions work very well).

For programming, we will use python.

For controlling the Pins on the Raspberry Pi, you may want to look at the following library