Introduction

Introduction

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 Linux ¡ 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 UNIX § 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” command 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: cd ~ § pwd gives the Present Working Directory ¡ Change directory: cd ¡ Make a directory: mkdir ¡ Listing files in a directory: ls ¡ Copy a file: cp ¡ Delete a file: rm ¡ 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 ¡ Apropos § 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 at home with them .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    17 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us