Introduction to: ¡ What’s a Raspberry Pi ¡ What’s in a Raspberry Pi ¡ What’s not in a Raspberry Pi ¡ Raspberry Pi Operating Systems ¡ Introduction to ¡ What’s the GPIO? ¡ What’s a breadboard? ¡ Now what? (Future projects) ¡ A series of low-cost, single-board, credit card- sized computers

¡ Developed in the UK by the Raspberry Pi Foundation with the intention of promoting the basic teaching of computer science

¡ A cool toy to play with and use for project without fear of “breaking” things

¡ BlueTooth

¡ Wi-Fi

¡ GPS

¡ Accelerometers

¡ Hard disk (well, kind of) ¡ Mostly Linux § Raspbian (What we’ll use) § Arch § Kali (Penetration Testing) ¡ Some § RISC OS ¡ Some specialty § MAME (Multiple Arcade Machine Emulator) § XBMC (Xbox Media Console – Medial Player) ¡ Windows 10 IoT Core ¡ Logging in: § Username: pi § Password: raspberry ¡ The “sudo” is required for root/ administrator commands ¡ Configuring your Pi § raspi-config ▪ Enable/Disable graphical login ▪ Change password ▪ Enable Camera ▪ Enable SSH ¡ The Pi is not a high-power computer, but does support a GUI

¡ Before starting GUI, ensure you have a mouse

¡ Command: startx

¡ Access command-line via the Terminal application ¡ Where am I? § User’s directory is /home/pi § Get back to home: ~ § gives the Present Working Directory ¡ Change directory: cd ¡ a directory: ¡ Listing files in a directory: ¡ Copy a file: ¡ Delete a file: ¡ Most commands support -h or --help ¡ Manuals for commands § Can be read by typing man in front of the command (e.g. man ls) § Use arrows to navigate and q to quit ¡ § When you’ve no clue, use the apropos command § Apropos searches manual pages for the words that you ask it about § Try: apropos zip ¡ GPIO lets you power, control and read devices § Motors § Motion Sensors § Cameras § GPS § Motors § LEDs ¡ Sometimes you want to control lots of stuff ¡ Sometimes you don’t want to solder ¡ Sometimes you just want to play ¡ The breadboard allows for proto- typing without soldering

¡ We can use the Pi as a miniature computer § Firewall § Tor node § Web server § Media server § Minecraft console ¡ Or…. ¡ We can build cool hardware projects § Motion sensing cameras § Facial recognition biometric locks § Robots § Arcade game Machines ¡ Blink an LED when we receive email ¡ Sibling Alarm § Play a sound when sound when we detect motion in our room ¡ A “Santa Clause” detector § Program the Pi to snap a picture when it detects motion ¡ Don’t panic

¡ Scratch is a graphical programming language (think Legos)

¡ Python is an easy-to-learn scripting language that reads like English

¡ Bring your kids or do these projects home with them