Getting Started With The Raspberry Pi Is Not As Easy As Pie

Comment

Image Credits:

The super low cost computer called the Raspberry Pi is mind-blowing and awesome. As TechCrunch recently reported, the $25 to $35 mini computer on a circuit board is designed to give kids around the globe an easy way to learn computer programming. But the Raspberry Pi is not like a computer you get from Apple or pickup at the local Best Buy. It’s not as simple as plug and play. It takes a bit of extra work and time. And you need to be a hacker before you can get it working.

I got my hands on one of the 400,000 units that have been sold. The first thing I noticed is the Raspberry Pi is sold with no accessories. You get just the circuit board as seen above, without any of the connections. The Raspberry Pi Foundation, the British-based not-for-profit charity that makes the computer, says it wants to keep the price down, perhaps even $20 one day. But to keep the price down, they had to make some hard choices about what hardware and interfaces to include.

While a $25 to $35 computer makes a nice headline, the odds are good it’s going to cost you several times that amount to get it going. That full amount is still insanely lower than the price of a new PC or Mac.

You will need to connect a power supply, monitor, USB keyboard, mouse, SD memory card, and an Ethernet connection. If you want to get fancy, you might also find a box to hold it and attach all sorts of sensors, displays, and almost anything you can think of. No soldering is required to get the basic system running.


Diagram by Paul Beech and via raspberrypi.org website

The distributors selling the Raspberry Pi also sell some of the needed accessories, but they are in high demand and short supply, just like the circuit board itself. So, I decided to get started using parts I already had at home.

I had online help from the quick start guide on the RaspberryPi.org website, their wiki and support forums.

Power

I started by searching for a power source as no power cable is included. The quick start guide says you need to find a “Micro USB power supply – make sure you use a good quality one, capable of providing at least 700mA at 5V. Do not attempt to power your Raspberry Pi by plugging it into a computer or a hub.”

The Raspberry Pi makers say they picked the Micro USB jack for its ubiquity, saying it was chosen by the major mobile operator trade group, GSMA, as the Universal Charging Solution. Micro USB is also the standard charging port in Europe and it’s used on Android phones in the US.

As a big Mac user, I use a lot of USB chargers, but they have an Apple Dock connector on the other end. Not Micro USB. I read on one of the support pages that the power supply on the Amazon Kindle, which terminates with a Micro USB plug, could work. Looking at the fine print on the power adapter, it read “Output: 4.9V and 0.85 A.” It wasn’t the 5V in the spec but it sounded close enough, and 0.85 A was greater than the 700mA spec. Whether or not it was a “good quality one”, I had no idea.

This power supply did get the Raspberry Pi LED’s to light up. And it did work for a bit. But after everything was connected, my keyboard repeated letters (such as “EEEEEEEEEEEE” ) even though I touched the “E” key once. Other keys wouldn’t work at all. At first I suspected a bad keyboard, but after searching for “repeating keys” in the help forum and reading 45 results and the wiki, I learned the keyboard problem was likely due to the power supply. According to the wiki “common symptoms of an inadequate power supply are unreliable ethernet or keyboard operation … and SD card errors at startup.”

In order to tell if my power supply was inadequate, the wiki suggested I get out my multimeter and read the voltage across two test points on the circuit board. I don’t remember having to do that on any of my other computers.

With the Amazon Kindle power supply, I got a reading of 4.62 volts. The wiki said I should see a voltage between 4.75 and 5.25 volts and “anything outside this range indicates that you have a problem with your power supply or your power cable, or the input polyfuse F3.” I took a chance and decided I needed a better power supply and not a new input polyfuse F3, whatever that is. After hunting around the support forums, I found what I hoped was better power adapter for $10 and ordered it on Amazon. Using the new power adapter with the Kindle USB to Micro USB cable, I get a reading of 4.92 volts and the Raspberry Pi works much better.

Monitor

The video output from the Raspberry Pi is either HDMI or composite video via an RCA jack. I have a monitor with HDMI inputs and a spare HDMI cable so this wasn’t a problem for me. But, you can’t connect to a monitor using VGA, which many users might first try. The Raspberry Pi FAQ says “there is no VGA support, but adapters are available, although these are relatively expensive.”

According the the FAQ, the reason there is no VGA support is “the chip specifically supports HDMI. VGA is consider to be an end-of-life technology, so supporting it doesn’t fit with our plans at the moment.” The Raspberry Pi Foundation is hoping many of the students it’s trying to reach may have access to an old TV to use as the display since many of them have composite video input RCA jacks. I tried using the composite video mode on a tv and while the picture wasn’t as crystal clear as the HDMI method, it was workable.

USB Keyboard & Mouse

Finding a USB keyboard and mouse was pretty easy. But, if you don’t have one, those keyboards are pretty cheap, but they are another small expense.

SD Memory Card

You will also need a SD card to store the operating system and your programs and data. It’s a clever memory solution and SD cards are easy to get.

I used a 2GB card, but I’m running out of room, so I plan to upgrade to a 4GB card or greater. The FAQ says “we have tried cards up to 32GB and most cards seem to work OK. You can also attach a USB stick or USB hard drive.”

