learning lab: raspberry pi stem kit...learning lab: raspberry pi stem kit by lt col jonathan...
TRANSCRIPT
![Page 1: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/1.jpg)
LearningLab:RaspberryPiSTEMKit
By Lt Col Jonathan Lartigue2017 National Conference
San Antonio, Texas • 2 September 2015
![Page 2: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/2.jpg)
TopicsCovered• Introduction• Kit Components• Workbook Modules• Learning Lab Exercise
![Page 3: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/3.jpg)
TheRaspberryPiDevice
![Page 4: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/4.jpg)
CoreRaspPi StarterKit
![Page 5: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/5.jpg)
Add-OnSensorPacks
![Page 6: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/6.jpg)
ProposedSTEMKitContents
24-29 August 20152015 National Conference 6
Add-on Kit 1
•Anemometer•Temperature, Humidity, & Pressure Sensors
Add-on Kit 2
• Real-time clock• LCD and
Keypad• GPS Chip
Add-on Kit 3
• Color Touchscreen
• Pulse Sensor
Add-on Kit 4
• Sensor Pack 900• Camera Board
![Page 7: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/7.jpg)
ProposedSTEMKitCosts
![Page 8: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/8.jpg)
WorkbookExercises• The Core Kit and four
Add-On kits will support 15 pre-defined projects.o Each activity module
comes with complete instructions, source code, and wiring diagrams.
• Modules will be distributed as a PDF copy of an unpublished manuscript.o Permission from the author
for use within Civil Air Patrol will be provided.
![Page 9: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/9.jpg)
IncludedLessons
![Page 10: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/10.jpg)
IncludedLessons
![Page 11: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/11.jpg)
SupportedProjects• Three Getting Started
Guideso Getting Started Guide, Part 1
• Introduction to Raspberry Pi, kit contents, and digital circuits
o Getting Started Guide, Part 2• Working with the
breadboard and electronic components.
• Introduction to programming with Python
o Getting Started Guide, Part 3• Advanced Topics
![Page 12: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/12.jpg)
IncludedProjects
24-29 August 20152015 National Conference 12
• Three Beginner Exerciseso Keypad Security Locko Reaction-Time Simulator Gameo Heart Rate Monitor
• Three Novice Exerciseso Morse Code Generatoro ‘Simon Says’ Gameo Sensor Pack Mini-Labs (four mini exercises)
![Page 13: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/13.jpg)
IncludedProjects
24-29 August 20152015 National Conference 13
• Four Intermediate Exerciseso World Clocko Tic-Tac-Toe Game (with touchscreen)o Turbulence and Earthquake Monitoro Home Security Monitor
• Two Advanced Exerciseso Build-Your-Own Airport Weather Stationo Build-Your-Own GPS System
![Page 14: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/14.jpg)
• Hello, World!
LearningLabExercise
![Page 15: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/15.jpg)
LearningLabExercise// Hello, RasPi// file: hello.c
#include <stdio.h>
int main(void){printf("Hello, 2017
CAP National Conference Attendees!\n");return 0;
}
# Hello, RasPi!# file: hello.py
print(“Hello, 2017 CAP National Conference Attendees!”)
![Page 16: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/16.jpg)
Blinky:WiretheBreadboard• You’ll need:
o RasPi Cobbler Adaptero A Light Emitting Diode
(LED)
o One Resistoro One Push Button
![Page 17: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/17.jpg)
Blinky:WritetheCode(v1.0)# RasPi Blinky Exercise, Version 1# file: blinky1.py
import RPi.GPIO as GPIOimport time
GPIO.setmode(GPIO.BOARD)GPIO.setup(40,GPIO.OUT)
for i in range(50):GPIO.output(40,True)time.sleep(1)GPIO.output(40,False)time.sleep(1)
GPIO.cleanup()
![Page 18: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/18.jpg)
Blinky:WritetheCode(v2.0)# RasPi Blinky Exercise, Version 2# file: blinky2.py
import RPi.GPIO as GPIOimport time
GPIO.setmode(GPIO.BOARD)GPIO.setup(40,GPIO.OUT)GPIO.setup(38,GPIO.IN, pull_up_down = GPIO.PUD_DOWN)
# This is an endless loop, not very elegantwhile True:if (GPIO.input(38) == 1):
GPIO.output(40,True)else:
GPIO.output(40,False)
GPIO.cleanup()
![Page 19: Learning Lab: Raspberry Pi STEM Kit...Learning Lab: Raspberry Pi STEM Kit By Lt Col Jonathan Lartigue 2017 National Conference San Antonio, Texas • 2 September 2015 Topics Covered](https://reader035.vdocuments.net/reader035/viewer/2022071216/60472459b4336f706e5bd100/html5/thumbnails/19.jpg)
Questions?