raspberry pi and scientific computing [scipy 2012]
DESCRIPTION
A small, credit card sized ARM based computer, Raspberry Pi has seen tremendous response from developers all across the world. This talk is divided in two parts: 1.Raspberry Pi: Getting Started with Python and tools In first part I will brief about raspberry pi, its features and will discuss how scientific computation can be done using small raspberry pi.I will also discuss what tools are needed for the same. It is followed by examples in key area like data processing. 2.Controlling external device using Raspberry Pi and Python In second part of the presentation I will talk about one specific project. Data is entered by user and the complex processing (project specific) is done by python. Based on the result given by python code Raspberry Input/output ports can be controlled to control specific device connected to it.TRANSCRIPT
![Page 1: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/1.jpg)
1
RASPBERRY PI AND SCIENTIFIC COMPUTINGSamarth Shah ([email protected])
29/12/2012
“Technology feeds on itself. Technology makes more technology possible “ –Alvin Toffler
![Page 2: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/2.jpg)
2
About Me
29/12/2012
B.Tech Electronics Engineer – 2012 Area of Interests
Hardware tinkering Human Computer Interaction , Kinect Open Source Computer Vision (OpenCV)
Speaker Design Engineer Conference , Delhi Electronics Rocks’12 Conference , Banglore
Writer Electronics For You Open Source For You (Earlier “Linux For You”)
Thinker https://shahsamarth.wordpress.com
Learner Everything that amazes me
![Page 3: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/3.jpg)
3
What will you learn ?
29/12/2012
Raspberry Pi Overview Getting Started Raspberry Pi and Python
Development Demonstration Some cool hacks
![Page 4: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/4.jpg)
4
Motivation
29/12/2012
Tiny Board(85*56*21 mm , 45 grams) Portability Low Cost(25 $ (Model A) , 35 $(Model B)) Open Source
![Page 5: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/5.jpg)
5
What exactly is Raspberry Pi?
29/12/2012
In Simple Terms Small credit card size mini Computer
In Technical Terms ARM11 700 MHz Processor based single-
board computer
Image Credit: Wikipedia
![Page 6: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/6.jpg)
6
Features
29/12/2012
Broadcom BCM 2835 SOC 256 /512 MB RAM 1/2 USB 2.0 Port/s 0/1 Ethernet Port Composite RCA and HDMI Video Output 3.5 mm jack for Audio 8 GPIO , UART , I2C bus , SPI bus with
two chip selects
![Page 7: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/7.jpg)
7
Which OS does it support?
29/12/2012
Android Debian Squeeze Firefox Fedora RISC OS FreeBSD Plan 9 from Bell Labs
Image Source: http://en.wikipedia.org/wiki/File:Plan9bunnysmblack.jpg , http://www.mozill.org , http://www.android.com/
![Page 8: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/8.jpg)
8
Getting Started
29/12/2012
Components Required SD Card (At least 2 GB) USB Keyboard USB Mouse LCD with RCA cable/HDMI cable Power Supply (5 V / 700 mA) Ethernet cable(Optional)
Mount OS to SD card
![Page 9: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/9.jpg)
9
PLAYING WITH RASPBERRY PI AND PYTHON
A Demonstration29/12/2012
![Page 10: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/10.jpg)
10
29/12/2012
![Page 11: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/11.jpg)
11
29/12/2012
Username : pi Password : raspberry
![Page 12: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/12.jpg)
12
29/12/2012
![Page 13: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/13.jpg)
13
29/12/2012
![Page 14: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/14.jpg)
14
Limitations
29/12/2012
Performance Python Module Support LCD Support KeyBoard , Mouse
![Page 15: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/15.jpg)
15
Few Applications
29/12/2012
To encourage students to learn programming
To teach village students programming Development Board like Arduino Home Automation
![Page 16: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/16.jpg)
16
What Else?
29/12/2012
Game Development(Pygame) 3D Development/programming Image Processing Web development
Image Source: http://www.raspberrypi.org and http://www.pygame.org
![Page 17: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/17.jpg)
17
Wait… Imagine What’s Possible
29/12/2012
Tiny , Portable, Open Source Computer With Python Support numpy , scipy matplotlib , iPython Game Development 3D Processing Image Processing Web Development expEYES for Physics More… Personal Example
![Page 18: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/18.jpg)
18
Basic Idea
29/12/2012
Extend usage of Raspberry Pi Physical Research Laboratory ,
Ahmedabad Do “something” to support Indian
Research Scientist
Image Source: http://www.prl.res.in
![Page 19: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/19.jpg)
19
Demonstration
29/12/2012
Data Entered by User
Entered Data processed by
Python in Raspberry Pi
Based on results
external connected
device can be controlled
![Page 20: Raspberry Pi and Scientific Computing [SciPy 2012]](https://reader036.vdocuments.site/reader036/viewer/2022062418/5552de67b4c905014c8b4c32/html5/thumbnails/20.jpg)
20
Going Beyond
29/12/2012
Raspberry Pi based Supercomputer Parallel Computing and more RPi Store Custom OS Imagination
Image Credit: http://www.blogcdn.com/www.engadget.com/media/2012/09/iridis-pi-supercomputer.jpg