The default operating system for the Raspberry Pi is Debian, a version of Linux. I quickly learned you can’t simply copy and paste this software to the SD card from a computer. (Note: While I could have bought a SD card with the OS pre-configured, there is an order backlog own them and it was more fun to try this myself.)

I downloaded the special “Raspbian wheezy” version of Debian, which is recommended for those just starting out. Once downloaded from the Raspberry Pi website, the wiki gave me instructions on how to copy the image to my SD card by hooking it up to a card reader and my Mac. There were 12 steps including typing commands in the terminal program like this:

sudo diskutil unmount /dev/disk3s1

sudo dd bs=1m if=~/Downloads/debian6-19-04-2012/debian6-19-04-2012.img of=/dev/rdisk3

There were also some scary warnings, which basically said I could erase my entire Mac computer if it made a mistake.

Using the device name of the partition work out the raw device name for the entire disk, by omitting the final “s1” and replacing “disk” with “rdisk” (this is very important: you will lose all data on the hard drive on your computer if you get the wrong device name).

A recent update to the wiki instruction page includes a “mostly graphical interface” method, compared to the original command line method, to copy the image to your SD Card. Still, you need to run the terminal and this command:

sudo dd if=path_of_your_image.img of=/dev/diskn bs=1m

Once the operating system is loaded on the SD card, you can insert it into the slot on the Raspberry Pi and hopefully it will boot up.

The first two times I tried this, I got fatal errors and the Raspberry Pi would freeze. Some of this might have been due to the power supply problem described earlier.

One time, the red power light came on but the Raspberry Pi wouldn’t boot. I found a suggestion in the support forums to remove “the ._.Trashes .Trashes/, .fseventsd/, … that OS X put on the card, and all is well.” I put the SD card back in the card reader, attached it to the Mac and fired up the Terminal program and used some basic Unix to remove these files, using commands like rm filename. When I put the SD card back in the Raspberry Pi, all was indeed well.

Seeing the Raspberry Pi start up successfully brought on a proud sense of accomplishment.

Ethernet Connection

To get full use out of the Raspberry Pi, I plugged it into an Ethernet LAN cable and had no problem getting online. You can also get it connected to the Internet using a USB Wi-Fi or wireless adapter.

Software & Browser

When the Raspberry Pi boots up, it will start in command line mode. Here’s what you should see:

Then, I launched its graphical user “X window system” by typing startx at the command line.
Here’s what you get:

The operating system comes with the Midori web browser installed. Here’s what the TechCrunch site looked like:


I also installed the Chromium browser. Here’s TechCrunch in that browser:

But be prepared for the pages to load extremely slow.

What’s Next

The Debian operating system comes with Python pre-installed and it’s the recommended default educational programming language. With just one command line of text, I was able to install PHP. You can run a web server or a media server from the Raspberry Pi. You can install WordPress, the software that powers TechCrunch, on it. You can blink a single LED or create an amazing 8x8x8 LED Cube. If you are a gamer, you can run Quake III, as Devin Coldewey wrote on TechCrunch last year. And so much more.

As the Raspberry Pi team writes “We don’t think that the Raspberry Pi is a fix to all of the world’s computing issues; we do believe that we can be a catalyst. We want to see cheap, accessible, programmable computers everywhere.”

After getting started with the Raspberry Pi, I’m excited to see what I can do with it. I think the mission of the Raspberry Pi Foundation is a very worthy goal. And they are achieving this goal around the world today. But I fear the current setup requirements might discourage some students, parents, and teachers. I’m sure the team and the developer community is working on this too.

More TechCrunch

Line Man Wongnai, an on-demand food delivery service in Thailand, is considering an initial public offering on a Thai exchange or the U.S. in 2025.

Thai food delivery app Line Man Wongnai weighs IPO in Thailand, US in 2025

The problem is not the media, but the message.

Apple’s ‘Crush’ ad is disgusting

Ever wonder why conversational AI like ChatGPT says “Sorry, I can’t do that” or some other polite refusal? OpenAI is offering a limited look at the reasoning behind its own…

OpenAI offers a peek behind the curtain of its AI’s secret instructions

The federal government agency responsible for granting patents and trademarks is alerting thousands of filers whose private addresses were exposed following a second data spill in as many years. The…

US Patent and Trademark Office confirms another leak of filers’ address data

As part of an investigation into people involved in the pro-independence movement in Catalonia, the Spanish police obtained information from the encrypted services Wire and Proton, which helped the authorities…

Encrypted services Apple, Proton and Wire helped Spanish police identify activist

Match Group, the company that owns several dating apps, including Tinder and Hinge, released its first-quarter earnings report on Tuesday, which shows that Tinder’s paying user base has decreased for…

Match looks to Hinge as Tinder fails

Private social networking is making a comeback. Gratitude Plus, a startup that aims to shift social media in a more positive direction, is expanding its wellness-focused, personal reflections journal to…

Gratitude Plus makes social networking positive, private and personal

