Single board computers - IIT Kanpur

Single board computers - IIT Kanpur

SINGLE BOARD COMPUTERS -KEVIN JOSE WHY DO WE USE THEM? Good performance at low price GPIO capability to interact with the outside world Small form factor, portable Relatively low power consumption Wide range of products available with varying capabilities Tremendous community support available for most boards

Hackable! SOME DISADVANTAGES Usually quite fragile (electrically) GPIO output power constraints on some boards The processor is usually ARM and so there for cannot run x86 architecture based OSes like Windows and some Linux distros The performance of these boards does pale in comparison to

modern consumer desktops or laptops RASPBERRY PI The Raspberry Pi is a credit-card-sized single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of promoting the teaching of basic computer science in schools. Makers and tinkerers, being who they are, adapted the Pi to act as a tiny computer that they can easily embed into their

projects. BOARD LAYOUT GETTING STARTED Prepare the SD card 1) Format the SD card using SD Formatter 2) Download the image file of the OS, I am using Wheezy 3) Write the image file of the OS using Win32DiskManager

Related links/ References: 1) http://raspi.tv/2012/how-to-make-a-raspberry-pi-disk-image-to-sd-card-with-win32diskimager 2) https://www.sdcard.org/downloads/formatter_4/eula_windows/ I DO NOT HAVE A MONITOR TO SPARE! USING SSH Communicate with the Raspberry Pi by SSHing into it from your laptop using PuTTy

Xming allows us to use graphical applications also Assign static IP to Raspberry Pi which is similar to the IP of your laptop by editing the cmdline.txt file in boot directory, reboot IP address of your Rpi can be checked with the command hostname I The link given below is highly recommended Related links/ References: 1) https://pihw.wordpress.com/guides/direct-network-connection/comment-page-1/

TRANSFERRING FILES TO THE RPI FROM WINDOWS Use WinSCP to transfer(upload) files to the Raspberry Pi via the Ethernet cable Setup similar to that of PuTTy, file protocol: SCP Related links/ References: 1) http://sourceforge.net/p/raspberry-gpio-python/wiki/Home

RPIS WINDOW TO THE WORLD: GPIO GPIO stands for General Purpose Input/Output GPIO pins can be used to communicate with sensors other than usual computer peripherals Raspberry Pi has 8 configurable I/O pins, it also has pins capable of communicating via SPI or I2C protocol Rpis GPIO pins are infamous for their inability to supply large currents, some

pins can supply a maximum of 16 mA by some conservative estimates! Proper research must be done before connecting components to the GPIO pins and care must be taken to avoid any shorting SETTING UP AND USING THE GPIO PINS GPIO pin manipulation may not be active by default on Wheezy Need the Python library Rpi.GPIO to enable it Check if Rpi.GPIO is already installed by running python on the terminal (as root user) and importing Rpi.GPIO by command import Rpi.GPIO

If it imports alright, check version by running command Rpi.GPIO.VERSION Use 0.5.5 version If it is not installed, update and upgrade RPi with commands: (you need to be connected to the internet) sudo apt-get update sudo apt-get upgrade Actual usage explained in the demo Related links/ References:

1) http://sourceforge.net/p/raspberry-gpio-python/wiki/Home/ USING INTERNET ON RPI ON IITK LAN Wheezy lacks a GUI to change the static IP settings to use IITK Ethernet for internet Need to do it from the command line. A file needs to be changed: Navigate to /etc/network and change the eth0 part in interfaces file to: iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0

gateway 192.168.1.1 dns-nameservers 172.31.1.1 172.31.1.130 Insert appropriate numbers Related links/ References: 1) http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=5738 This lecture could not have been possible without the resources provided by the creators of RaspberryPi VI Beginners website and YouTube channel

(amongst others listed in the slides): 1) http://pibeginners.com/ 2) https://www.youtube.com/user/RaspberryPiBeginners Strongly recommended for absolute beginners! THANK YOU!

Recently Viewed Presentations

  • Nastavne Metode - Pmf

    Nastavne Metode - Pmf

    Seminari Dokazi bez riječi Vieteove formule Načelo historičnosti - Cardano i dr. Načelo historičnosti - Stari Grci Dijeljenje pozitivnih racionalnih brojeva Ekvipotentnost skupova Nastavne metode: predavačka metoda heuristička metoda problemska metoda programirana metoda metoda rada s tekstom SUVREMENA NASTAVA MATEMATIKE...
  • NCOG November, 19th

    NCOG November, 19th

    Budget and Financial Management Control Systems Implementation & ICT Strategy Definition and Implementation Capgemini Presentation to NCOG Geneva, November 19th, 2004
  • The Integumentary System Also known as The SKIN!

    The Integumentary System Also known as The SKIN!

    This protective protein prevents water loss from skin Lysozomes consumed nuclei and organelles upon cell death This layer is called "cornified or horny" because the cells are now called "corneocytes"
  • Ashtabula Williams Lucas Fulton Lake Geauga Wood Henry

    Ashtabula Williams Lucas Fulton Lake Geauga Wood Henry

    Jackie Wilkins Created Date: 6/3/1996 2:38:14 AM Document presentation format: On-screen Show (4:3) Other titles: Times New Roman MS Pゴシック Arial Calibri Office Theme 1_Office Theme 2_Office Theme 3_Office Theme 4_Office Theme 5_Office Theme 6_Office Theme 7_Office Theme 8_Office Theme...
  • Aim: What is Passive and Active Transport?

    Aim: What is Passive and Active Transport?

    Aim: What is Passive and Active Transport? ... How would you define someone who is passive? _____ There are 2 ways molecules can get in a cell. 1) Passive Transport - This type of transport requires no energy (no ATP)....
  • According Accordingto toKansans, Kansans, what what skills skillsshould

    According Accordingto toKansans, Kansans, what what skills skillsshould

    Conceptual frameworks can be generated from the themes themselves, or from established research and theory. We used both methods: validated predictors of career and life success, (the Big 5 personality skills), and themes that emerged from focus groups' answers.
  • Plasma Membrane - Moore Public Schools

    Plasma Membrane - Moore Public Schools

    The Plasma Membrane. 10/17/2017. G. Podgorski, Biol. 1010. copyright cmassengale. FLUID- because individual phospholipids and proteins can move side-to-side within the layer. MOSAIC-because scattered protein molecules form a pattern when the membrane is viewed from above.
  • Primary Care Management of the Degenerative Spine

    Primary Care Management of the Degenerative Spine

    Treatment of Lumbar Spinal Stenosis. Physical Therapy- Core Stabilization, Physical Activity Advice- Keep them active! Stationary bike better than walking for fitness. Oral Steroid Burst. Gabapentin for Radicular Symptoms. Lumbar Epidural Steroid Injections by Caudal or Transforaminal approach.