0% found this document useful (0 votes)
2 views9 pages

RPi Basic

The document provides a comprehensive guide on getting started with Raspberry Pi, covering hardware and software requirements, OS installation, and remote control via SSH. It also details the installation of Python libraries, including OpenCV for real-time image processing, and provides examples for using GPIO. Key commands and steps for setup and library installation are included for users to follow.

Uploaded by

Thinzar Oo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views9 pages

RPi Basic

The document provides a comprehensive guide on getting started with Raspberry Pi, covering hardware and software requirements, OS installation, and remote control via SSH. It also details the installation of Python libraries, including OpenCV for real-time image processing, and provides examples for using GPIO. Key commands and steps for setup and library installation are included for users to follow.

Uploaded by

Thinzar Oo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Getting started with Raspberry Pi

Reference : [Link]
: [Link]
✓ About Raspberry Pi and requirements
✓ OS installation
✓ SSH (Secure Shell)
✓ Python Libraries
✓ What is OpenCV?
✓ How to install modules?
✓ OpenCV library installation
✓ Examples
Hardware Software
• Raspberry Pi • Raspbian OS
• 5V/2.5A Adaptor • SD card formatter
• Micro SD card (8GB) • Disk Imager
• SD card reader
• Monitor
• VGA to HDMI adaptor
• Keyboard
• Mouse
• Ethernet Cable
GPIO ➔ General Purpose Input/Output Pin
OS installation

• Format the SD card with SD card formatter.

• Write the OS image file into SD card with Disk Imager.

• Setting up the Raspberry Pi.


Controlling the Pi Remotely with SSH (Secure Shell)

• You can access the command line of a Raspberry Pi remotely from another computer or
device on the same network using SSH.
• Use VNC server for SSH.

✓ sudo apt-get update ✓ sudo nano /home/pi/.bashrc


✓ sudo apt-get upgrade ✓ Add “vncserver :1” to the last line
✓ sudo raspi-config
✓ sudo ifconfig
✓ sudo apt-get install tightvncserver
✓ vncserver :1
Python Libraries
✓ NumPy
✓ SciPy
✓ Matplotlib
✓ PIL and Pillow What is OpenCV?
✓ OpenCV
✓ SimpleCV The main goal of OpenCV is real-time image processing.

✓ Mahotas
✓ Scikit-learn
✓ Scikit-image
✓ Ilastik
✓ Pprocess
✓ h5Py
How to install libraries?
✓ Numpy - pip install numpy
✓ Matplotlib - sudo apt-get install python-matplotlib
✓ OpenCV

How to install OpenCV library?


✓ OpenCV itself takes approximately 4 hours to compile.

How to run the scripts?


[Link] example

1. Install [Link] module


• sudo apt-get update
• sudo apt-get install [Link] [Link]
• pip install [Link]
2. Import the module
3. Choose Board(port) or BCM (pin)
4. Setup input
5. Setup output

You might also like