Raspberry pi

of 31 /31
Raspberry Pi Presented by Prashant Kumar(1VI09EC037) 1

Embed Size (px)

Transcript of Raspberry pi

  • 1. Presented byPrashant Kumar(1VI09EC037) 1

2. What is Raspberry PiThe Raspberry Pi is a credit-card-sized single-board computer thatplugs into your TV and a keyboard,which can be used for many of thethings that our average desktop does spreadsheets, word processing,games and it also plays high-definition video. 2 3. Overview Introduction History Hardware Software Setting up Raspberry Pi Programming Applications Conclusion3 4. Introduction The Raspberry Pi is a credit-card-sized single-boardcomputer developed in the UK by the Raspberry PiFoundation. The Raspberry Pi charitable foundation wants to see thedevice being used by youngsters all over the world to learnprogramming and electronics. The Raspberry Pi has a Broadcom BCM2835 system on achip (SoC), which includes an ARM1176JZF-S 700MHz processor. It does not include a built-in hard disk or solid-state drive, butuses an SD card for booting and long-term storage. 4Contd.. 5. Introduction The Raspberry Pi is manufactured through licensedmanufacturing deals with Element 14/Premier Farnell and RSComponents. Both of these companies sell the Raspberry Pionline. The Foundations goal is to offer two versions, priced at US$25and US$35. The Raspberry Pi is a computer, very like the computers withwhich youre already familiar. It uses a different kind ofprocessor, so you cant install Microsoft Windows on it. Instead we can install several versions of the Linux operatingsystem that look and feel very much like Windows. If you wantto, you can use the Raspberry Pi to surf the internet, send anemail or write a letter using a word processor.5 6. Specifications 6 7. History Early concepts of the Raspberry Pi were based onthe Atmel ATmega644 microcontroller. In August 2011, fifty Alpha boards were manufactured. Theseboards were functionally identical to the planned model B,but were physically larger to accommodate debug headers.Demonstrations of the board showed it runningthe LXDE desktop on Debian, Quake 3 at 1080p, and FullHD MPEG-4 video over HDMI.An early alpha-test board in operation7Contd.. 8. History The actual sales of the much anticipated device started on29th February 2012. The RPis licensed sellers website crashedduring this time as a result of over 2 million pre-orders fromvarious parts of the world. As of October 2012 it was reported 30,000 units beingproduced per month. This was a overwhelming number due to a huge demand fromdeveloping countries where the cost factor plays a major rolein deciding the education system of the society. 8 9. Hardware The Model B is in mass production, with plans to release theModel A in early 2013. Model A has one USB port andno Ethernet controller, and will cost less than the Model Bwith two USB ports and a 10/100 Ethernet controller. Though the Model A doesnt have an 8P8C (RJ45) Ethernetport, it can connect to a network by using a user-supplied USBEthernet or Wi-Fi adapter. The Raspberry Pi does not come with a real-time clock, so anOS must use a network time server, or ask the user for timeinformation at boot time to get access to time and datefor file time and date stamping. 9 Contd.. 10. 10 11. Hardware The device supports H.264 video encoding, MPEG-2 andMicrosofts VC-1. The default ARM 700 MHz processor frequency can be overclocked to 1 GHz using the turbo mode. The video core IV GPU has 512 MB of RAM. Internal Architecture of RPi 11 12. Software The Raspberry Pi uses Linux kernel-based operatingsystems. Raspbian, a Debian-based free operating systemoptimized for the Raspberry Pi hardware, and it comespreloaded in the SD card provided. The GPU hardware is accessed via a firmware image which isloaded into the GPU at boot time from the SD-card. Application software use calls to closed source run-timelibraries which in turn calls an open source driver inside theLinux kernel. The API of the kernel driver is specific for theseclosed libraries.12 13. Video applicationsuse OpenMAX, 3Dapplications use OpenGL. ES and 2Dapplications use OpenVG which both in turn use EGL.OpenMAX and EGL use theopen source kernel driver inturn. The firmware image is knownas the binary blob, while theassociated Linux driversare closed source.13 14. Software On 8 March 2012 The Raspberry Pi Foundation releasedRaspberry Pi Fedora Remix, at the time its recommendedLinux distribution, which was developed at Seneca College inCanada. The Foundation intends to create an AppStore website for people to exchange programs. Slackware ARM (formally ARMedslack) version 13.37 and laterruns on the Raspberry Pi without modification. The 128496MB of available memory on the Raspberry Pi is twice theminimum requirement of 64 MB needed to run SlackwareLinux on an ARM or i386 system. In addition, work is being done on system-specific light Linuxdistributions such as IPFire, OpenELEC, Raspbmc andthe XBMC open source digital media center.14 15. Setting up Raspberry Pi The board needs to be connected to a power equipmentwhich is a mini USB connector and draws current of 700 mA at5 volts. The SD card which comes bundled with the Raspbian OS,which is a linux based OS must be inserted into the SD Cardslot. For display, RPi provides two solutions. The first one is toconnect the new LCD TVs which supports HDMI. The otherone being connecting the RCA cables which is suited for olderTVs, that support NTSC and PAL viewing. Audio port of 3.5mm must be connected to any amplifiedspeaker set. 15 16. Setting up Raspberry Pi The Ethernet port must be connected to a modem to supportinternet connectivity, the device also takes the network timedue to non presence of an internal clock. There are two USB ports in model B and they can be easilyutilized for connecting USB mouse and a USB keyboard. Typical desktop of Raspberry Pi16 17. Additional Peripherals Required Internet Connectivity, may be done with an Ethernet/LANcable (standard RJ45 connector) or a USB Wi-Fi adaptor. USB-Hub - In order to connect additional devices to the RPi,we may want to obtain a USB Hub, which will allow multipledevices to be used. It is nearly a requirement thata powered hub is used - this will provide any additional powerto the devices without affecting the RPi itself. Heat sink: Not a vital accessory for RPi, but will help to reducethe CPUs temperature whilst under load. Real Time Clock - In order to achieve the price point of theRaspberry Pi several non-essential items usually found on acomputer are omitted. Real Time Clock module is not includedwith the Raspberry Pi. To keep time, the Raspberry Pi updatesthe date and time automatically over the internet via Ethernet17or Wi-Fi. 18. Programming By default, Raspberry Pi supports UNIX shell scripting, Pythonor any other language that will compile with ARMv6 can beused with it. Programming software such as SCRATCH game maker comesbundled with the Pi. Scratch is a programming language that makes it easy tocreate your own interactive stories, animations, games, music,and art - and share your creations on the web. As young people create and share Scratch projects, they learnimportant mathematical and computational ideas, while alsolearning to think creatively, reason systematically, and workcollaboratively.18 19. 19 20. Programming Languages Supported Programming Languages Tested on RPiProgramming Languages Expected to Work 20 21. Applications Since RPis inception, people around the world have beentoying around with it to develop various applications. Apples Siri technology is designed for people to give orders totheir phones. But it can also control additional deviceswith Siri Proxy, a proxy server that connects to the Siri service. Siri proxy server can be used to open and close garage door,thanks to a Raspberry Pi hooked up to an automatic garagedoor system. Siri Proxy running on the Raspberry Pi, alongwith WiringPi to access the Pis GPIO pins and turn a relayon/off. We program the Raspberry Pi in such a way that it responds tothe commands sent by the Siri proxy server.21 22. listen_for /open the garagedoor/i do say "Opening the garagedoor.." request_completed system("gpio mode 1 out") system("gpio write 1 1") system("sleep 0.5") system("gpio write 1 0") End listen_for /close the garagedoor/i do say "Closing the garagedoor.." request_completed system("gpio mode 1 out") system("gpio write 1 1") system("sleep 0.5") system("gpio write 1 0") end 22 23. Applications The Raspberry Pi laptop is another good example ofconstructing a fully functional laptop all under `4500 made bya developer named Drew Fustini. The HDMI port of the RPi is connected to a Motorola AtrixDock, which is a detachable display panel with keyboardavailable on e-bay for under $60. The Pi rests outside the laptop, so its not fully self-contained,but is rather portable. 23 24. 24 25. Applications Setting up a XBMC media center on Raspberry Pi It is a free open source media player. It allows users to playand view most videos, music, such as podcasts from theinternet, and all common digital media files from local andnetwork storage media. After setting up the XBMC on RPi, we can very easily playvideos of 720p without any lag from any USB device, from anetwork folder, or rather from YouTube. After we hook the HDMI cable onto a TV, and then boot upthe device, it automatically loads the XBMC25 26. 26 27. Tweaking Settings for OptimalFeedback Resolution, found under Settings > System > Video Output.For watching 720p videos, we should change this to 720p. Over scan, found under Settings > System > Video Output >Video Calibration. If the XBMC interface stretches beyond theedges of our TV screen, this option will calibrate the video. System Performance Profile, under Programs > RaspbmcSettings > System Configuration. This is required if we want toover clock the device for a faster performance.27 28. ConclusionIt was created with the intention of providing children with ahighly affordable, accessible and programmable computerthat they can buy, learn to program on, adapt and even break,without feeling restricted by price or fear of an angry parent.By destroying the paradigm of spending hundreds of poundson a computer to become a member of the digital age, theyhope to install creativity, enthusiasm and experience into anew generation of talented programmersDeveloping countries are interested in the Raspberry Pi asproductivity devices in areas that simply cant afford thepower and hardware needed to run a traditional desktop PC;hospitals and museums are trying to find out about theRaspberry Pi to drive display devices. 28 29. References Mitchell, G., "The Raspberry Pi single-board computer willrevolutionize computer science teaching [For &against]," Engineering & Technology, vol.7, no.3, pp.26, 26, April2012. Winter, M.; Fettweis, G., "Interconnection Generation for System-on-Chip Design," System-on-Chip, 2006. International Symposiumon , vol., no., pp.1,4, 13-16 Nov. 2006 Brackenbury, L. E M; Plana, L.A.; Pepper, J., "System-on-Chip Designand Implementation," Education, IEEE Transactions on , vol.53,no.2, pp.272,281, May 2010 Jie Wu; Jun Ni; Zhe Li, "Building the Ad Hoc Network Node Based onARM Linux Platform," Internet Computing for Science andEngineering (ICICSE), 2012 Sixth International Conference on , vol.,no., pp.280,283, 21-23 April 2012 http://en.wikipedia.org/wiki/Raspberry_Pi29 30. ThankYou