Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Skillshare

Unleash The Raspberry Pi Through Physical Computing

via Skillshare

This course may be unavailable.

Overview

This class is for beginners interested in unlocking the hardware potential of their Raspberry Pi so that it can interact with the physical world.

This is the first class on Skillshare to cover the Raspberry Pi and contains just over 3 hours of video instruction.

During the course we'll take this pile of stuff:

And turn it into this:

The class will start with the very basics of setting up a Raspberry Pi straight out of the box. It will then cover 3 main capabilities provided by the Raspberry Pi for physical computing:

  • General Purpose Input/Output
  • I2C Protocol
  • SPI Protocol

Students will become very familiar with each of these via the class project which will be to create a very simple home monitoring device.

At the end of the class, students will have the basic knowledge and skills required to start creating their own Pi-based hardware projects.

The Class Will Cover the Following:

  • Setup: Unboxing and setting up the Raspberry Pi
  • PI GPIO Header: What it is and the functionality it provides
  • General I/O: How to configure and use a pin as an input and output
  • SPI Protocol: What it is and how to use it on the Pi
  • Sensors: How to hook them up and read them
  • I2C Protocol: What is is and how to use it on the Pi
  • To the Cloud: How to connect your creation to the web without writing a website
  • ...and much more

As needed, the class will discuss basic electronics principles but is not meant to provide deep coverage of that topic. I'll walk you through everything you need to know to stay safe and have fun. The class will use the Python programming language. Programming experience is not required but will definitely help.

The following is a shopping list of items for the class project if you wish to follow along:

  • Raspberry Pi (power supply, SD card, keyboard, monitor, internet connection via ethernet cable or wifi adapter)

  • Pi Case (optional but recommended) - Make sure you can still access the header pins.

  • Breadboard (large)

  • Soldering Iron and Solder (very little soldering, maybe borrow)

  • Several Feet of Hookup Wire

  • Pi Cobbler from AdaFruit (optional)

  • 330 resistor (1)

  • 1K resistor (3)

  • 10K resistor (2)

  • LED (any color)

  • Breadboard-Mountable Switch

  • Breadboard-Mountable Push Button

  • Break Away Male Header Pins (optional for solding to breakout boards)

  • Seven Segment Serial Display

  • TMP102 Breakout Board

  • PIR Motion Sensor from Parallax

To help with your shopping I've created a shopping list at Sparkfun which contains almost everything you will need. While the temp sensor and display are only sold by Sparkfun you can get the rest of the parts from any distributor like Mouser, Newark or Digikey. I love Sparkfun but recommend NOT buying breadboards from them as they are very difficult to break in.

Sparkfun Shopping List

I recommend getting the motion sensor either directly from Parallax or from Mouser.

If you're in Europe you can find a lot of this stuff at proto-pic which should save you some money on shipping.

If you have any questions about the list of the materials before making a purchase feel free to contact me at sidwarkd at hardlysoftware dot com.

Syllabus

  • Welcome to Class
  • Prepare the SD Card (Steps 1-3)
  • Install Raspbian and Update (Steps 4-9)
  • The GPIO Header
  • Setup Basic Input/Output
  • How to Hook up an LED (Step 1)
  • Intro to Fritzing and LED Hookup (Step 2-3)
  • Use Python to Control an LED (Step 4-5)
  • Safety Reminder
  • Theory and Switch Hookup (Steps 1-2)
  • Switch Integration (Steps 3-5)
  • Button Integration (Steps 6-7)
  • Soldering Headers
  • Intro to SPI (Step 1)
  • Enable and Test SPI Protocol (Steps 2-6)
  • Basic Setup and Test (Steps 1-4)
  • Controlling the Display (Steps 5-11)
  • I2C Basics (Step 1)
  • Configure Pi for I2C (Steps 2-5)
  • Datasheet Review and Hookup (Steps 1-2)
  • Add Sensor Code to Python File (Steps 3-6)
  • Datasheet Review and Hookup (Steps 1-2)
  • Script and Test (Steps 3-4)
  • Twitter Integration
  • Conclusion

Taught by

Kevin Sidwar

Reviews

Start your review of Unleash The Raspberry Pi Through Physical Computing

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.