Join Brian Pichman as he uncovers the world of microcomputing; which are low cost, small computers (ranging from the size of a credit card to a stack of credit cards). Brian will cover Raspberry Pi's and how they can be used in your library; from attendance counters, event displays, library programming and more.
5. This is what’s
in Raspberry
Pi
USB Ports (Mouse, Keyboard, External Drive)
HDMI Port for Display
Ethernet Port
Bluetooth
Wireless LAN
SD Card Slot (which would be similar to your “hard drive”)
GPIO Port (the PINs)
General-purpose input/output
Power by USB Port
6. What is it?
The Raspberry Pi is a credit-card-sized computer and it’s
incredibly affordable.
It is a SoC (system on a chip – a single low voltage chip)
Does things that a common Desktop PC does, like spreadsheets,
word processing, browsing the internet, and playing games
Used by tinkerers, makers, and electronics enthusiasts for projects
that require more than a basic microcontroller (such asArduino
devices).
7. History
The Raspberry Pi Foundation is a charity founded in 2009 by Eben
Upton to promote the study of basic computer science in schools.
Originally designed to run Python (a programming language and
framework) (that’s where ”Pi” comes from).
Was to help spur the use of more CS students and learning the
tools of the 21st Century
Kids today didn’t experience the struggles of early computing; when
there was some level of coding and scripting required to actually run
the OS.
By understanding how computers work, you can solve more
problems using computers with a basic foundation.
Over 11 Million Raspberry Pi’s has been sold since November 2016!
13. WhatCan the
Camera Do?
Time-LapseVideos
Act as aWeb Camera
MiniVideo Camera
Still Photography
Home Security
Monitoring of Nature
14. Sense HAT
The Sense HAT has an 8×8 RGB LED matrix, a five-button joystick
and includes the following sensors:
Gyroscope
Accelerometer
Magnetometer
Temperature
Barometric pressure
Humidity
These are aboard the International Space Station until 2022
15. 7”
Touchscreen
Monitor
Use your Pi like a
tablet!
Work as an imbedded
project (like a smart
entertainment
system remote)
Touchscreen for 10
finger touch.
Only two connections
to the Pi are required;
power from the Pi’s
GPIO port and a
ribbon cable that
connects to the DSI
port present on all
Raspberry Pi’s
16. Mini Display
HAT
The 4DPI-24-HAT is a 2.4-inch 320 x 240 Primary Display HAT
which plugs directly on top of a Raspberry Pi and displays the
primary output which is normally sent to screen. It is also
touch sensastive
20. The default user is pi, and the
password is raspberry. You can
add users and change each
user's password.
21.
22.
23.
24.
25.
26.
27. Download the
OS ofChoice
to theSDCard
Go here: raspberrypi.org/downloads
Format SD card as FAT (if 8GB to 32GB)
If Over 64GB format as FAT32 (they are typically in an exFAT Format)
If Using NOOBS -> copy the zip contents to the Drive
If Using any other OS, you will want to install the image to the
drive.
Download Etcher https://etcher.io/
Follow Prompts in selecting the Image and then the SD Card
Finally insert card into Pi
In Raspberry Pi 1B+, 2B, 3B is microSDHC card slot. This slot
is compatible with maximum 32GB size. However some 64GB+
31. What you are
used to
Web Browser: Epiphany
Like Firefox
Office Applications: Libreoffice
Like Microsoft
Media Player:VLC
Would be similar to Quicktime / Media Player
sudo apt-get install vlc
32. Cool
Applications
within
Raspbian
Sonic-Pi
Sonic Pi is an open-source programming environment, designed for creating
new sounds with code in a live coding environment; it was developed by Dr
Sam Aaron at the University of Cambridge. He uses the software to perform
live with his band. This resource will help get you started with the basics of
Sonic Pi so that you can code your own music.
33. Cool
Applications
within
Raspbian
Scratch
Scratch is a visual programming tool which allows the user to create animations
and games with a drag-and-drop interface. It allows you to create your own
computer games, interactive stories, and animations using some programming
techniques without actually having to write code
34. Cool
Applications
within
Raspbian
Minecraft
Minecraft is a popular sandbox open world building game. A free version of Minecraft is
available for the Raspberry Pi; it also comes with a programming interface.This means
you can write commands and scripts in Python code to build things in the game
automatically. It's a great way to learn Python!
36. Cool
Applications
within
Raspbian
Mathematica
Mathematica is a computational programming tool used in science, maths, computing
and engineering first released in 1988. It is proprietary software that you can use for free
on the Raspberry Pi and has been bundled with Raspbian and NOOBS since late 2013.
39. The Basics:
You can control the boxes remotely – usingVNC or tools like
Weaved or Dataplicity
Your box can serve as a web server or a FTP Site
Media Centers, Smart Controllers, the list goes on.And that’s just
out of the box.
Librarians have used these to build Desktop PC’s for computer
labs at low costs.
41. OPACs
Monitor ($100)
Raspberry Pi ($35)
Some cabling, wiring, and powering on ($10)
Mouse and Keyboard ($25)
Compared to 300-600 for a desktop.
Set up the LinuxOS to be in Kiosk Mode
Which will load a browser window at boot.
Set it to your Card Catalog
You can configure time out settings, browser refreshers, etc. to keep
the browser window clean and clear after inactivity.
42. Library
Usages:
People
Counter
Need a Raspberry Pi, a “Motion Sensor”, and some simple coding
commands:
http://blog.ubidots.com/building-a-people-counter-with-raspberry-
pi-and-ubidots
53. RunningA
Server – LAMP
Stack
Running aWordPress Site
Will need to install and configureApache, MySQL, and PHP.
https://www.raspberrypi.org/learning/lamp-web-server-with-wordpress/
54. Using the
GPIO Boards
Programming
LEDs https://www.raspberrypi.org/learning/robot-antenna/worksheet/
from gpiozero import LED led
= LED(17)
https://www.raspberrypi.org/learning/physical-computing-with-python/worksheet/
55. LED and ButtonConnection
55
Parts
• Breadboard
• Button
• 1x 10K ohm pull-down resistor
• Button
• 1x 220 ohm resistor
Blink LED at 1 second intervals using Python | python led.py
57. Twitter!
Have a bot to respond and interact with tweets.
Have buttons that users can hit that interact with the Pi and then
tweet something out.
Have people take a photo with the camera and then tweet it out.
Have the Raspberry Pi light up when specific items are tweeted or
display the recent tweet(s).
https://www.raspberrypi.org/learning/getting-started-with-the-twitter-api/
63. PiPad
External Battery
7 or 10 Inch Display
3D Print your own case
Works like a mini tablet!
And you paid less than a
hundred for it!
http://www.mkcastor.com/2014/01/02/pipad-build/
67. Recap
Overall – Raspberry Pi is a low cost way to get into computers,
programming, robotics, automation, engineering, and so much
more.
The modules/arduinos/boards/ that can connect with Pi are
equally affordable
There is a huge community base surrounding Raspberry Pi and
everyone is helpful and collaborative to not only expanding your
skills but expanding the capabilities of what you can do with low
cost hardware.
68. Links and
Resources
https://www.raspberrypi.org/resources/ great learning guides on
how to do specific projects
https://www.raspberrypi.org/documentation/ general walk
through on getting started for the first time
Or if you like videos: https://www.raspberrypi.org/help/videos/
Project Ideas
http://www.instructables.com/id/Raspberry-Pi-Projects/
Buy Cool Stuff:
https://www.adafruit.com/category/105