SlideShare a Scribd company logo
Raspberry Pi: educational courses in several parts
Initial setup
Hardware:
 CanaKit Raspberry Pi B (or B+) Ultimate Starter Kit.
 USB Hub: powered hub recommended, so as not to compete with the Pi
for power.
◦ Manhattan 7-Port USB 2.0 Ultra Hub, as an example
 Display of some kind.
◦ HDMI or DVI-D recommended, analog (VGA or yellow RCA jack) not
recommended
 Adapter for display, if necessary
 Keyboard & mouse
◦ Normal USB devices work well enough when connected to a powered
USB hub.
 Power strip
The total price per kit is likely to be somewhere in the $125 range, possibly more
depending in particular on your displays.
Software:
 For each kit, use NOOBS to install Raspbian.
 Customize the keyboard layout to your locale – the default is UK English
(en_GB.utf8).
 Set the data and time.
 Set the hostname. We numbered our kits and set the hostnames to
match, e.g. librarypi1, librarypi2, librarypi3, etc.
 Set the password for the default user (pi). We chose “library” as the
password, which also gave students a great opportunity to practice
consistently spelling “library” correctly.
 Set the default behavior on boot. We chose to have it go to a command
prompt, so that starting the X Window System is a deliberate act, which
helped especially with the hardware-focused sessions.
 For the hardware units, also install ScratchGPIO
