From 0 to 1: Raspberry Pi and the Internet of Things

Have a blast using the Raspberry Pi to do some home automation and understand the Internet of Things
4.4 (63 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,720 students enrolled
Instructed by Loony Corn IT & Software / Hardware
$19
$50
62% off
Take This Course
  • Lectures 37
  • Length 9.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 11/2015 English

Course Description

  • Taught by a team of electrical engineers from Stanford and IIT Madras.

An Internet-Of-Things course for everyone - accessible yet serious, to take you from absolute beginner to a solid intermediate level - built around Home Automation using Raspberry Pi.

This is a course is for everyone. You need not be an electrical engineer, or an engineer at all. We explain all engineering or automation concepts from absolute scratch.

This is an Internet-of-Things course, not merely a Raspberry Pi course. This is important because we think too many courses end up becoming like manuals for the Raspberry Pi, or the Arduino, or some specific hardware device. This course is careful to generalize

The course takes you to a solid intermediate level. The objective is to get you to a point where if you imagine a really cool IoT application, you will be able to independently figure out how to implement it.

We focus on Home Automation using Raspberry Pi for our use-cases. This is so that you can immediately put it to use around the home (turn that music down without getting off the couch!)

As with all our courses, this one too is quirky. The examples are irreverent. Lots of little touches: repetition, zooming out so we remember the big picture, active learning with plenty of quizzes. There’s also a peppy soundtrack, and art - all shown by studies to improve cognition and recall.

What's Covered:

Internet of Things : Sensors, Actuators, Microcontrollers, Arduino, Raspberry Pi, Physical Computing, Smart homes

Raspberry Pi 2 Model B Components, System on a Chip (SOC) , Input Output Interfaces, SD Card / Secondary Storage, Choice of Operating Systems, RISC/CISC Architectures, x86 vs ARM, Raspbian OS installation, Raspbian tour, Linux Shell commands overview, Installing softwares, Connecting to the Internet

Physical Computing: Sensors (Photoresistors, Ultrasonic sensors, motion sensors, temperature and humidity sensors), Relays, LEDs, Push buttons, Basics of circuit design, Ohm's law, RC circuit, GPIO pins, Serial and Parallel interfaces, UART, SPI, I2C, Pulse Width Modulation (PWM), Python (RPi DOT GPIO), WiringPi, Node js (RPi-GPIO)

Home Automation projects: Measuring Distance, Measuring Light Intensity, Controlling switches with sensors, Controlling switches over local and external networks


Mail us about anything - anything! - and we will always reply :-)

What are the requirements?

  • No real prerequisites. Beginner level understanding of electric circuits and programming might help but its not mandatory
  • If you intend to do the physical computing projects, go ahead and purchase a Raspberry Pi - but the course does give you advice on things you might need to get for your automation projects so you can wait to decide as well.

What am I going to get from this course?

  • Understand what the internet of things and physical computing are
  • Know their way around a Raspberry Pi
  • Use the Raspberry Pi in Home Automation projects
  • Think of different IoT applications and visualize the components needed to build them
  • Do cool things like control switches in their home with their smartphone

What is the target audience?

  • Yep! Anyone who is interested in Internet of Things, Physical computing, hardware hacking and wants to get their hands dirty with real projects
  • Yep! Non-engineers / Non-tech persons who are interested in home automation projects or Raspberry Pi
  • Yep! People who are looking to understand the details of IoT and want to think of new startup ideas in the IoT space or work in this space
  • Yep! Engineers who have book knowledge but want some help with practical application of electronics concepts

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: What this course is about
03:08

We - the course instructors - start with introductions. We are a team that has studied at Stanford, IIT Madras, IIM Ahmedabad and spent several years working in top tech companies, including Google and Flipkart.

Next, we talk about the target audience for this course: There is no bar. Even absolute beginners can take this course. It starts with the basics and builds up to solid intermediate level home automation projects with the Raspberry Pi.

At the end of this course, you should be able to confidently build an IoT project on your own.

Section 2: What is the Internet of Things?
14:54

Tech companies are buzzing with anticipation about the Internet of Things. What is it and why should you care? This class takes you through the possibilities that the Internet of Things can open up. It also explains in brief how it can be achieved.

14:49

We'll start with understanding the basic setup of a 'smart' home. The thing that makes it smart is a special type of computer. Microcontrollers are examples of special purpose computers that can be used for automating things.

15:37
We'll talk about Arduino boards which are microcontroller based DIY kits and very popular for IoT experimentation. The Raspberry Pi is a tiny credit card sized computer that packs quite a punch.
Internet of Things
3 questions
Section 3: Pi's Anatomy
15:38

The Raspberry Pi is tiny but still packs quite a punch. The Broadcom System on A Chip (SOC) is the secret sauce that makes this possible.

10:40

You can connect many things to a Raspberry Pi - Camera. HDMI, audio, GPIO - this class takes you on a tour of

the Raspberry Pi Board

12:37

The Raspberry Pi's SOC only has a small RAM. Where do you store your data, OS etc then? Use a Micro-SD card to store all your files and data.

09:47

The Raspberry Pi only runs specific kinds of operating systems - but there is still a lot of choice. Beef up on your OS fundamentals - RISC, CISC architectures, Open source vs closed source and make an informed choice of OS.

