+ All Categories
Home > Documents > Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output...

Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output...

Date post: 29-Jul-2020
Category:
Upload: others
View: 17 times
Download: 0 times
Share this document with a friend
22
Coding With The Raspberry Pi Session #1
Transcript
Page 1: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Coding With The

Raspberry Pi

Session #1

Page 2: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Introduction (Who Are We?)

Des Plaines based Software Development & IT consulting firm

Engineers by nature passionate about technology

Excited to share with our community how technology can improve our quality

of life

Page 3: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Introduction (The Raspberry Pi)

What is the Raspberry Pi?

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 of its target

market for uses such as robotics.

Page 4: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Introduction (The Raspberry Pi)

Page 5: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Introduction (The Raspberry Pi)

The General purpose input-output (GPIO)

header

The reason why the Raspberry Pi is so popular in

robotics, home-brew projects, schools, etc.. is

the GPIO header

The 40 GPIO pins are found on every Raspberry

Pi and can be individually addressable via

custom written code making it extremely

versatile.

Page 6: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Getting Started (Plugging it in)

To get started you need to plug in the following:

Display

Mouse and Keyboard

Power

MicroSD card

Page 7: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Getting Started (The OS)

The main operating system for the Raspberry Pi is called RASPBIAN

Raspbian comes pre-installed with plenty of software for education, programming and

general use. It has Python, Scratch, Sonic Pi, Java, Mathematica and more.

There are over 30 “flavors” of Raspbian designed for specific use cases like Home Theater

Display, Digital Photo frame, Internet connected Radio Player, Home Automation, Retro

Gaming, etc.

We will show you some of those later.

Page 8: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Getting Started (Downloading the OS)

You can download a free copy of Raspbian OS by

going to https://www.raspberrypi.org/downloads/

Click on the Raspbian icon

Under Raspbian stretch with desktop

Click on the Download ZIP button

Page 9: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Getting Started (Installing the OS)

In order to install Raspbian onto the MicroSD card you

need Etcher.

Go to https://etcher.io/ and download the software.

Page 10: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Getting Started (Exploring the OS)

Application

Samples

Page 11: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

OS Options (Volumio – Music Player)

https://volumio.org/

Page 12: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

OS Options (OSMC – Media Player)

https://osmc.tv/

Page 13: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

OS Options (RetroPie – Game Emulator)

https://retropie.org.uk/

Page 14: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

OS Options (Android)

https://developer.android.com/things/hardware/raspberrypi.html

Page 15: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Noteworthy Projects (Raspberry Pi Home Surveillance)

Project Link: http://bit.ly/2hCupnA

A Raspberry Pi Home Surveillance system based

on Python with motion detection, recording and

email alerts.

Page 16: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Noteworthy Projects (Build your own Amazon Echo)

Project Link: http://bit.ly/2je5wSW

A homemade version of the Amazon Echo

product based on the Raspberry Pi and Amazon’s

Alexa Services.

Page 17: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Getting Started (Raspberry Pi)

Raspbian

Demo

Page 18: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Getting Started (Installing the OS)

Insert the MicroSD card with the provided

adapter into the SD card slot on your laptop

Open etcher and select the

downloaded Raspbian Image

Click on Flash! to upload the

software to the SD card.

Once the upload completes

put the MicroSD card into the

Raspberry Pi

Page 19: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Getting Started (Booting the OS)

Once the MicroSD card has been

inserted into the Raspberry Pi and all

cables are attached go ahead and

plug in the power cable

You should see a rainbow image

followed by Raspbian Boot-up text.

Page 20: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Getting Started (Exploring the OS)

https://www.raspberrypi.org/

Page 21: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Library Resources

Lynda.com video classes. Raspberry Pi: GPIO, Home Monitoring and Control, Build a Media Center, RetroPi

videos on many programming languages & Linux

lynda.com/portal/sip?org=dppl.org

Raspberry Pi Books for project inspiration

Dozens available: http://bit.ly/2zp3OlN

Learn to Program with Safari Books

Online access to premium titles on many programming languages

dppl.org/resources/subjects/online-learning

Page 22: Coding With The Raspberry Pi · Introduction (The Raspberry Pi) The General purpose input-output (GPIO) header The reason why the Raspberry Pi is so popular in robotics, home-brew

Questions?

Thank you!


Recommended