With venture totals slipping year-over-year in key markets like the United States, and concern that venture firms themselves are struggling to raise more capital, founders might be worried. After all,…

Can AI help founders fundraise more quickly and easily?

Google has found a way to bring a variation of its clever “Circle to Search” gesture to iPhone users. The new interaction, launched in January, allows Android users to search…

Google brings a variation on ‘Circle to Search’ to iPhone users

A new sculpture going live on Wednesday in the Flatiron South Public Plaza in New York is not your typical artwork. It combines technology, sociology, anthropology and art to let…

Always-on video portal lets people in NYC and Dublin interact in real time

Apple’s iPad event had a lot to like. New iPads with new chips and new sizes, a new Apple Pencil, and even some software updates. If you are a big…

TechCrunch Minute: When did iPads get as expensive as MacBooks?

Autonomous, AI-based players are coming to a gaming experience near you, and a new startup, Altera, is joining the fray to build this new guard of AI agents. The company announced…

Bye-bye bots: Altera’s game-playing AI agents get backing from Eric Schmidt

Google DeepMind has taken the wraps off a new version of AlphaFold, their transformative machine learning model that predicts the shape and behavior of proteins. AlphaFold 3 is not only…

Google DeepMind debuts huge AlphaFold update and free proteomics-as-a-service web app

Uber plans to deliver more perks to Uber One members, like member-exclusive events, in a bid to gain more revenue through subscriptions.  “You will see more member-exclusives coming up where…

Uber promises member exclusives as Uber One passes $1B run-rate

We’ve all seen them. The inspector with a clipboard, walking around a building, ticking off the last time the fire extinguishers were checked, or if all the lights are working.…

Checkfirst raises $1.5M pre-seed to apply AI to remote inspections and audits

Close to a decade ago, brothers Aviv and Matteo Shapira co-founded a company, Replay, that created a video format for 360-degree replays — the sorts of replays that have become…

Controversial drone company Xtend leans into defense with new $40 million round

Usually, when something starts to rot, it gets pitched in the trash. But Joanne Rodriguez wants to turn the concept of rot on its head by growing fungus on trash…

Mycocycle uses mushrooms to upcycle old tires and construction waste

Monzo has raised another £150 million ($190 million), as the challenger bank looks to expand its presence internationally — particularly in the U.S. The new round comes just two months…

UK challenger bank Monzo nabs another $190M as US expansion beckons

iRobot has announced the successor to longtime CEO, Colin Angle. Gary Cohen, who previous held chief executive role at Timex and Qualitor Automotive, will be heading up the company, marking a major…

iRobot names former Timex head Gary Cohen as CEO

Reddit — now a publicly-traded company with more scrutiny on revenue growth — is putting a big focus on boosting its international audience, starting with francophones. In their first-ever earnings…

Reddit tests automatic, whole-site translation into French using LLM-based AI

Mushrooms continue to be a big area for alternative proteins. Canada-based Maia Farms recently raised $1.7 million to develop a blend of mushroom and plant-based protein using biomass fermentation. There’s…

Meati Foods bites into another $100M amid growth to 7,000 retail locations

Cleaning the outside of buildings is a dirty job, and it’s also dangerous. Lucid Bots came on the scene in 2018 with its Sherpa line of drones to clean windows…

Lucid Bots secures $9M for drones to clean more than your windows

High interest rates and financial pressures make it more important than ever for finance teams to have a better handle on their cash flow, and several startups are hoping to…

Israeli startup Panax raises a $10M Series A for its AI-driven cash flow management platform

The European Union has deepened the investigation of Elon Musk-owned social network, X, that it opened back in December under the bloc’s online governance and content moderation rulebook, the Digital Services Act…

EU grills Elon Musk’s X about content moderation and deepfake risks

For the founders of Atlan, a data governance startup, data has always been at the heart of what they do, even before they launched the company. In fact, co-founders Prukalpa…

Atlan scores $105M for its data control plane, as LLMs boost importance of data

It is estimated that about 2 billion people, especially those in lower and middle-income countries, lack access to quality and affordable essential medicines. The situation is exacerbated by low-quality or even killer…

Axmed raises $2M from Founderful to streamline drug supply chains in underserved markets

For decades, the Global Positioning System (GPS) has maintained a de facto monopoly on positioning, navigation and timing, because it’s cheap and already integrated into billions of devices around the…

Xona Space Systems closes $19M Series A to build out ultra-accurate GPS alternative

Bankruptcy lawyers representing customers impacted by the dramatic crash of cryptocurrency exchange FTX 17 months ago say that the vast majority of victims will receive their money back — plus interest. The…

FTX crypto fraud victims to get their money back — plus interest

On Wednesday, Google launched its digital wallet in India with local integrations, nearly two years after the app was relaunched as a digital wallet platform in the U.S. As TechCrunch exclusively reported last month,…

Google Wallet is now available in India

Bluesky has launched a new product roadmap for the coming months. The decentralized social network said on Tuesday that it is planning to introduce direct messages, support for videos, improved…

Bluesky to add DMs, video support and in-app custom feed curation