Raspberry Pi
3 questions
Section 4: Getting Started
13:09

It's time to get started. We'll walk you through the steps involved in installing an Operating system.

20:04

Raspbian is the OS we've chosen to install. It's pretty similar to Debian - a linux distribution. Go on a tour of the OS.

10:46

Walk through a few useful linux shell commands including grep.

13:28

Adding a user and giving them permissions is not as straightforward as Windows. Redirection symbols come in real handy when you want to capture or parse the output at a command line.

06:34

Installing a software requires a few specific commands. These will be a lifesaver, whenever you use any Linux based OS in the future.

13:42

Connecting your Raspberry Pi to the internet can be a little tricky if you have never worked on a Linux based OS. We'll walk you through it step by step and there is a guide attached as well.

Raspbian
2 questions
Section 5: Coding with Python - It's easy as Pi
07:36

If you are absolutely new to coding, don't be intimidated in the least - its just like cooking.

09:17

A list is a list, as the name implies. Everything in life is a list, including strings

08:44

Let's do some stuff with lists.

06:18

Dictionaries, the name itself best describes what they are: collections of key-value pairs that you can look up blazingly fast. If-Else Statements come in real handy when you need to check for a condition.

04:26

Ever wondered what's the biggest difference between Excel, and a serious programming language? Loops. Loops are big productivity boosters.

05:29

Lists and Dictionaries are inextricably linked with loops. Use loops to do something with each element of a list or each key-value pair of a dictionary.

10:58

If coding is like cooking, functions are like food processors. They automate repetitive tasks by mechanically taking stuff in and churning stuff out.

02:31

Modules are awesome, you can do amazingly complex things by importing a module, without having to code stuff from scratch.

Python
2 questions
Section 6: Physical Computing with the Raspberry Pi
14:38

Walk through the various steps involved in a physical computing project. These are general enough that you can use this same process with any project , regardless of whether it is a Raspberry Pi that you're using as the main unit.

18:13

Devices communicate through interfaces, these are boundaries that connect them to other devices and define how the communication will be. Digital communication starts with binary and includes many possible interfaces -Serial, parallel, UART, Serial Peripheral Interface (SPI) and I2C. Pulse Width Modulation is a way to convert digital to analog.

18:52

This is the most critical step in physical computing - designing a circuit that connects your Raspberry Pi to other devices. We'll start from basics - what is the Ohm's law? What is resistance? Understand the specific roles that the different GPIO pins on the Raspberry Pi play.

06:10

To tie it all up, you'll need to write a program that controls the devices in your circuit. RPi.GPIO in Python or WiringPi in C are options but the basic steps are the same.

Physical Computing
2 questions
Section 7: Let's have some fun! Home Automation projects
10:26

Here are few things you might want to add to your shopping list.

12:41

Our first physical computing project! Have some fun turning an LED on or off with your Raspberry Pi.

Errata: at 6:15. Connect the longer end of the LED to GPIO Pin 11

10:18

Read input from a Push Button, which is a tiny switch.

13:46

Take a reading from a photoresistor which is a light sensor. Use an RC circuit to measure the resistance of the photoresistor.

17:12

Use the Ultrasonic sensor to figure out if there is something is near the Raspberry Pi - and how far away it is.

Sensors
2 questions
12:43

We'll build upon the previous 2 projects. If a person walks into a room and the room is too dark - turn on the light switch. The project uses 3 circuits - Light sensor, Ultrasonic sensor, Relay to control a switch

11:56
We'll build upon the previous 2 projects. If a person walks into a room and the room is too dark - turn on the light switch. The project uses 3 circuits - Light sensor, Ultrasonic sensor, Relay to control a switch
13:27

Note: The code for this project is no longer available on github. Please use the attached zip file for the source code.

08:23
Note: The code for this project is no longer available on github. Please use the attached zip file for the source code.
Relay
1 question
Setting up a video feed with the Pi Camera
17:04
Section 8: For Arduino lovers: WiringPi
15:57

WiringPi is a library that was written for Arduino like programming on the Raspberry Pi. Pulse Width Modulation is a way to convert digital to analog - we'll explore both of these in this class .

WiringPi
1 question

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Loony Corn, A 4-person team;ex-Google; Stanford, IIM Ahmedabad, IIT

Loonycorn is us, Janani Ravi, Vitthal Srinivasan, Swetha Kolalapudi and Navdeep Singh. Between the four of us, we have studied at Stanford, IIM Ahmedabad, the IITs and have spent years (decades, actually) working in tech, in the Bay Area, New York, Singapore and Bangalore.

Janani: 7 years at Google (New York, Singapore); Studied at Stanford; also worked at Flipkart and Microsoft

Vitthal: Also Google (Singapore) and studied at Stanford; Flipkart, Credit Suisse and INSEAD too

Swetha: Early Flipkart employee, IIM Ahmedabad and IIT Madras alum

Navdeep: longtime Flipkart employee too, and IIT Guwahati alum

We think we might have hit upon a neat way of teaching complicated tech courses in a funny, practical, engaging way, which is why we are so excited to be here on Udemy!

We hope you will try our offerings, and think you'll like them :-)

Ready to start learning?
Take This Course