(http://simplesi.net/scratchgpio/scratch-raspberrypi-gpio/) and
lightshowPi (http://www.lightshowpi.com/) on each kit. Additional music
for lightshowPi could be fun, as long as you don't run afoul of copyright
issues.
 Nothing additional is required for the software units. If you want to show
off some of the beauty of code and its results, refer to
http://preshing.com/20110926/high-resolution-mandelbrot-in-obfuscated-
python/. It will run on a Pi, but allow several hours for the program to
complete.
Logistics:
 Make sure you have a space and time for the classes.
 Check the electrical setup for the space.
◦ Ensure that there are sufficient wall outlets for the number of kits you
intend to use.
◦ Ensure that the building's electrical circuits in question can handle a
sustained load of 4A-5A for each kit, simultaneously. This figure is on
the high side, but maximum draw of 1A for the Pi, 2A for the USB hub,
and 1A for the monitor approaches that load. Nobody wants to pause
a technology program because the electricity goes out...and nobody
wants to be in a position to take the blame for it, either.
1-1: An Introduction
Objectives:
 Safety
 Basic familiarization
 Setup
 Teardown
Safety first! When dealing with electrical components, consider the following
guidelines:
1. If it's metal or otherwise conductive, don't touch it.
2. If you have to touch it, but you aren't 100% sure that it is NOT energized, ask
for help.
3. Add power last. Remove power first.
4. Keep it dry. Food and drink should be a safe distance away...like in another
room.
Make sure everybody gets to go home in the same condition they came.
Basic familiarization:
Many have used computers (probably all of your students), but few of them are
likely to have built one. A primary objective of this session is to demystify the
circuit board that is the Raspberry Pi, and move it into the realm of attainable
tools, like hammers or screwdrivers.
Unpack the kit, lay out the pieces, and go through each one.
 Monitor, keyboard, mouse
 USB hub and its power adapter
 Contents of the Pi kit
◦ Power adapter (different from the USB hub)
◦ WiFi dongle
◦ HDMI cable
◦ Breadboard
◦ GPIO ribbon cable
◦ Electrical components: wires, LEDs, buttons, resistors, etc.
◦ Case
◦ Raspberry Pi.
Also spend some time going on a tour of the Pi itself.
 SD card slot (on the bottom)
 GPIO pins (sharp AND electrified)
 RCA-style yellow video plug
 Headphone jack
 Indicator LEDs
 USB ports
 Ethernet port
 HDMI plug
 Power plug
Setup:
Take some time with this step. It will serve everybody well for all the classes to
come.
Attach power last. Attach things to the Pi last, too.
Start with the monitor. Plug in the HDMI/DVI-D/RCA cable, depending on your
device.
Plug in the keyboard, mouse, and WiFi dongle to the USB hub.
Attach the video cable to the Pi.
Attach the USB hub's cable to the Pi.
Insert the SD card. Make sure it is seated properly – this is the most common
cause of boot failure.
Plug in the power strip.
Plug in the monitor to the power strip, and turn it on.
Plug in the USB hub's adapter to the power strip, and plug it in to the USB hub.
Plug in the Pi's adapter to the power strip.
Finally, plug in the Pi's power cord, and watch it turn on.
In the unlikely event that sparks fly anywhere, immediately remove people from
danger. Disconnect the power safely, by turning off the power strip or
unplugging it from the wall. Once the scene is safe, assess the situation for
human injuries, and treat appropriately. Finally, assess any hardware injuries,
and begin step by step diagnostics to determine where the problem is, why it
happened, and how to prevent it from happening again.
In the more likely event that somebody's Pi doesn't turn on, the following general
troubleshooting tips could help:
1. Check the power. Is the power strip on? Is the monitor on? Is the Pi on (does
it have any glowing indicator lights)?
2. Check the connections. Is the video cable secure? Are the power cables
secure? Are the USB cables secure? Is the SD card seated properly?
3. Try it again.
Logging in:
Now that the system is on, watch the initialization scroll past. When the login
prompt appears, do so.
Login: pi
Password: library
The password will not be displayed. If it doesn't work, don't worry, try again. This
is a great way to learn how to spell and type “library” perfectly.
Once login is complete, the command prompt is displayed. Although this is a
powerful environment, it can also be intimidating, so let's get to a GUI. Invoke
the following command:
startx
This starts the X Windows System, a Windows-like GUI environment for Linux. Click
around and get a little familiar with the system.
Shutting down:
Like most modern operating systems, Linux stores some of the filesystem in
memory to improve performance, so you don't want to pull the plug without
giving the system a chance to clean up. When it is time to shut down the Pi,
open LX Terminal and invoke the following command:
sudo shutdown -h now
Breaking it down:
sudo – “as a superuser, ”
shutdown – “shut down the system”
-h – “by halting it cleanly”
now – “and do it right now.”
Wait for the Pi to shut down, and unplug the Pi's power cable.
Teardown:
Starting with the power cords and power strip, unplug everything.
Wrap up the cords nicely.
Before putting it all away, ask somebody to double-check that all the pieces are
there! This inventory check is important.
Pack all the pieces back in the container(s) from whence they came. Leave
the kits nicer than you found them, if at all possible. You don't know which one
you'll be unpacking next time, so be nice.

More Related Content

Recently uploaded

5. Postharvest deterioration of fruits and vegetables.pptx
5. Postharvest deterioration of fruits and vegetables.pptx5. Postharvest deterioration of fruits and vegetables.pptx
5. Postharvest deterioration of fruits and vegetables.pptx
UmeshTimilsina1
 
Benchmarking Sustainability: Neurosciences and AI Tech Research in Macau - Ke...
Benchmarking Sustainability: Neurosciences and AI Tech Research in Macau - Ke...Benchmarking Sustainability: Neurosciences and AI Tech Research in Macau - Ke...
Benchmarking Sustainability: Neurosciences and AI Tech Research in Macau - Ke...
Alvaro Barbosa
 
Dot NET Interview Questions PDF By ScholarHat
Dot NET Interview Questions PDF By ScholarHatDot NET Interview Questions PDF By ScholarHat
Dot NET Interview Questions PDF By ScholarHat
Scholarhat
 
C Interview Questions PDF By Scholarhat.pdf
C Interview Questions PDF By Scholarhat.pdfC Interview Questions PDF By Scholarhat.pdf
C Interview Questions PDF By Scholarhat.pdf
Scholarhat
 
RDBMS Lecture Notes Unit4 chapter12 VIEW
RDBMS Lecture Notes Unit4 chapter12 VIEWRDBMS Lecture Notes Unit4 chapter12 VIEW
RDBMS Lecture Notes Unit4 chapter12 VIEW
Murugan Solaiyappan
 
Odoo 17 Events - Attendees List Scanning
Odoo 17 Events - Attendees List ScanningOdoo 17 Events - Attendees List Scanning
Odoo 17 Events - Attendees List Scanning
Celine George
 
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
mansk2
 
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdfPRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
nservice241
 
Node JS Interview Question PDF By ScholarHat
Node JS Interview Question PDF By ScholarHatNode JS Interview Question PDF By ScholarHat
Node JS Interview Question PDF By ScholarHat
Scholarhat
 
V2-NLC-Certificate-of-Completion_Learner.docx
V2-NLC-Certificate-of-Completion_Learner.docxV2-NLC-Certificate-of-Completion_Learner.docx
V2-NLC-Certificate-of-Completion_Learner.docx
302491
 
C# Interview Questions PDF By ScholarHat.pdf
C# Interview Questions PDF By ScholarHat.pdfC# Interview Questions PDF By ScholarHat.pdf
C# Interview Questions PDF By ScholarHat.pdf
Scholarhat
 
Open and Critical Perspectives on AI in Education
Open and Critical Perspectives on AI in EducationOpen and Critical Perspectives on AI in Education
Open and Critical Perspectives on AI in Education
Robert Farrow
 
FINAL MATATAG Science CG 2023 Grades 3-10.pdf
FINAL MATATAG Science CG 2023 Grades 3-10.pdfFINAL MATATAG Science CG 2023 Grades 3-10.pdf
FINAL MATATAG Science CG 2023 Grades 3-10.pdf
maritescanete2
 
QCE – Unpacking the syllabus Implications for Senior School practices and ass...
QCE – Unpacking the syllabus Implications for Senior School practices and ass...QCE – Unpacking the syllabus Implications for Senior School practices and ass...
QCE – Unpacking the syllabus Implications for Senior School practices and ass...
mansk2
 
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - ...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - ...BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - ...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - ...
Nguyen Thanh Tu Collection
 
Open Source and AI - ByWater Closing Keynote Presentation.pdf
Open Source and AI - ByWater Closing Keynote Presentation.pdfOpen Source and AI - ByWater Closing Keynote Presentation.pdf
Open Source and AI - ByWater Closing Keynote Presentation.pdf
Jessica Zairo
 
slidesgo-mastering-the-art-of-listening-insights-from-robin-sharma-2024070718...
slidesgo-mastering-the-art-of-listening-insights-from-robin-sharma-2024070718...slidesgo-mastering-the-art-of-listening-insights-from-robin-sharma-2024070718...
slidesgo-mastering-the-art-of-listening-insights-from-robin-sharma-2024070718...
MANIVALANSR
 
3. Maturity_indices_of_fruits_and_vegetable.pptx
3. Maturity_indices_of_fruits_and_vegetable.pptx3. Maturity_indices_of_fruits_and_vegetable.pptx
3. Maturity_indices_of_fruits_and_vegetable.pptx
UmeshTimilsina1
 
Brigada Eskwela 2024 PowerPoint Update for SY 2024-2025
Brigada Eskwela 2024 PowerPoint Update for SY 2024-2025Brigada Eskwela 2024 PowerPoint Update for SY 2024-2025
Brigada Eskwela 2024 PowerPoint Update for SY 2024-2025
ALBERTHISOLER1
 
Introduction to Banking System in India.ppt
Introduction to Banking System in India.pptIntroduction to Banking System in India.ppt
Introduction to Banking System in India.ppt
Dr. S. Bulomine Regi
 

Recently uploaded (20)

5. Postharvest deterioration of fruits and vegetables.pptx
5. Postharvest deterioration of fruits and vegetables.pptx5. Postharvest deterioration of fruits and vegetables.pptx
5. Postharvest deterioration of fruits and vegetables.pptx
 
Benchmarking Sustainability: Neurosciences and AI Tech Research in Macau - Ke...
Benchmarking Sustainability: Neurosciences and AI Tech Research in Macau - Ke...Benchmarking Sustainability: Neurosciences and AI Tech Research in Macau - Ke...
Benchmarking Sustainability: Neurosciences and AI Tech Research in Macau - Ke...
 
Dot NET Interview Questions PDF By ScholarHat
Dot NET Interview Questions PDF By ScholarHatDot NET Interview Questions PDF By ScholarHat
Dot NET Interview Questions PDF By ScholarHat
 
C Interview Questions PDF By Scholarhat.pdf
C Interview Questions PDF By Scholarhat.pdfC Interview Questions PDF By Scholarhat.pdf
C Interview Questions PDF By Scholarhat.pdf
 
RDBMS Lecture Notes Unit4 chapter12 VIEW
RDBMS Lecture Notes Unit4 chapter12 VIEWRDBMS Lecture Notes Unit4 chapter12 VIEW
RDBMS Lecture Notes Unit4 chapter12 VIEW
 
Odoo 17 Events - Attendees List Scanning
Odoo 17 Events - Attendees List ScanningOdoo 17 Events - Attendees List Scanning
Odoo 17 Events - Attendees List Scanning
 
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
 
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdfPRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
 
Node JS Interview Question PDF By ScholarHat
Node JS Interview Question PDF By ScholarHatNode JS Interview Question PDF By ScholarHat
Node JS Interview Question PDF By ScholarHat
 
V2-NLC-Certificate-of-Completion_Learner.docx
V2-NLC-Certificate-of-Completion_Learner.docxV2-NLC-Certificate-of-Completion_Learner.docx
V2-NLC-Certificate-of-Completion_Learner.docx
 
C# Interview Questions PDF By ScholarHat.pdf
C# Interview Questions PDF By ScholarHat.pdfC# Interview Questions PDF By ScholarHat.pdf
C# Interview Questions PDF By ScholarHat.pdf
 
Open and Critical Perspectives on AI in Education
Open and Critical Perspectives on AI in EducationOpen and Critical Perspectives on AI in Education
Open and Critical Perspectives on AI in Education
 
FINAL MATATAG Science CG 2023 Grades 3-10.pdf
FINAL MATATAG Science CG 2023 Grades 3-10.pdfFINAL MATATAG Science CG 2023 Grades 3-10.pdf
FINAL MATATAG Science CG 2023 Grades 3-10.pdf
 
QCE – Unpacking the syllabus Implications for Senior School practices and ass...
QCE – Unpacking the syllabus Implications for Senior School practices and ass...QCE – Unpacking the syllabus Implications for Senior School practices and ass...
QCE – Unpacking the syllabus Implications for Senior School practices and ass...
 
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - ...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - ...BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - ...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH LỚP 12 - GLOBAL SUCCESS - FORM MỚI 2025 - ...
 
Open Source and AI - ByWater Closing Keynote Presentation.pdf
Open Source and AI - ByWater Closing Keynote Presentation.pdfOpen Source and AI - ByWater Closing Keynote Presentation.pdf
Open Source and AI - ByWater Closing Keynote Presentation.pdf
 
slidesgo-mastering-the-art-of-listening-insights-from-robin-sharma-2024070718...
slidesgo-mastering-the-art-of-listening-insights-from-robin-sharma-2024070718...slidesgo-mastering-the-art-of-listening-insights-from-robin-sharma-2024070718...
slidesgo-mastering-the-art-of-listening-insights-from-robin-sharma-2024070718...
 
3. Maturity_indices_of_fruits_and_vegetable.pptx
3. Maturity_indices_of_fruits_and_vegetable.pptx3. Maturity_indices_of_fruits_and_vegetable.pptx
3. Maturity_indices_of_fruits_and_vegetable.pptx
 
Brigada Eskwela 2024 PowerPoint Update for SY 2024-2025
Brigada Eskwela 2024 PowerPoint Update for SY 2024-2025Brigada Eskwela 2024 PowerPoint Update for SY 2024-2025
Brigada Eskwela 2024 PowerPoint Update for SY 2024-2025
 
Introduction to Banking System in India.ppt
Introduction to Banking System in India.pptIntroduction to Banking System in India.ppt
Introduction to Banking System in India.ppt
 

Featured

2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 Trend Updates: What Really Works In SEO & Content Marketing2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
 
Storytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design ProcessStorytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
 
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
 
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 

Featured (20)

2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 Trend Updates: What Really Works In SEO & Content Marketing2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 Trend Updates: What Really Works In SEO & Content Marketing
 
Storytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design ProcessStorytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design Process
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
 
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
 
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 

Starting with the pi

  • 1. Raspberry Pi: educational courses in several parts Initial setup Hardware:  CanaKit Raspberry Pi B (or B+) Ultimate Starter Kit.  USB Hub: powered hub recommended, so as not to compete with the Pi for power. ◦ Manhattan 7-Port USB 2.0 Ultra Hub, as an example  Display of some kind. ◦ HDMI or DVI-D recommended, analog (VGA or yellow RCA jack) not recommended  Adapter for display, if necessary  Keyboard & mouse ◦ Normal USB devices work well enough when connected to a powered USB hub.  Power strip The total price per kit is likely to be somewhere in the $125 range, possibly more depending in particular on your displays. Software:  For each kit, use NOOBS to install Raspbian.  Customize the keyboard layout to your locale – the default is UK English (en_GB.utf8).  Set the data and time.  Set the hostname. We numbered our kits and set the hostnames to match, e.g. librarypi1, librarypi2, librarypi3, etc.  Set the password for the default user (pi). We chose “library” as the password, which also gave students a great opportunity to practice consistently spelling “library” correctly.  Set the default behavior on boot. We chose to have it go to a command prompt, so that starting the X Window System is a deliberate act, which helped especially with the hardware-focused sessions.  For the hardware units, also install ScratchGPIO (http://simplesi.net/scratchgpio/scratch-raspberrypi-gpio/) and lightshowPi (http://www.lightshowpi.com/) on each kit. Additional music for lightshowPi could be fun, as long as you don't run afoul of copyright issues.  Nothing additional is required for the software units. If you want to show off some of the beauty of code and its results, refer to http://preshing.com/20110926/high-resolution-mandelbrot-in-obfuscated- python/. It will run on a Pi, but allow several hours for the program to
  • 2. complete. Logistics:  Make sure you have a space and time for the classes.  Check the electrical setup for the space. ◦ Ensure that there are sufficient wall outlets for the number of kits you intend to use. ◦ Ensure that the building's electrical circuits in question can handle a sustained load of 4A-5A for each kit, simultaneously. This figure is on the high side, but maximum draw of 1A for the Pi, 2A for the USB hub, and 1A for the monitor approaches that load. Nobody wants to pause a technology program because the electricity goes out...and nobody wants to be in a position to take the blame for it, either. 1-1: An Introduction Objectives:  Safety  Basic familiarization  Setup  Teardown Safety first! When dealing with electrical components, consider the following guidelines: 1. If it's metal or otherwise conductive, don't touch it. 2. If you have to touch it, but you aren't 100% sure that it is NOT energized, ask for help. 3. Add power last. Remove power first. 4. Keep it dry. Food and drink should be a safe distance away...like in another room. Make sure everybody gets to go home in the same condition they came. Basic familiarization: Many have used computers (probably all of your students), but few of them are likely to have built one. A primary objective of this session is to demystify the circuit board that is the Raspberry Pi, and move it into the realm of attainable tools, like hammers or screwdrivers. Unpack the kit, lay out the pieces, and go through each one.  Monitor, keyboard, mouse
  • 3.  USB hub and its power adapter  Contents of the Pi kit ◦ Power adapter (different from the USB hub) ◦ WiFi dongle ◦ HDMI cable ◦ Breadboard ◦ GPIO ribbon cable ◦ Electrical components: wires, LEDs, buttons, resistors, etc. ◦ Case ◦ Raspberry Pi. Also spend some time going on a tour of the Pi itself.  SD card slot (on the bottom)  GPIO pins (sharp AND electrified)  RCA-style yellow video plug  Headphone jack  Indicator LEDs  USB ports  Ethernet port  HDMI plug  Power plug Setup: Take some time with this step. It will serve everybody well for all the classes to come. Attach power last. Attach things to the Pi last, too. Start with the monitor. Plug in the HDMI/DVI-D/RCA cable, depending on your device. Plug in the keyboard, mouse, and WiFi dongle to the USB hub. Attach the video cable to the Pi. Attach the USB hub's cable to the Pi. Insert the SD card. Make sure it is seated properly – this is the most common cause of boot failure. Plug in the power strip. Plug in the monitor to the power strip, and turn it on. Plug in the USB hub's adapter to the power strip, and plug it in to the USB hub. Plug in the Pi's adapter to the power strip.
  • 4. Finally, plug in the Pi's power cord, and watch it turn on. In the unlikely event that sparks fly anywhere, immediately remove people from danger. Disconnect the power safely, by turning off the power strip or unplugging it from the wall. Once the scene is safe, assess the situation for human injuries, and treat appropriately. Finally, assess any hardware injuries, and begin step by step diagnostics to determine where the problem is, why it happened, and how to prevent it from happening again. In the more likely event that somebody's Pi doesn't turn on, the following general troubleshooting tips could help: 1. Check the power. Is the power strip on? Is the monitor on? Is the Pi on (does it have any glowing indicator lights)? 2. Check the connections. Is the video cable secure? Are the power cables secure? Are the USB cables secure? Is the SD card seated properly? 3. Try it again. Logging in: Now that the system is on, watch the initialization scroll past. When the login prompt appears, do so. Login: pi Password: library The password will not be displayed. If it doesn't work, don't worry, try again. This is a great way to learn how to spell and type “library” perfectly.
  • 5. Once login is complete, the command prompt is displayed. Although this is a powerful environment, it can also be intimidating, so let's get to a GUI. Invoke the following command: startx This starts the X Windows System, a Windows-like GUI environment for Linux. Click around and get a little familiar with the system. Shutting down: Like most modern operating systems, Linux stores some of the filesystem in memory to improve performance, so you don't want to pull the plug without giving the system a chance to clean up. When it is time to shut down the Pi, open LX Terminal and invoke the following command: sudo shutdown -h now Breaking it down: sudo – “as a superuser, ” shutdown – “shut down the system” -h – “by halting it cleanly” now – “and do it right now.” Wait for the Pi to shut down, and unplug the Pi's power cable. Teardown: Starting with the power cords and power strip, unplug everything. Wrap up the cords nicely. Before putting it all away, ask somebody to double-check that all the pieces are there! This inventory check is important. Pack all the pieces back in the container(s) from whence they came. Leave the kits nicer than you found them, if at all possible. You don't know which one you'll be unpacking next time, so be nice.