1.intro

26
Pi Maker Workshop Powered by: http://www.inventrom.com/ http://www.robotechlabs.com/ Mayank Joneja botmayank.wordpress.com [email protected] 1.Introduction

Upload: mayank-joneja

Post on 13-May-2015

337 views

Category:

Engineering


4 download

DESCRIPTION

This is a part of the slide set used at the MakerSpace Noida (India) launch event, Pi Maker Workshop. This slide set is designed to help people get started with the Raspberry Pi and also serves as a collection of innovative projects and some core basic concepts that can aid anybody with their first few steps into the world of DIY electronics or maybe serve as a refresher for the experienced. Feel free to refer and share but please don't alter the watermarks :)

TRANSCRIPT

Page 1: 1.Intro

Pi Maker

Workshop

Powered by:

http://www.inventrom.com/http://www.robotechlabs.com/

Mayank Jonejabotmayank.wordpress.com

[email protected]

1.Introduction

Page 2: 1.Intro

Mayank Joneja

What is a Raspberry Pi ?

Raspberry Pi is a low-cost, basic computer that was originally

intended to help spur interest in computing among school

children by exposing them to the “Bare Bones” of a computer in

this age when everything is a closed black box to the user.

Page 3: 1.Intro

Mayank Joneja

The Raspberry Pi is contained on a single circuit board roughly the size of a credit card.

It features ports for:

Video: HDMI / Composite Video

Audio: HDMI/ Analog audio

Micro USB port for power supply

Ethernet Port

SD Card

2 USB 2.0 ports

The computer runs entirely on open-source software and gives students the ability to mix and match software according the work they wish to do

It is one of the world’s smallest and cheapest computers

Page 4: 1.Intro

Mayank Joneja

Fine, what can I make with it?

Page 5: 1.Intro

Mayank Joneja

More stuff…

Page 6: 1.Intro

Mayank Joneja

Remember this?

https://www.youtube.com/watch?v=5h5HcOU02wU

Page 7: 1.Intro

Mayank Joneja

Hi, what’s your name?

Programming Experience (Any language)

Hardware/Electronics knowledge

Linux?

Networking/Router Configuration?

Interests? Photography? Music? Hacking? etc etc

Page 8: 1.Intro

Mayank Joneja

MakerSpace what?

To describe them simply, makerspaces are community centers with tools.

Makerspaces combine manufacturing equipment, community, and education for the purposes of enabling community members to design, prototype and create manufactured works that wouldn’t be possible to create with the resources available to individuals working alone.

These spaces can take the form of loosely-organized individuals sharing space and tools, for-profit companies, non-profit corporations, organizations affiliated with or hosted within schools, universities or libraries, and more.

All are united in the purpose of providing access to equipment, community, and education, and all are unique in exactly how they are arranged to fit the purposes of the community they serve.

Page 9: 1.Intro

Mayank Joneja

Makerspaces represent the democratization of design, engineering, fabrication and

education.

They are a fairly new phenomenon, but are beginning to produce projects with significant

national impacts.

http://net.educause.edu/ir/library/pdf/eli7095.pdf

Notable projects:

Pebble Watch (a programmable watch whose team is the recipient of the largest Kickstartercampaign in history)

MakerBot (creators of a low-cost 3D printer that’s revolutionizing the entire rapid prototyping industry)

Square (a painless payment gateway enabling small businesses to collect money easily worldwide)

Page 10: 1.Intro

Mayank Joneja

RasPi: Origins

The Raspberry Pi debuted in February 2012

The group behind its development: The Raspberry Pi Foundation started this project to make computing fun for students while also creating interest in how computers work at a basic level.

Eben Upton, Founder and Trustee of Raspberry Pi

Unlike using an encased computer from a manufacturer, the RasPi shows the essential guts behind the plastic.

Even the software, by virtue of being open source offers and opportunity for the users to explore the underlying code – if they wish

The RasPi is believed to be an ideal learning tool, in that it is cheap to make, easy to replace and needs only a keyboard and a TV/Monitor to run. The same strengths also make it an ideal product to jumpstart computing in the developing world.

Page 11: 1.Intro

Mayank Joneja

Early prototypes

Veroboard and PCB versions of the

prototype

Page 12: 1.Intro

Mayank Joneja

Technical Specifications

Page 13: 1.Intro

Mayank Joneja

Tech Specs

CPU:

Broadcom BCM2835 system-on-a-chip (SoC)

This SoC includes:

32 bit ARM1176JZFS processor, clocked at

700MHz (can overclock safely up-to 900MHz)

Videocore IV GPU

512 MB of RAM in a POP package above the

SoP

Page 14: 1.Intro

Mayank Joneja

Power Supply:

The Raspberry Pi requires a stable 5V ( 800mA at least) power supply.

It can be powered from the GPIO pins as well however the power supply protection is only featured on the Micro USB port.

Any Android/Blackberry cell phone charger works well

Prefer not to power it from your PC/Laptop USB

In order the make the Power Supply portable, one of the easiest and most reliable ways is to power it from a Portable 5V Mobile Phone Charger

One can even hack a car charger which converts 12V DC to 5V DC and use it with an 11.1V LiPo or Li-Ion battery

It is very easy to damage the Raspberry Pi through a power supply problem or for instance if you power it through the GPIO directly (Kids, always use protection :P) however, for most of such cases, the Raspberry Pi’s “MAGICAL” self healing fuses are good enough to bring your Pi BACK FROM THE DEAD :D

Page 15: 1.Intro

Mayank Joneja

Alternatives

Page 16: 1.Intro

Mayank Joneja

Storage:

SD Card (if using micro SD card, you’ll need an adapter)

Main purpose that the SD Card serves is to run the Operating System (Linux variants) for the Raspberry Pi

Minimum requirements: 2 GB (only OS), Maximum: 32 GB

8 GB suffices for most applications

Preferably use Class 10 and above for fast data access

The kernel boots from the SD Card

It is also possible to use a USB Pen drive to run the OS however that implementation is not so frequently seen as that ends up blocking one of the 2 available ports.

Page 17: 1.Intro

Mayank Joneja

Video

HDMI or (digital) DVI via cheap adapter/cable

Composite NTSC/PAL via RCA

Wide range of resolutions

No VGA (analog video) without an add-on, non trivial converter (most reliably- from

Adafruit)

Page 18: 1.Intro

Mayank Joneja

Audio

Via HDMI or from a 3.5mm stereo jack

Output only

Page 19: 1.Intro

Mayank Joneja

Networking

10/100 MBPS via RJ45 on model B

Wireless via USB add-on supported

Page 20: 1.Intro

Mayank Joneja

USB

Dual USB sockets on RPi model B, single on model A

Expandable via regular or powered USB hubs

Cannot source enough power to run External Hard Disk drives from the USB power supply or some high demand Wi-Fi dongles and Data Cards

Best to use a Powered USB hub when connecting several devices. This allows for the sharing of data on the USB line but draws power from an external 5V 1A (or more) adapter

Page 21: 1.Intro

Mayank Joneja

General Purpose Input Output

The Raspberry Pi features a 26Pin header for GPIO access which runs at 3.3 V logic

The pins are NOT 5 V or short tolerant

Parallel I/O pins

UART Linux console support

I2C, SPI for peripheral interfacing

Around 17 True GPIO pins that are re-programmable for users on the main header

Other headers to offer features like JTAG support, CSI camera support, DSI LCD Panel

support and additional GPIO

Page 22: 1.Intro

Mayank Joneja

Pinout

Page 23: 1.Intro

Mayank Joneja

Difference in Model A and B

Model A

256 MB RAM

One USB port

No Ethernet support

Model B

512 MB RAM

2 USB ports

1 Ethernet port

Page 24: 1.Intro

Mayank Joneja

Raspberry Pi vs Arduino

For those of you who’ve been following or involved in the world of DIY Electronics, the

Arduino must be a familiar name. Several times while starting off with projects, its important

to understand the differences between both in order to make the most optimal use of

resources and time.

Let’s have a look at this helpful description:

https://www.youtube.com/watch?v=7vhvnaWUZjE

Page 25: 1.Intro

Mayank Joneja

Page 26: 1.Intro

Mayank Joneja

The Raspberry Pi Tools

Win32Disk Imager

SD CardFormatter ( different formats: ext4/fat32/ntfs)

PuTTY

VNC

Sublime-Text

Web browser: (I use Chrome)

Samba so that one can simply access files through Windows Explorer

WinSCP

AdvancedIPScanner

Router Config

Linux on your Laptop-to view and edit files on the ext4 partition of the SD Card--use Vmware, or just a boot disk if you don’t want to install a dual boot system (Interfaces file)