O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Próximos SlideShares
Lecture 7
Lecture 7
Carregando em…3
×

Confira estes a seguir

1 de 12 Anúncio

Mais Conteúdo rRelacionado

Diapositivos para si (20)

Semelhante a Lecture 8 (20)

Anúncio

Mais de vishal choudhary (20)

Mais recentes (20)

Anúncio

Lecture 8

  1. 1. Vishal Choudhary vishalhim@yahoo.com IOT Hardware-Raspberry-pi
  2. 2. Raspberry Pi  Raspberry Pi is a low-cost mini-computer with the physical size of a credit card.  Raspberry Pi runs various flavors of Linux and can perform almost all tasks that a normal desktop computer can do.  Raspberry Pi also allows interfacing sensors and actuators through the general purpose I/O pins.  Since Raspberry Pi runs Linux operating system, it supports Python .
  3. 3. The history of the Raspberry Pi was basically introduced in 2006. Its main concept is based on Atmel ATmega644.which is particularly designed for educational use and intended for Python. A Raspberry Pi is of small size i.e., of a credit-card-sized single-board computer, which is developed in the United Kingdom(U.K) by a foundation called Raspberry Pi. The main motto of this foundation is to promote the teaching of basic computer science in the education institutes and also in developing countries. The first generation of Raspberry (Pi 1) was released in the year 2012, which has two types of models namely model A and model B.
  4. 4.  In the subsequent year, A+ and B+ models were released. Again in 2015, Raspberry Pi2 model B was released and an immediate year Raspberry Pi3 model B was released in the market.  Raspberry Pi can be plugged into a TV, computer monitor, and it uses a standard keyboard and mouse.  It is user-friendly as it can be handled by all the age groups. It does everything you would expect a desktop computer to do like word-processing, browsing the internet spreadsheets, playing games to playing high definition videos. It is used in many applications like in a wide array of digital maker projects, music machines, parent detectors to the weather station and tweeting birdhouses with infrared cameras
  5. 5.  The Raspberry Pi Foundation provides Arch Linux ARM and Debian distributions for download, and promotes Python as the main programming language, with support for BBC BASIC, Java, C, Perl, Ruby, PHP, Squeak Smalltalk, C++, etc. The following are essential to get started  Video cable to suit the TV or monitor used  SD card containing Linux Operating system  Power supply (see Section 1.6 below)  USB keyboard  TV or monitor (with DVI, HDMI, Composite or SCART input)
  6. 6. Linux on Raspberry Pi  Raspbian Raspbian Linux is a Debian Wheezy port optimized for Raspberry Pi.  Arch Arch is an Arch Linux port for AMD devices.  Pidora Pidora Linux is a Fedora Linux optimized for Raspberry Pi.  RaspBMC RaspBMC is an XBMC media-center distribution for Raspberry Pi.  OpenELEC OpenELEC is a fast and user-friendly XBMC media-center distribution.  RISC OS
  7. 7. Difference between Arduino and pi These both teaching tools are suitable for beginners,. The main difference between them is Arduino is microcontroller board while raspberry pi is a mini computer. Thus Arduino is just a part of raspberry pi.Raspberry Pi is good at software applications, while Arduino makes hardware projects simple.
  8. 8. SL Raspberry Pi Arduino 1 It is a mini computer with Raspbian OS.It can run multiple programs at a time. Arduino is a microcontroller, which is a part of the computer. It runs only one program again and again. 2 It is difficult to power using a battery pack. Arduino can be powered using a battery pack. 3 It requires complex tasks like installing libraries and software for interfacing sensors and other components It is very simple to interface sensors and other electronic components to Arduino.
  9. 9. SL Raspberry Pi Arduino 4 It is expensive It is available for low cost. 5 Raspberry Pi can be easily connected to the internet using Ethernet port and USB Wi-Fi dongles. Arduino requires external hardware to connect to the internet and this hardware is addressed properly using code. 6 Raspberry Pi did not have storage on board. It provides an SD card port. Arduino can provide onboard storage. 7 Raspberry Pi has 4 USB ports to connect different Arduino has only one USB port to connect to
  10. 10. SL Raspberry Pi Arduino 8 The processor used is from ARM family. Processor used in Arduino is from AVR family Atmega328P 9 This should be properly shutdown otherwise there is a risk of files corruption and software problems. This is a just plug and play device. If power is connected it starts running the program and if disconnected it simply stops. 10 The Recommended programming language is python but C, C++, Python, ruby are pre-installed. Arduino uses Arduino, C/C++.
  11. 11. How to decide between Raspberry Pi and Arduino So to decide between the two, first you should know what you want to do in your project.  Arduino is good for repetitive tasks such as opening the garage door, switching the lights on and off.  While pi good for performing multiple tasks, driving complicated robots.  if you want to monitor the soil moisture and mail me if it is necessary to water the plants.For this application, arduino can be used.  if you want to monitor the moisture, mail me when the plants need to be watered and check the weather report from online.If there is rain do nothing. For this application Raspberry pi required.  In simple Arduino is used for beginners projects and some complicated projects can be easily handled by pi.

×