Linux for Dessert Experimenting with the Raspberry Pi Jeff Jirsa
Linux for Dessert: Experimenting with the Raspberry Pi Introduction About this presentation What is it? What do I need/want? Demo What Languages can I use? What is the GPIO? Resources
Linux for Dessert: Experimenting with the Raspberry Pi About this presentation Following the Larry Wall motto(s) – There is more than one way to do it. – Virtues of a programmer Laziness – The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don't have to answer so many questions about it. Hence, the first great virtue of a programmer. Also hence, this book. See also impatience and hubris. Impatience – The anger you feel when the computer is being lazy. This makes you write programs that don't just react to your needs, but anticipate them. Or at least pretend to. Hence, the second great virtue of a programmer. See also laziness and hubris. Hubris – Excessive pride, the sort of thing Zeus zaps you for. Also the quality that makes you write (and maintain) programs that other people won't want to say bad things about. Hence, the third great virtue of a programmer. See also laziness and impatience.
Linux for Dessert: Experimenting with the Raspberry Pi What is it? A credit card sized single board computer – – – – – used-in-raspberry-pi used-in-raspberry-pi Other single board computers –
Linux for Dessert: Experimenting with the Raspberry Pi What do I need? A Raspberry Pi A SD memory card – A Micro USB Power adapter A keyboard A mouse (for GUI programs) Links – Make sure that everything will work!: – –
Linux for Dessert: Experimenting with the Raspberry Pi What do I want? Need is relative! – A case Peripherals – Keyboards, mice, USB Hubs, Wifi adapters – –
Linux for Dessert: Experimenting with the Raspberry Pi Demo 1 Get the Raspian Image – – If your working PC is running Linux Follow the instructions at: – ux_.28command_line.29 ux_.28command_line.29 – If your working PC is running Windows Get the Windows Disk Imager – Imager.shtml Imager.shtml Burn the image file
Linux for Dessert: Experimenting with the Raspberry Pi Demo Insert the SD card into the slot on the Pi Plug in the power cord (boot) Wait… Have fun!
Linux for Dessert: Experimenting with the Raspberry Pi What is the GPIO? Stands for General Purpose Input/Output – It allows peripherals and expansion boards (such as the Gertboard to access the CPU by exposing the inputs and outputs. – C language library included to read and write to the GPIO interface Works with other languages – C#, Java, Perl, Python, Ruby, Shell, Scratch » Examples on this page – –
Linux for Dessert: Experimenting with the Raspberry Pi Resources Web sites – FAQs – – Magazines – Linux User – Linux Format – Online Youtube Tutorials Youtube – search for Raspberry Pi Raspberry Pi for beginners Plenty of more videos!