Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 20

ANOTHER SLICE OF PI

HANDS-ON WITH THE RASPBERRY PI COMPUTER


AISD SCIENCE + MATHEMATICS X CONFERENCE 2017
ANITA JOHNSON – KEALING MIDDLE SCHOOL
ANOTHER SLICE OF PI

• Overview – hardware and software


• What’s the big deal?
• Examples & demos
• Hands-on, questions, discussion
ATTENDEES WILL…

• Know and understand the basic features of the Raspberry Pi


• Explore the vast universe of Raspberry Pi projects
• Get ideas about what the RPi can do for you
• Get ideas about how to use in your classes
• Do something that you didn’t know you could do!
• Leave curious and fearless!
WHAT IS A RASPBERRY PI - HARDWARE
• Small, inexpensive computer ($65-$150)
• 1.2 GHz ARM processor, 1 Gb RAM (Pentium+)
• USB x4, Bluetooth, WiFi, Ethernet, HDMI
• Camera interface
• Micro SD card instead of a hard drive
• General Purpose I/O (GPIO) pins
WHAT IS A RASPBERRY PI - SOFTWARE

• Free download
• Operating system - Linux Debian (“Raspbian”)
• Windows-like graphical user interface (GUI)
• Scratch, Python, Java, Wolfram Mathematica
• Libre Office suite
• Sonic Pi
• Minecraft Pi
RASPBERRY PI VS CHROMEBOOK

• Advantages – it’s a computer


• Programming languages: Python, Mathematica

• Other advantages
• Size – can incorporate in projects (e.g. robots)
• You own it
• Replace the micro SD card
• Any software you want
• BUT not supported by AISD
• **GPIO pins**
• Physical computing
GPIO PINS – THE SPECIAL SAUCE

• Connect to motors, sensors, LEDs, Internet of Things (IoT)


• Many third party “hats” with multiple connections
• No need to know electronics
• A zillion open source project & code ideas (resources)
HARDWARE ADD-ONS

• Sense Hat
• Explorer Hat
• Robotics
• GoPiGo
• RaspiRobot3
• AIY Voice Box
• …and any electronics
CONNECTING TO THE RPI

• Keyboard, mouse, USB monitor


CONNECTING TO THE RPI

• Laptop/computer with Ethernet cable


CONNECTING TO THE RPI – “HEADLESS”

• Any device (desktop/lapop/Chromebook/Android/iOS) over WiFi


to RPi wired to network switch
• Any device over WiFi to RPi back over WiFi to router (no Internet if
you can’t control the router)
SETUP & CONNECT
• If you have a laptop, you can use it instead of a Chromebook
• Download VNC viewer at https://www.realvnc.com/en/download/viewer/
• Remove contents from box and attach power stick to RPi
SETUP AND CONNECT

• Push button on power stick


• Change your WiFi connection to
HornetLAN1
Password: icyskates631
You will not have Internet connectivity!

• Open VNC Viewer and enter the address that is formed with your RPi number:
192.168.1.1XX where XX is the number on your Rpi
Example: If the number is 3, then enter 192.168.1.103
SETUP AND CONNECT

• Ignore message and Click on Continue

• Enter
• Username: pi
• Password: klg^HRNZ17

If necessary, click on appropriate icon at bottom to make full screen


DEMOS AND HANDS-ON

• Navigating the Rpi


• Linux
• Python
• Sense Hat: sparkles, environ
• Other explorations
• ExplorerHatPro

• Be curious!
PYTHON

• Text-based coding
• Suitable for grade 7+
• Taught many schools and colleges (e.g. ACC) as first coding language
SENSE HAT
• 8x8 RGB LED matrix
• a mini joystick
• Gyroscope/accelerometer/magnetometer
• Temperature/humidity/barometric pressure
• Python library
• AstroPi
SENSE HAT – ASTRO PI
RASPBERRYPI.ORG

• Great follow-along lessons


• Most teach coding
• Some are applicable to subject areas
• Free courses at https://www.futurelearn.com/partners/raspberry-pi
OTHER RESOURCES

• raspberrypi.org
• MagPi – free PDF downloads
• instructables.com
• hackster.io
• adafruit.com
• Books!
• codecademy.com: Python (new 8/1) and others (HTML/CSS/JavaScript)
• Google

You might also like