APPENDIX A

Raspberry Pi Resources and Training for Educators

In this appendix, I’ll provide a short list of resources and training that you may find useful for planning and executing your deployment of computers in the classroom.

Where to Get Raspberry Pi Hardware and Accessories You can buy Raspberry Pi boards and accessories from a wide variety of places, mostly online. In this section, I list some worldwide retailers first; then I list some stores for the United States, for Canada, for the United Kingdom, and for Australia.

Worldwide Retailers Amazon and eBay both sell Raspberry Pi boards and a wide range of accessories. Go to your local Amazon or eBay site and search for raspberry pi plus any other relevant keywords (such as case). Premier Farnell, a global electronics distributor, has the trading brands Newark element14 and Farnell element14. (In case you’re wondering about the names, silicon is the 14th element in the periodic table.) Newark element14 (also known as Newark, Newark Electronics, and Newark Corporation) distributes Farnell items in North America and parts of Central America and South America. Farnell element14 handles Europe and Australia. You’ll see the names Newark and Element14 in the country-specific lists following. To see the Element14 list of Raspberry Pi Approved Resellers, go to this address: http://farnell.com/raspberrypi-consumer/approved-retailers.

For other retailers worldwide, see the Main Distributors and Subsidiaries/Sister Companies list on the RPi Buying Guide page here: http://elinux.org/RPi_Buying_Guide#Main_distributors_and_ subsidaries.2Fsister_companies

© Guy Hart-Davis 2017 281 G. Hart-Davis, Deploying Raspberry Pi in the Classroom, DOI 10.1007/978-1-4842-2304-8 appendix A ■ Raspberry Pi Resources and Training for Educators

