intro to raspberry pi - by sivakumar v
DESCRIPTION
Lets connect Raspberry pi and code with it.TRANSCRIPT
![Page 1: Intro to Raspberry Pi - by Sivakumar V](https://reader035.vdocument.in/reader035/viewer/2022062405/5552de27b4c905014c8b4c06/html5/thumbnails/1.jpg)
© Spritle Software Private Limited | http://www.spritle.com
Raspberry Pi
Sivakumar V23rd Dec 2013
github.com/sivakumar.bdu
![Page 2: Intro to Raspberry Pi - by Sivakumar V](https://reader035.vdocument.in/reader035/viewer/2022062405/5552de27b4c905014c8b4c06/html5/thumbnails/2.jpg)
© Spritle Software Private Limited | http://www.spritle.com
Agenda
• Intro• Some history• Sample demos• Questions
![Page 3: Intro to Raspberry Pi - by Sivakumar V](https://reader035.vdocument.in/reader035/viewer/2022062405/5552de27b4c905014c8b4c06/html5/thumbnails/3.jpg)
© Spritle Software Private Limited | http://www.spritle.com
![Page 4: Intro to Raspberry Pi - by Sivakumar V](https://reader035.vdocument.in/reader035/viewer/2022062405/5552de27b4c905014c8b4c06/html5/thumbnails/4.jpg)
© Spritle Software Private Limited | http://www.spritle.com
What is Raspberry Pi?
• The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard.
• It is a capable little computer which can be used in electronics projects, and for many of the things that your desktop PC does, like spreadsheets, word-processing and games.
• It also plays high-definition video. We want to see it being used by kids all over the world to learn programming.
![Page 5: Intro to Raspberry Pi - by Sivakumar V](https://reader035.vdocument.in/reader035/viewer/2022062405/5552de27b4c905014c8b4c06/html5/thumbnails/5.jpg)
© Spritle Software Private Limited | http://www.spritle.com
Types
• Modal A– 256 MB Ram– 1 x USB– No Ethernet
• Model B– 512 Mb Ram– 2 x USB – 1 Ethernet
![Page 6: Intro to Raspberry Pi - by Sivakumar V](https://reader035.vdocument.in/reader035/viewer/2022062405/5552de27b4c905014c8b4c06/html5/thumbnails/6.jpg)
© Spritle Software Private Limited | http://www.spritle.com
Architecture
![Page 7: Intro to Raspberry Pi - by Sivakumar V](https://reader035.vdocument.in/reader035/viewer/2022062405/5552de27b4c905014c8b4c06/html5/thumbnails/7.jpg)
© Spritle Software Private Limited | http://www.spritle.com
Tools
• Python(Quick2Wire) • Ruby – 1.9.2.x• OpenSource libraries• Scratch
![Page 8: Intro to Raspberry Pi - by Sivakumar V](https://reader035.vdocument.in/reader035/viewer/2022062405/5552de27b4c905014c8b4c06/html5/thumbnails/8.jpg)
© Spritle Software Private Limited | http://www.spritle.com
Quick2Wire
• Python API to access GPIhttp://quick2wire.com/
import sysfrom time import sleepfrom quick2wire.gpio import GPIOPin, In, Out
led = GPIOPin(1, direction=Out)button = GPIOPin(0, direction=In)
while True: led.value = button.value sleep(0.1)
![Page 9: Intro to Raspberry Pi - by Sivakumar V](https://reader035.vdocument.in/reader035/viewer/2022062405/5552de27b4c905014c8b4c06/html5/thumbnails/9.jpg)
© Spritle Software Private Limited | http://www.spritle.com
Reference
• http://elinux.org/RPi_Easy_SD_Card_Setup • http://quick2wire.com/• https://github.com/quick2wire/quick2wire-
python-api
![Page 10: Intro to Raspberry Pi - by Sivakumar V](https://reader035.vdocument.in/reader035/viewer/2022062405/5552de27b4c905014c8b4c06/html5/thumbnails/10.jpg)
© Spritle Software Private Limited | http://www.spritle.com
Questions?
Thank you