Skip to content

dscmbm/DSC-IoT-Track-3-Resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Welcome to DSC IoT Track 3

learn-raspberry-pi-iot

Learn how to build Internet of Things (IoT) Apps using Raspberry Pi !

Why?

A Raspberry Pi (Raspberry Pi) is a 'mini computer' that was created to help people learn about the basics of computers. They are great for resource to get started on learning about hardware as they consist of the basic components of a computer. Raspberry Pi can run on an OS, which means that we can talk to the computer with higher level languages like Javascript!

What?

Internet Of Things (IoT) describes the internetworking of physical devices... that basically means that multiple systems (e.g. computers and microprocessors) can talk to each other to do awesome things.

An example is a 'Smart Home' which might consist of a thermometer, microprocessor, a server and a mobile. The thermometer might measure the temperature of a room; the microprocessor might read the temperature every 5 minutes and send those results to a computer. This computer might then save each measurement and send them to the Home Owner, displaying the measurements in the form of a graph so that they can easily see their energy consumption.

Raspberry Pi runs on a Linux OS, called Raspbian.

Background links:

How?

A detailed set of instructions on how to install NodeJS onto Raspberry Pi can be found here. In addition to simple installation, the instructions in this link also covers getting WiFi on Raspberry Pi 2, setting up Remote Desktop and Windows File Share.

In summary we need to know: (1) Equipment (2) Get Raspbian OS (time: ~30mins) (3) Hardware Setup + Booting Raspberry Pi (time: ~10mins) (4) Install NodeJS (time: can be >30mins)

Please note that the above time estimates are dependent on connection

(1) Equipment:
  • Laptop with Windows/Linux/OS X
  • microSD card (8GB or more)
  • microSD - SD card adapter
  • Micro USB power supply
  • HDMI cable*
  • Keyboard (USB)
  • Mouse (USB)
  • Raspberry Pi 2 + USB WiFi adapter OR Raspberry Pi 3
  • Raspberry Pi outputs to a Monitor through an HDMI slot. Check the available inputs on your Monitor (computer or tv) and buy an appropriate cable; this could be an HDMI-HDMI or an HDMI-DVI, etc.
(2) Get Raspbian OS:

To do this, you'll need to download two things; Raspbian OS (Raspberry Pi's official operating system) and Etcher.

(1) Download the latest Raspbian OS: go to https://www.raspberrypi.org/downloads/raspbian/ and you'll get two options; click 'Download ZIP' of "Raspbian Jessie With Pixel"

(2) Download Etcher: go to https://etcher.io/ and click 'Download'

(3) Put your microSD card into your SD card adapter, and insert into your laptop.

(4) Once Raspbian OS and Etcher have downloaded, open Etcher. You'll see something like the following open:

  • Click 'Select image', and select the Raspbian OS file (.zip) that you just downloaded.
  • Click 'Select drive', and select your microSD/SD card.
  • (Make sure you've selected the right options above! Then) Click 'Flash!'; this will write the OS to the microSD. (Takes ~10mins)
  • Once this is complete, remove the microSD/SD from your laptop.
(3) Hardware Setup + Booting Raspberry Pi

image source: Oracle
  • Take the microSD card out of the adapter, and put it into the Raspberry Pi.
  • Connect the Keyboard and Mouse by USB.
  • Connect the Raspberry Pi to a monitor with the HDMI cable
  • Power the Raspberry Pi with the Micro USB power supply.
  • Switch on the monitor, and if necessary navigate to the correct input mode.

Note: to configure your Raspberry Pi (WiFi, username/password, timezone, etc.), read more here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published