US Stores Here is a short list of US-based stores that sell a wide range of Raspberry Pi boards and accessories. • Adafruit (http://www.adafruit.com) • Allied Electronics (http://www.alliedelec.com) • Newark (http://www.newark.com) • MCM Electronics (http://www.mcmelectronics.com)

Canada Stores Here are three Canada-based stores for Raspberry Pi boards and accessories: • Newark (http://canada.newark.com) • HiPi Industries (http://buyapi.ca) • Canada Robotix (http://canadarobotix.com)

UK Stores Here is a short list of UK stores from which you can buy Raspberry Pi boards and accessories: • RS Components Ltd (http://uk.rs-online.com) • The Pi Hut (http://www.thepihut.com) • Element14 (http://www.element14.com) • ModMyPi (http://www.modmypi.com)

Australia Stores Here are three stores for buying Raspberry Pi computers and accessories in Australia: • RS Components (http://au.rs-online.com) • Element14 (http://au.element14.com) • GPIO Australia (http://www.buyraspberrypi.com.au) Where to Get Raspberry Pi Software This section tells you where to get Raspberry Pi operating systems and key apps.

282 appendix A ■ Raspberry Pi Resources and Training for Educators

NOOBS Installer The NOOBS (New Out Of Box Software) installer enables you to install the Raspbian, Raspbian Lite, LibreELEC, OSMC, and Windows IoT Core operating systems easily. You can download either the full version of NOOBS, which includes the Raspbian , or the stripped-down NOOBS Lite, which does not include Raspbian, from this page: https://www.raspberrypi.org/downloads/noobs/

Raspbian and Raspbian Lite Operating Systems You can download the Raspbian operating system, which includes the Pixel graphical interface, or the Raspbian Lite operating system, which does not include a graphical interface, from this page: https://www.raspberrypi.org/downloads/raspbian/

Other Operating Systems The Raspberry Pi Foundation’s Downloads page provides links to several other operating systems that you can install on the Raspberry Pi. https://www.raspberrypi.org/downloads/

As of this writing, these operating systems include: • Ubuntu MATE • Snappy Ubuntu Core • Windows 10 IoT Core • OSMC • LibreELEC • PiNet • RISC OS • Weather Station

■■Note You can download and install Windows 10 IoT Core, OSMC, and LibreELEC by using the NOOBS installer.

283 appendix A ■ Raspberry Pi Resources and Training for Educators

The Ubuntu Pi Flavour Maker web site provides versions of Ubuntu customized for the Raspberry Pi. As of this writing, these versions include Lubuntu, Xubuntu, Ubuntu MATE, Ubuntu Server Minimal, and Ubuntu Server Standard. https://ubuntu-pi-flavour-maker.org

You can download RaspBSD from the RaspBSD web site: http://www.raspbsd.org

You can download FullPageOS from GitHub: https://github.com/guysoft/FullPageOS

You can download OpenWrt from the OpenWrt web site: https://openwrt.org

Where to Get Other Useful Software This section lists other software you may find useful when deploying Raspberry Pi computers.

Ubuntu Ubuntu is a distribution for both desktop PCs and servers. The PiNet server system runs on Ubuntu. http://www.ubuntu.com/download

PuTTY PuTTY is a free SSH client for Windows. http://www.chiark.greenend.org.uk/~sgtatham/putty/

SD Formatter SD Formatter is a tool for formatting SD cards and micro SD cards correctly. https://www.sdcard.org/downloads/formatter_4/

284 appendix A ■ Raspberry Pi Resources and Training for Educators

Visual Studio To work with Windows 10 IoT Core, you need a version of Microsoft’s Visual Studio app- development tool. Normally, you’ll want to start with Visual Studio Community, which is free from the Visual Studio web site. http://www.visualstudio.com

Information Resources This section provides some information resources for working with Raspberry Pi computers.

Raspberry Pi Foundation Documentation The Raspberry Pi Documentation page on the Raspberry Pi Foundation web site provides links to the official documentation for the Raspberry Pi. https://www.raspberrypi.org/documentation/

Details on config.txt Settings For details of all the settings you can use in the config.txt file, visit this page: http://www.raspberrypi.org/documentation/configuration/config-txt.md

RPi Hub Page on the Embedded Linux Wiki The RPi Hub page on the Embedded Linux Wiki contains a large amount of information about configuring and using Raspberry Pi computers. http://elinux.org/RPi_Hub

Phone Chargers That Work with Raspberry Pi In a pinch, you can run some Raspberry Pi models successfully using phone chargers. See the RPi Verified Peripherals page for details. http://elinux.org/RPi_VerifiedPeripherals#Power_adapters

285 appendix A ■ Raspberry Pi Resources and Training for Educators Training and Resources This section briefly introduces some key training and education resources.

Picademy Picademy is a professional development program for teachers. Picademy runs two-day training courses whose graduates have the Raspberry Pi Certified Educator qualification. https://www.raspberrypi.org/picademy/

Raspberry Pi Education Forum The Raspberry Pi Education forum provides a forum for discussing topics related to Raspberry Pi in education. https://www.raspberrypi.org/forums/viewforum.php?f=17

Raspberry Jam Raspberry Jam sessions are community events at which you can meet other Raspberry Pi enthusiasts in your area. From the main site (URL following), you can find your local Raspberry Jam events. https://www.raspberrypi.org/jam/

Teaching Resources on the Raspberry Pi Foundation Web Site The Resources section of the Raspberry Pi Foundation web site includes resources for teaching, learning, and creative projects involving the Raspberry Pi. https://www.raspberrypi.org/resources/

286 Index

„„ A advanced preferences, 97–98 appearance preferences, 94–96 Adafruit VESA Mount Plus, 45 Desktop Preferences autoboot.txt File, 180 Dialog Box, 93–94 icons preferences, 96–97 „„ B task bar, 105–106 DHCP, 198 Berkeley Software Distribution (BSD), 68 Disks app, Ubuntu, 147–150 BlueJ, 9–10 DisplayPort, 50 Building Displays, Raspberry Pi assembling case, 137–138 composite, 51 installation (see Installation) DisplayPort, 50 peripherals and power, 139–140 DVI, 50 HDMI, 48–50 „„ VGA, 51 Dynamic Host Configuration Cases, Raspberry Pi model Protocol (DHCP), 82, 193–194 choosing, 39 cooling/heat management, 43 durability, 40–41 „„ E ease of access, 43 Epoptes ease of opening vs. security, 43 capabilities, 249 materials, 41–42 class’s computers, 251–256 stability, 39 description, 249 stackable cases, 45 installation, 249–250 touch screen display cases, 44 launching, 250 cmdline.txt file Ethernet, 185–186, 188, 192, 194, 198 Config Editor dialog box, 177 Extended Display Identification Default Options, 178 Data (EDID), 174 Consumer Electronics Control (CEC) feature, 49 „„ F „„ D File Manager advanced preferences Desktop options section, 135 components, 75–76 programs section, 134 Desktop preferences templates section, 134–135

© Guy Hart-Davis 2017 287 G. Hart-Davis, Deploying Raspberry Pi in the Classroom, DOI 10.1007/978-1-4842-2304-8 ■ INDEX

File Manager (cont.) SD cards display preferences advantages and Icons section, 129–130 disadvantages, 33–34 Interface section, 130 choosing, 37–38 Dual Pane Mode, 121 micro SD, 34 file system, 118–119 size, 34–36 folders, root folder, 119 stores general preferences Australia Stores, 26 behavior section, 124, 126–127 Canada-based stores, 25 Default View section, 128 UK stores, 25 interface elements, 118 US-based stores, 25 keyboard shortcuts, 122–124 VESA mounts, 45–46 Launching, 116–118 Wi-Fi and Bluetooth adapters, 48 layout preferences Hardware and accessories Directories Tree section, 131 Australia Stores, 282 User Interface section, 131 Canada-based stores, 282 Modules Preferences, 135–136 UK stores, 282 Search Files feature, 121–122 US-based stores, 282 time-saving features worldwide retailers, 281 bookmarks, 120 HDMI display issues Volume Management options, 174 pane, 132–133 settings, 175 Fing network-scanning app, 166 Headless installation, VNC FreeBSD operating system, 68 clients, 162 connecting and working, 168 IP address „„ G android, 166–167 IDE, 11–12 iPhone/iPad, 166 Greenfoot, 10–11 Nmap, 164, 166 replacing D card and booting, 163–164 „„ H vncinstall Command, 162 Hardware camera module, 46–47 „„ I cases (see Cases, Raspberry Pi model) Information resources displays (see Displays, Raspberry Pi) config.txt settings, 285 keyboards and pointing devices Embedded Linux Wiki, 285 bluetooth keyboards and phone chargers, 285 pointing devices, 53 Raspberry Pi Documentation PS/2 keyboards and page, 285 pointing devices, 52 Installation USB, 52 formatting SD card, Linux, 147–150 network connection method, 53 headless power sources (see Headless installation, VNC) battery, 32 NOOBS installer dedicated chargers, 27 automatical installation, 179 official chargers, 27–28 booting directly, 179–180 phone chargers, 32 custom tarballs, 181–182 requirements, 26–27 custom version, 181 third-party supply, 28–29, 31 Data Partition, 158 USB charging hub, 32–33 downloading, 140–141

288 ■ INDEX

formatting SD card, 141 Login screen .json file, 183–184 keyboard layout, 74 launching, 154, 156 session type, 74 os.json file, 182–183 Lubuntu, 63–64 recovery and management (see Recovery mode) root and boot filesystem „„ M tarballs, 181 Management Wi-Fi network, 157 deletion, user account, 204 NOOBS installer, SD card enabling and disabling, Linux, 154 sudo command, 237 Mac, 153–154 Epoptes (see Epoptes) Windows, 151–152 importing and exporting users, 237 SD formatter app, Mac, 145–147 install programs, 246 SD formatter app, Windows, 142–145 list of users, 235 selecting operating system, 158–161 PiNet (see PiNet) Installed Packages, 261 pupil account to teacher account, 236 Integrated Development and Learning remote access (see Remote access) Environment (IDLE), 8–9 Shared folders (see Shared folders) Integrated development user access, sudo command, 203–204 environment (IDE), 8 user accounts IP tools, 166–167 creation, 202 creation steps, 234 removal, 235 „„ J, K user’s password, 203 Mathematica app, 12 BlueJ, 9–10 Media Access Control address, 192 Greenfoot, 10 Mouse and Keyboard json File, 183–184 Settings dialog box, 78–80 Multiple desktops adding, removing, „„ L and navigating, 114–115 Libre ELEC. See Libre Embedded Desktop Page applet, 115 Linux Entertainment Center Desktop Preferences, 113 (LibreELEC) enabling, 112 LibreELEC operating system, 13, 159 Libre Embedded Linux Entertainment Center (LibreELEC ), 13, 58–59 „„ N LibreOffice suite NetBSD operating system, 68 compatibility, 7 Network connection description, 5 Audio, 187–188 modules, 5–6 bluetooth keyboard or Linux operating systems pointing device, 190–191 Lubuntu, 63–64 booting, 189 OpenWrt, 67 displays, 187 Ubuntu MATE, 65–66 Ethernet, 188, 194 Ubuntu Server, 67 hostname, 193 Xubuntu, 64–65 keyboards and pointing devices, 186 Logging Out and Logging In, 73 MAC address, 192

289 ■ INDEX

Network connection (cont.) Picademy, 286 powering, displays, 189 Picademy training sessions, 15 power supply, 188 PiNet static IP addresses, 193–194 advantages, 221–222 steps, Ethernet configuration, 198–199 booting, 238 testing, 199 collect work, 246–247 wi-fi network disadvantages, 222 disconnection, 197 download and installation, 225–232 icon, 196 PC steps, connect, 194–195 Gigabit Ethernet port, 222 Network connection configuration installation, 223–225 Pre Shared Key box, 81 Ubuntu Server operating Wi-Fi network, 80, 81 system, 222 New Out Of Box Software SD card image, 248 (NOOBS), 13, 55–56, 283 system-status, 245–246 Nmap, 164–165 updating, 246 Node-RED, 12 Pi-Top (www.pi-top.com), 13 Non-linux operating systems Power LED FreeBSD, 68 ACT LED shows no light, 266 NetBSD, 68 no light, 265 RaspBSD, 68 steady light, 266 RISC OS, 67 Power sources NOOBS. See New Out Of Box battery, 32 Software (NOOBS) dedicated chargers, 27 official chargers, 27 phone chargers, 32 „„ O requirements, 27 OmniVESA, 45 third-party supply, 28–29, 31 Open Document Format (ODF), 7 USB hub, 32–33 Open Source Media Center (OSMC) Power sources requirements, 27 operating systems, 13, 59–60 Programming OpenWrt operating system, 67 C and other languages, 11–12 Operating systems Java, 9–10–11 LibreELEC, 58–59 Mathematica and Wolfram, 12 NOOBS, 56 Node-RED app, 12 OSMC, 59–60 Python, 8–9 Raspbian, 56–57 Scratch tool, 7–8 Raspbian Lite, 57–58 Sonic Pi, 12 Windows 10 IoT Core, 61–62 PuTTY, 284 os.json File, 182–183 Python, 8–9 OSMC. See Open Source Media Center (OSMC) Overscan settings, 176 „„ Raspberry Jam, 286 Raspberry Pi „„ P, Q board models, 18–19 Panel configuration boards Advanced Preferences, 104–105 Raspberry Pi 3 Model B, 21 Appearance Preferences, 101 Raspberry Pi Zero, 22–24 Applets Preferences, 101–103 cases, 3 Geometry Preferences, 99–100 computing projects, 13–14

290 ■ INDEX

deployment, 14–15 Config Editor, 171 description, 1 config.txt file, 174 desktop computing skills, 4–5 config.txt file, 172–173 games, 13 HDMI display issues, 174–175 generations, 18 HDMI mode/composite PAL, 176 input and output connectors, 2 optional hardware interfaces, 176 media centers, 13 overscan settings, 176 office skills, 5–7 Remote access programming (see Programming) RDP (see Remote Desktop Raspberry Pi 3 Model B, 2 Protocol (RDP)) Raspberry Pi Zero, 4 SSH (see Secure Shell (SSH)) Raspbian, 4 VNC, 205 size, 1 configuration, 209–215 SoC, 1 connecting, 215–216 stores enabling, built-in VNC server, 208 Australia Stores, 26 installation, 215 Canada Stores, 25 view information, 208–209 UK Stores, 25 xrdp, 205 US Stores, 25 (RDP) Raspberry Pi 3 Model B, 138 description, 216 components, 21 disadvantage, 217 ports, 22 xrdp Raspberry Pi 3 Model B board, 137 connection, 217–221 Raspberry Pi computer Replacement SD cards, 269 PiBoot Files, 237 Restarting, 73 Raspberry Pi Configuration RISC OS, 67 change the locale, 91–92 Root and Boot Filesystem Tarballs, 181 desktop. Desktop preferences RPi Hub page, 285 Interfaces tab, 88–89 keyboard layout, 92 Localisation tab, 90–91 „„ S managing windows, 108–111 Scratch tool, 7–8 multiple desktops, 112–115 SD cards panel (see Panel configuration) advantages, 33 Performance tab, 89–90 choosing, 37–38 Running Apps, 106–108 disadvantages, 34 steps, 86 micro SD, 34 System tab settings, 86–87 sequential write speeds time_zone, 92 and classes, 36 Wi-Fi country, 93 size, 34–36 Raspberry Pi Education forum, 286 SD Formatter, 284 Raspberry Pi Zero Secure Shell (SSH) components, 22–23 client, 206 ports, 24 connecting, 206–207 Raspbian, 4 description, 205 Raspbian Lite, 57 Raspberry Pi Configuration, 205 Raspbian Lite Operating Systems, 283 X session, 207 Raspbian operating system, 56–57 Shared folders Recovery mode creation, 239–241 booting, 169–170 removal, 241–243 cmdline.txt File, 177–178 Shared folders dialog box, 238

291 ■ INDEX

Shared folders (cont.) restarting, 258 switching, 243–244 SD card issues view list, 244 avoidance, 270–271 Shuttingdown, 72–73 identification, 269–270 Software repair, fsck command, 271–272 NOOBS Installer, 283 space, SD card, 260–261 PuTTY, 284 Startup Raspbian and Raspbian Lite ACT LED flashes Operating Systems, 283 intermittently, 267–268 SD Formatter, 284 ACT LED flashing patterns, 267 Ubuntu, 284 BIOS, 264 Visual Studio, 285 configuration and Sonic Pi, 12 software, 264 SSH, 259 flashing patterns, 267 SSH. Secure Shell (SSH) outputs video, 264 Startup, Raspberry Pi Computer, 71 Power LED and ACT LED, Static IP address 262–263 DHCP configuration file, 82, 84–85 sequence, 263–264 Network Preferences dialog box, 83 system’s package list, 260 steps, 82–84 USB keyboards and pointing devices, 278–279 „„ T Wi-Fi connection, 276 Tor (The Onion Router), 14 Training and education resources „„ U Picademy, 286 Ubuntu, 284 Raspberry Jam, 286 Ubuntu MATE, 65–66 Raspberry Pi Education forum, 286 Ubuntu Server, 67 Raspberry Pi Foundation web site, 286 Troubleshooting audio issues, 279 „„ V boot problems VESA Advanced Feature Connector power LED (see Power LED) (VAFC), 46 Ethernet connections Video Electronics Standards cable, 274 Association (VESA) mounts, 46 connection, 274 Adafruit VESA Mount Plus, 45 LEDs, 274–275 hole spacings and screw sizes, 46 restarting, 276 OmniVESA, 45 installed packages, 261 Virtual Network Computing (VNC), 4 network issues client, 162 Connection Status, 273–274 description, 207 Ethernet over Wi-Fi, 272–273 installation NOOBS Dialog Box, 269 (see Headless installation, VNC) no output, 277 remote access SSH, 277–278 built-in VNC server, 208 replacement strategy, 259 configuration, 209–215 replacing connecting, 215–216 command prompt, 259–260 installation, 215 peripherals, 258 view information, 208–209 SD card, 258 vncinstall command, 162

292 ■ INDEX

Visual Studio, 285 control buttons, 109 VNC. See Virtual Network resizing and Computing (VNC) positioning, 108 Shortcut Menu, 109–111 Windows 10 IoT Core, 61–62 „„ W Wolfram app, 12 WiFi networks connection, 194–196 disconnection, 197 „„ X, Y, Z Windows Xubuntu, 64–65

293