Raspberry Pi

Hans-Petter Halvorsen

What is Raspberry Pi?

The Raspberry Pi is a credit-card-sized computer that plugs into your TV and a keyboard. It is a capable little computer which can be used in electronics projects, and for many of the things that your desktop PC does.

Introduction to Raspberry Pi (YouTube) + PowerPoint (PDF) used in the Video

Raspberry Pi Installation and Remote Access (YouTube) + PowerPoint (PDF) used in the Video

Raspberry Pi - Overview of Remote Access Alternatives (PDF)


Raspberry Pi is very popular in IoT projects and applications.

Raspberry Pi Home Page



Want to buy a Raspberry Pi? You can buy it many places online, e.g., Kjell & Company (Norway), Elfa, RS, DigiKey, ebay, etc.

Raspberry 4 is the newest version of Raspberry Pi. In addition to the board you typically need a network cable, HDMI cable, a 5V micro USB Power-supply, SD memory card, a USB keyboard and mouse, a monitor/TV, some sensors, etc. If your computer dont have a SD card slot, you also need a SD card USB adapter.



Raspberry Pi + Python

The combination of the Raspberry Pi combined with the Python Programming language is very popular.

Raspberry Pi and Python

This is a textbook where you learn about Raspberry Pi and Python Programming with lots of Examples, Exercises, and Practical Applications. The focus is on the use of Python in combination with Raspberry Pi. Required theory is presented in addition to many practical examples and exercises in Python. This textbook is written in LaTeX.

This textbook is available as an "Early Preview" edition.

You find Source Code and additional Examples below.



Below you find different resources explaining and complements the different Python topics and examples within the textbook:

Raspberry Pi (YouTube) + PowerPoint (pdf) used in the Video

Raspberry Pi with Python (YouTube) + PowerPoint (pdf) used in the Video

Raspberry Pi GPIO with Python (YouTube coming soon) + PowerPoint (pdf) used in the Video

Raspberry Pi using SPI and I2C with Python (YouTube coming soon) + PowerPoint (pdf) used in the Video

Raspberry Pi and CircuitPython (YouTube coming soon) + PowerPoint (pdf) used in the Video


You find also all the videos above in this YouTube Playlist (Raspberry Pi and Python)


Additional Resources:

Raspberry Pi and AM2320 Temperature and Humidity Sensor with I2C Interface (PDF)

Raspberry Pi and AM2320 - Testing different existing Libraries (PDF)


Not all resources are ready at the moment, but new resources are released continuously. Stay tuned!


Here you will find more Python Resources



Raspberry Pi + MATLAB

You can also use MATLAB when working with Internet of Things (IoT), Arduino and Rapberry Pi.

Raspberry Pi with MATLAB (YouTube) + PowerPoint (PDF)


Raspberry Pi with MATLAB using SPI and I2C (YouTube) + PowerPoint (PDF) used in the Video. TC74 (I2C) and TMP36 with ADC MCP3002 (SPI) Examples are presented in the video/tutorial.


Download Raspberry Pi Support Package for MATLAB



Raspberry Pi + LabVIEW

In order to use LabVIEW in combination with Rasberry Pi, we can use LabVIEW LINX.

LabVIEW LINX and Raspberry Pi (YouTube) + PowerPoint (PDF)

LabVIEW LINX and Raspberry Pi - Part 2 (PDF) - PWM and Push Buttons

LabVIEW LINX and Raspberry Pi using SPI and I2C (PDF) - TC74 Temperature Sensor



Raspberry Pi Pico

Raspberry Pi Pico is a “downscaled” version of the original Raspberry Pi and is more comparable with Arduino compared to the original Raspberry Pi. You also need to use a downscaled version of Python, called MicroPython.

Raspberry Pi Pico Resources

Raspberry Pi Resources

Below you will find more interesting Raspberry Pi resources


Internet of Things

Industrial IT

Industrial IT resouces


Arduino resouces

IoT Projects

Here you find lots of interesting IoT Projects, etc.