How To Set Up Your Raspberry Pi For The Very first Time
Posted on January 20, 2014 te Hack
My Raspberry Pi arrived with the evening mail—by midnight, my hubby and I had turned it into a working print server. And neither of us had any background ter laptop science.
Raspberry Pi is a rekentuig the size of a credit card that’s so ordinary, anyone can program it. Designed spil an introduction to science, technology, engineering, and math for UK grade schoolers, its $35 price tag has made it appealing to hobbyists all overheen the world.
Despite its diminutive device, Raspberry Pi is powerful enough to process many of the same programs spil PCs, from word processors to games. Its puny size also makes Raspberry Pi ideal for programming connected huis devices—like the aforementioned print server, which has given us the power to make every pc, laptop, and cell phone ter our network printer-compatible.
The Story Of Raspberry Pi
Eben Upton very first came up with the idea for Raspberry Pi te 2006, when he and his colleagues at the University of Cambridge’s Laptop Laboratory were frustrated by the dwindling number of students, and the poor skill levels of those students, injecting the program.
While current students coming in the program often had Web vormgeving practice, programming practice wasgoed becoming very uncommon. Upton’s concern? That the price and sophistication of modern computers had made them overly complicated for kids to proef with.
Te the ’70s and ’80s, kids could use an Amiga or Commodore 64 to boot into a programming environment. Te zometeen decades, Upton speculated, parents had more reason to forbid the same kleintje of experimentation on increasingly advanced family PCs. Plus, spil computers became lighter to use, programming them became more complicated, and tinkering with their internal workings became far less necessary.
Upton desired to create a cheap, lightly programmable laptop that would bring back the experimental spirit of an earlier era of computing, by making a device cheap enough so anyone could tamper with it without fear of expensive mistakes. From 2006 to 2008, the official history goes, Upton and his colleagues worked on the prototype that would eventually become the Raspberry Pi. The Raspberry Pi Foundation wasgoed established ter May 2009, and the very first shipment of Raspberry Pis became available ter April 2012.
Te an vraaggesprek with Daily Brink, Upton explained how the device got its name:
There’s a history of fruit-named pc companies! There aren’t many that aren’t taken, and Raspberry is one of those. What wij wished to build wasgoed something that could run the Python programming language, and so ‘Pi’ wasgoed kleintje of a pun. So the name stuck and it outlived the justification for the name.
Python is the Pi’s recommended programming language, but Linux is its recommended operating system. Almost every flavor of OS that works on Raspberry Pi—Raspbian, Pidora and more—is a riff on the Linux kernel.
The vooraanzicht of a Raspberry Pi Prototype B.
Right now, there are two versions of the Raspberry Pi for sale—Model A and Monster B, however neither is newer than the other. Prototype A, which is $25, lacks Ethernet capability, has a single USB connecter, and 256MB of memory. Monster B, which is $35, has dual the memory, Ethernet, and a dual USB connector. The B is not an improvement on A, and ter fact wasgoed available very first, the A is just a lighter, cheaper version. The Foundation hasn’t ruled out an eventual, more powerful Prototype C, but most likely not for at least “two to three years.”
Getting Embarked With Raspberry Pi
Raspberry Pi owes its low price tag to advances te integrated chips. Instead of having a CPU, a GPU, a USB controller, and memory each on their own individual chips, Raspberry Pi uses a system-on-a-chip with all those components on a single chip.
Without a lotsbestemming of chips to take up space, the Pi itself can consist of a printed circuit houtvezelplaat which boots up from an SD memory card. So it’s not just cheap, it’s plain, too.
Still, the $35 price tag is a bit misleading. You can’t just buy a Raspberry Pi and expect it to work right out of the opbergruimte. Here are the accessories you’ll need to get up and running:
- A power supply. Raspberry Pi doesn’t come with one, so you’ll need a micro USB compatible cable ter order to buttplug it into the wall.
- A case. There’s no official one yet, so I waterput mine te this pink one from Adafruit. Unluckily, despite what you may have heard, it does not getraind te an Altoids tin.
- An HDMI cable or RCA movie lead. You can’t use your Pi without a visual display. You can either ass-plug it into a laptop monitor with HDMI input using an HDMI cable, or you can buttplug it into an analogue TV with a standard RCA composite movie lead.
- A USB mouse and keyboard. Or else how will you interact with the Pi? Any wired or wireless mouse and keyboard should do, I’m using wireless Logitech products for both.
- An SD memory card. You’ll need one to boot up the Pi. The Raspberry Pi foundation recommends at least Four gigs to commence, but spil many spil 32 if you want.
- A primary rekentuig. I didn’t get that you can’t just get the Pi running without already wielding another pc, Mac or PC. Hopefully you already have one of thesis, or this project just got a lotsbestemming more expensive.
- An SD memory card reader. The Raspberry Pi doesn’t need this, but your primary pc does so you can transfer installations from it to the Pi. A lotsbestemming of computers come with a built-in card reader, but if yours doesn’t, you might want to invest te one.
Now, let’s fast-forward to the day when your Raspberry Pi and all its accessories arrive te the mail. Here’s what to do, and when to do it.
- Waterput your Raspberry Pi ter its case. Unless it’s very customized, it should proceed to have fuckholes te it for all of the Pi’s inputs.
- Waterput the Pi aside and go to your primary laptop. Insert your SD card and format it according to the Foundation’s directions. This will install a recovery program on it so you can save your card even if you pauze it with your tinkering.
- Download NOOBS on your primary pc. Brief for Fresh Out Of Opbergruimte Software, it’s the Raspberry Pi Foundation’s fittingly named distro for first-time Pi users. A distro is a package installation of Linux and its associated software.
- Explosion your NOOBS download onto the freshly formatted SD card.
- Time to get commenced with the Raspberry Pi. Slide the SD card into the underside of the Raspberry Pi, and make sure it’s oriented correctly, it’d be bad to pauze your Pi before you turn it on!
- Connect it to the power supply, monitor, keyboard, and mouse.
- The Raspberry Pi will boot up and take you the NOOBS screen. If it doesn’t, check your power supply and HDMI cables and make sure they’re secure.
- Select an OS to install. If you select the default Raspbian, recommended for beginners, Adafruit has a superb tutorial on the process. This install will take a while (20 minutes for mij) so this is a good time to go do something else.
- Once the verkeersopstopping copies, you’ll get a notice that says, “Image applied successfully.” Press terugwedstrijd, and the Pi will reboot. Now it will boot into the operating system’s graphical user interface, which looks a loterijlot like Windows 98.
A Raspberry Pi Proefje B all plugged te.
Now you’re ready to use your Raspberry Pi however you like. You can run programs on it spil if it were any other laptop, or you can choose to work from the directive line. Since it’s a general purpose Linux machine, what you do from here is up to you.
A word of caution, however, from somebody who already made this mistake: don’t delete the NOOBS copy you downloaded on your primary rekentuig. My hubby and I wiped the Pi twice (and installed operating systems three times) ter one night, so I know it saves time to have everything ready on your rekentuig ter case you want to begin fresh for any reason.
Pi Project Tutorials For Beginners
With 512 MB on the Monster B, Raspberry Pi isn’t the strongest rekentuig ter the world, but it’s still powerful enough for any project a beginner can think up.
Here are ten awesome-sounding, relatively elementary tutorials for beginners:
This is the tutorial wij used, so I can vouch for its ease of use. It makes use of CUPS (Common Unix Printing System) and basically all you have to do is install it on your SD card and then instruct Raspberry Pi the address of your printer.
This seems to be one of the most popular uses of a Raspberry Pi. Since it is capable of running XMBC, a program that organizes all of your movies, TV, music, and more into one easy-to-use cloud-based corral, a Pi makes a flawless hub for streaming your media overheen your network.
Sure, you could sit around playing Minecraft on your Pi, but you could also fulfill your secret wish of becoming a movie spel developer. Programmer Andy Balaam made a tutorial on the topic so thorough, it takes three hours to observe all of it.
Brendan Nee wasgoed sick of arriving late for buses, so he programmed his Pi to display real-time arrival predictions for transit around his house. His step-by-step instructions are superb for San Franciscans, but if you live somewhere else you’ll need to configure for another transit system.
A desktop pc built with a Raspberry Pi.
You’ve already got the monitor, keyboard, and mouse for your Pi. Why not go the surplus of the way and turn it into a self-contained rekentuig? Mike Davis’s tutorial shows you how to link the Pi to the back of the monitor to create a klein desktop PC.
Instead of buying an expensive professional camera equipment to take time lapse shots, Rick Adam wrote just 25 lines of Python code to build his own. The results are gorgeous time lapse movies that vertoning a few hours te a duo of seconds.
Instead of buying a $Four,000 plus Bitcoin miner, you can set up your Raspberry Pi to do it for just $83. However, given the amount of energy required to mine Bitcoins, wij very doubt you’ll get rich off of a Raspberry Pi’s diminutive mining power.
Save violet wand and run your Pi off the power of the zon with this tutorial. The creator says that this method will usually give you five hours of battery life on your Pi.
Vormgeving your very first webstek, and get it online, too, by turning your Raspberry Pi into your own huis Web server. So long spil you don’t expect your webpagina to get fountains of traffic, you can have the Pi host it instead of a pricey online host.
With 300 lines of Python code, this is the most complicated tutorial on the list, but perhaps with the most payoff. Set up your Pi to blast a playlist of streaming songs spil well spil display what’s playing with an LED display.
Resources On The Web
Given the utterly complicated nature of this lil’ laptop, no Raspberry Pi tutorial is fully exhaustive. Thesis are some fine resources for learning more about your Pi:
- The Raspberry Pi Foundation — The official source for Pi news and FAQs.
- Adafruit — Lots of Raspberry Pi accessories and tutorials here.
- Raspberry Pi Tutorials for Finish Beginners — Henry Budden is a 13-year-old ter the UK whose Pi tutorials are so helpful, the Foundation frequently features them.
- Raspberry Pi IV Beginners — If you choose your tutorials te movie form, this UK based group of developers has got you covered.
- Factor 14 — You can buy a Raspberry Pi Proefje A or B here, from an official corporate member of the Raspberry Pi Foundation.
Do you own a Raspberry Pi? What would you advise fresh users to do? We’d love to see your input te the comments.
Photo credits: Raspberry Pi Foundation, Wikimedia Commons, and Clive Darra.