Difference between revisions of "RPi Hardware Basic Setup"

From eLinux.org
Jump to: navigation, search
(Cables)
m (Added link to '7 gotchas' for newbies to be aware of, with onward links)
(9 intermediate revisions by 3 users not shown)
Line 8: Line 8:
 
'''IMPORTANT''' For USB devices other than a mouse and a simple wired keyboard (for USB devices drawing more than 100mA) a powered USB hub is strongly recommended. A technical discussion as to why can be found  [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=24&t=5830 here]. Specifically the RPI's built in USB hub is designed only for "Single current unit" USB devices. Note that when using Revision 2 (or later) boards the problem has been mitigated somewhat with the removal of the USB polyfuses, still due to the limited current the PI can provide to USB devices, due to its main polyfuse, its still recommended to use a hub for all USB peripherals requiring more than 100mA.
 
'''IMPORTANT''' For USB devices other than a mouse and a simple wired keyboard (for USB devices drawing more than 100mA) a powered USB hub is strongly recommended. A technical discussion as to why can be found  [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=24&t=5830 here]. Specifically the RPI's built in USB hub is designed only for "Single current unit" USB devices. Note that when using Revision 2 (or later) boards the problem has been mitigated somewhat with the removal of the USB polyfuses, still due to the limited current the PI can provide to USB devices, due to its main polyfuse, its still recommended to use a hub for all USB peripherals requiring more than 100mA.
  
The following are more or less essential, and are all available from [http://modmypi.com/ ModMyPi] and [http://thepihut.com/ The Pi Hut]:
+
The following are more or less essential, and are all available from [http://thepihut.com/ The Pi Hut] and [http://modmypi.com/ ModMyPi]:
  
 
* [[RPi Buying Guide|Raspberry Pi board]]
 
* [[RPi Buying Guide|Raspberry Pi board]]
Line 25: Line 25:
 
* [[#Additional Peripherals|Real Time Clock]] - If you can't count on Network Time
 
* [[#Additional Peripherals|Real Time Clock]] - If you can't count on Network Time
 
* [[#Additional Peripherals|SD card reader]] - if you need to prepare your own SD card
 
* [[#Additional Peripherals|SD card reader]] - if you need to prepare your own SD card
 +
* [[#Power Supply|Power Supply Switch]] - if you want an easy way to cycle power
  
 
==Prepared Operating System SD Card==
 
==Prepared Operating System SD Card==
Line 31: Line 32:
 
* Have a look at [[RPi Easy SD Card Setup]] to create your own preloaded SD Card.
 
* Have a look at [[RPi Easy SD Card Setup]] to create your own preloaded SD Card.
 
* If you want an extensive technical explanation, look here : ''Create your own preloaded card using any [[RPi VerifiedPeripherals#SD_cards]] card you have and this [[RPi Beginners#SD_card_setup| HowTo]] . ''  
 
* If you want an extensive technical explanation, look here : ''Create your own preloaded card using any [[RPi VerifiedPeripherals#SD_cards]] card you have and this [[RPi Beginners#SD_card_setup| HowTo]] . ''  
* Preloaded SD cards are available from <del>the [http://www.raspberrypi.com RPi Shop]</del>, [http://modmypi.com/ ModMyPi], [http://thepihut.com/ The Pi Hut], [http://raspberrypi.rsdelivers.com/product/rs/4gb-sd-card-with-raspberry-pi-os-installed/7631030.aspx RS] and [http://export.farnell.com/samsung/raspberry-pi-prog-4gb-sdcard/memory-sdhc-rd-raspberry-pi-4gb/dp/2113756 Farnell].
+
* Preloaded SD cards are available from [http://thepihut.com/ The Pi Hut], [http://modmypi.com/ ModMyPi], [http://raspberrypi.rsdelivers.com/product/rs/4gb-sd-card-with-raspberry-pi-os-installed/7631030.aspx RS] and [http://export.farnell.com/samsung/raspberry-pi-prog-4gb-sdcard/memory-sdhc-rd-raspberry-pi-4gb/dp/2113756 Farnell].
 
* For configuration of boot options and extensive graphic modes, look at the [[RPi_Configuration|Configuration]] page.
 
* For configuration of boot options and extensive graphic modes, look at the [[RPi_Configuration|Configuration]] page.
  
Line 55: Line 56:
  
 
When using composite video, audio is available from a 3.5mm (1/8 inch) socket, and can be sent to your TV, or to an amplifier. To send audio to your TV, you will need a cable which adapts from 3.5mm to double (red and white) RCA connectors. These red and white can go into the red and white RCA plug inputs of a TV, or a stereo set, or to the above mentioned RCA to SCART plug. Another option for audio (when not using HDMI) is to connect the 3.5mm jackplug to an amplified speakerset. Do not connect the 3.5 mm jack directly to a headset, as the 3.5 mm audio output isn't suitable to drive headsets, only amplifier inputs. Attaching a low  impedance load, (such as a headset) to the stereo audio output may lead to distorted sound.
 
When using composite video, audio is available from a 3.5mm (1/8 inch) socket, and can be sent to your TV, or to an amplifier. To send audio to your TV, you will need a cable which adapts from 3.5mm to double (red and white) RCA connectors. These red and white can go into the red and white RCA plug inputs of a TV, or a stereo set, or to the above mentioned RCA to SCART plug. Another option for audio (when not using HDMI) is to connect the 3.5mm jackplug to an amplified speakerset. Do not connect the 3.5 mm jack directly to a headset, as the 3.5 mm audio output isn't suitable to drive headsets, only amplifier inputs. Attaching a low  impedance load, (such as a headset) to the stereo audio output may lead to distorted sound.
 
'''Note: There is no VGA output available, so older VGA monitors will require an expensive adaptor.'''
 
  
 
Using an HDMI to DVI-D (digital) adaptor plus a DVI to VGA adaptor will not work. HDMI does not supply the DVI-A (analogue) needed to convert to VGA - converting an HDMI or DVI-D source to VGA (or component) needs an active converter. (It can work out cheaper to buy a new monitor.) The lack of VGA has been acknowledged as a priority issue. In a [http://interviews.slashdot.org/story/11/09/14/1554243/Eben-Upton-Answers-Your-Questions Q/A with Slashdot] Eben said that they plan to look into providing some form of add-on.
 
Using an HDMI to DVI-D (digital) adaptor plus a DVI to VGA adaptor will not work. HDMI does not supply the DVI-A (analogue) needed to convert to VGA - converting an HDMI or DVI-D source to VGA (or component) needs an active converter. (It can work out cheaper to buy a new monitor.) The lack of VGA has been acknowledged as a priority issue. In a [http://interviews.slashdot.org/story/11/09/14/1554243/Eben-Upton-Answers-Your-Questions Q/A with Slashdot] Eben said that they plan to look into providing some form of add-on.
 +
 +
The Pi Hut offer two adapters that will allow the Raspberry Pi to be used with multiple monitor formats
 +
* [http://thepihut.com/products/1-8m-hdmi-cable Standard HDMI]
 +
* [http://thepihut.com/products/pi-view-official-raspberry-pi-hdmi-to-vga-convertor VGA adapter]
 +
* [http://thepihut.com/products/hdmi-to-dvi-cable-for-the-raspberry-pi DVI adapter]
  
 
''For detailed information see [[Rpi Screens]].''
 
''For detailed information see [[Rpi Screens]].''
  
 
==Power Supply==
 
==Power Supply==
The unit uses a Micro USB connection to power itself (only the power pins are connected - so it will not transfer data over this connection).  A standard modern phone charger with a micro-USB connector will do, but needs to produce at least 700mA at 5 volts. Check your power supply's ratings carefully, and [http://www.raspberrypi.org/forum/general-discussion/power-supply-warning beware cheap knock-offs!]. Suitable mains adaptors will be available from the [http://www.raspberrypi.com RPi Shop], as well as [http://thepihut.com/collections/power-supplies The Pi Hut's Raspberry Pi Store] or [http://www.ebay.co.uk/itm/330844162509 eBay]. [https://www.modmypi.com/raspberry-pi-accessories/5v-2A-modmypi-raspberry-pi-power-supply ModMyPi's Raspberry Pi Shop] stocks a 5V 2A bespoke charger designed specifically for use with the Raspberry Pi.
+
The unit uses a Micro USB connection to power itself (only the power pins are connected - so it will not transfer data over this connection).  A standard modern phone charger with a micro-USB connector will do, but needs to produce at least 700mA at 5 volts. Check your power supply's ratings carefully, and [http://www.raspberrypi.org/forum/general-discussion/power-supply-warning beware cheap knock-offs!].  
 +
 
 +
The Pi Hut offers a 5V 1500mA power supply, manufactured specially for the Raspberry Pi. This is available in three varieties :
 +
* [http://thepihut.com/products/micro-usb-power-supply-for-the-raspberry-pi UK]
 +
* [http://thepihut.com/products/eu-micro-usb-power-supply-for-the-raspberry-pi EU]
 +
* [http://thepihut.com/products/usa-micro-usb-power-supply-for-the-raspberry-pi USA]
 +
 
 +
Other suitable mains adapters will be available from the [http://www.raspberrypi.com RPi Shop], as well as [http://www.ebay.co.uk/itm/330844162509 eBay]. [https://www.modmypi.com/raspberry-pi-accessories/5v-2A-modmypi-raspberry-pi-power-supply ModMyPi's Raspberry Pi Shop] stocks a 5V 2A bespoke charger designed specifically for use with the Raspberry Pi.
  
 
You can use a range of other power sources (assuming they are able to provide enough current ~700mA):
 
You can use a range of other power sources (assuming they are able to provide enough current ~700mA):
Line 73: Line 84:
  
 
To use the above, you'll need a USB A 'male' to USB micro 'male' cable - these are often shipped as data cables with mobile phones.
 
To use the above, you'll need a USB A 'male' to USB micro 'male' cable - these are often shipped as data cables with mobile phones.
 +
 +
Additionally, the Raspberry Pi does not have the functionality of an on/off switch like traditionally seen on a PC. [http://www.pi-supply.com Pi Supply] have for sale an [http://www.pi-supply.com/what-is-it add on board] that introduces this functionality, allowing you to easily manage power on your Raspberry Pi, without wearing out your back, or the micro-USB socket on the Pi. It also includes a safe shutdown switch to avoid corruption of your SD card.
  
 
''For detailed information about power requirements see [[Rpi_Hardware#Power | RPi Hardware - Power]].''
 
''For detailed information about power requirements see [[Rpi_Hardware#Power | RPi Hardware - Power]].''
Line 110: Line 123:
  
 
===Heatsink===
 
===Heatsink===
Not a vital accessory for your RPi, but will help to reduce the CPU's temperature whilst under load. Available from [http://www.etsy.com/shop/nhslzt Etsy] [http://thepihut.com/collections/heatsinks The Pi Hut's Raspberry Pi Store] or [http://www.ebay.co.uk/itm/330758220781 eBay]
+
Not a vital accessory for your RPi, but will help to reduce the CPU's temperature whilst under load. Available from [http://thepihut.com/collections/heatsinks The Pi Hut's Raspberry Pi Store],  [http://www.etsy.com/shop/nhslzt Etsy], [https://www.modmypi.com/shop/raspberry-pi-heat-sink-kit ModMyPi] (with lots of tips and tricks for reducing temperature in the reviews) or [http://www.ebay.co.uk/itm/330758220781 eBay]
  
 
===Case===
 
===Case===
Since the RPi is supplied without a case, it will be important to ensure that you do not use it in places where it will come into contact with conductive metal or liquids, unless suitably protected. Some form of [[Rpi Cases | case]] should be considered, and there is a [http://www.raspberrypi.org/forum/general-discussion/cases-for-the-raspberry-pi Rpi case thread] on the forum. Cases are also available from [http://thepihut.com/collections/cases The Pi Hut's Raspberry Pi Store] and [http://store.mobileappsystems.com MobileApp Systems].
+
Since the RPi is supplied without a case, it will be important to ensure that you do not use it in places where it will come into contact with conductive metal or liquids, unless suitably protected. Some form of [[Rpi Cases | case]] should be considered, and there is a [http://www.raspberrypi.org/forum/general-discussion/cases-for-the-raspberry-pi Rpi case thread] on the forum. Cases are also available from [http://thepihut.com/collections/cases The Pi Hut's Raspberry Pi Store],[https://www.modmypi.com/raspberry-pi-cases ModMyPi's Raspberry Pi Shop] and [http://store.mobileappsystems.com MobileApp Systems].
  
 
''For detailed information see [[Rpi Cases]].''
 
''For detailed information see [[Rpi Cases]].''
  
 
===Real Time Clock===
 
===Real Time Clock===
There are a number of possible solutions for real time clocks, but so far, most are either expensive or not particularly friendly.
+
In order to achieve the price point of the Raspberry Pi several non-essential items usually found on a computer had to be omitted. Laptops and computers keep time when the power is off by using a pre-installed, battery powered 'Real Time Clock' (RTC). However, this Real Time Clock module is not included with the Raspberry Pi. To keep time, the Raspberry Pi updates the date and time automatically over the internet via Ethernet or WiFi. For projects which have no internet connection, you may want to add a low cost battery powered RTC to help your Pi keep time!
  
One promising device is the Cymbet Evaluation board (CBC-EVAL-06) available from digikey for approximately $30.
+
Afterthought Software have released a 'Plug and Play' Real Time Clock designed specifically for the Raspberry Pi which, unlike other RTC's available, plugs directly in to the Raspberry Pi's GPIO Ports. The unit is available from [https://www.modmypi.com/raspberry-pi-expansion-boards/rasclock-raspberry-pi-real-time-clock-module ModMyPi] and comes complete with an easy to follow [https://www.modmypi.com/blog/installing-the-rasclock-raspberry-pi-real-time-clock Installation Guide].
Cymbet is in the business of making small batteries and this eval board is intended just as a demonstration of their product using COTS parts on a small board that plugs directly into the USB. Their product is actually the battery that backs up the RTC memory and oscillator when not receiving power from the USB. However, this demo board is very well suited to this application. Ideally, a maker-oriented company will pick up this reference design and start producing boards based on it at a lower cost in larger volume.
+
 
+
To use this board, you will need some software. libmpsse from Google Code (http://code.google.com/p/libmpsse/) is a GPL library that can talk to the board in user-space.
+
 
+
User friendly software is a work in progress visible on GITHub http://github.com/owendelong/Cymbet-RTC
+
  
 
===SD card reader===
 
===SD card reader===
Line 131: Line 139:
  
 
Note that the SD card reader will be connected to a traditional PC, not to the RPi. You may use an SD card reader integrated into your PC, or you may use a dedicated USB-connected SD card reader. Note that several peripherals may also be used as an SD card reader, for example cameras, smartphones, camcorders and GPS units.
 
Note that the SD card reader will be connected to a traditional PC, not to the RPi. You may use an SD card reader integrated into your PC, or you may use a dedicated USB-connected SD card reader. Note that several peripherals may also be used as an SD card reader, for example cameras, smartphones, camcorders and GPS units.
 +
 +
[https://www.modmypi.com/raspberry-pi-accessories/plexus-single-slot-usb2.0-card-reader ModMyPi's Raspberry Pi Shop] stocks a low cost (99p) SD Card Reader.
  
 
===Expansion & Low Level Peripherals===
 
===Expansion & Low Level Peripherals===
Line 164: Line 174:
  
 
For a verbose guide aimed at absolute beginners, see [http://h2g2.com/A13413584 Peripherals You'll Need] and [http://h2g2.com/A9143796 Getting Started] in h2g2's 'Introducing the Raspberry Pi'.
 
For a verbose guide aimed at absolute beginners, see [http://h2g2.com/A13413584 Peripherals You'll Need] and [http://h2g2.com/A9143796 Getting Started] in h2g2's 'Introducing the Raspberry Pi'.
 +
 +
For a cautionary tale of '7 gotchas' to be on the lookout for (especially concerning the re-use of old monitors, keyboards, etc), see [http://www.keyboardmaven.com/2013/04/raspberry-pi-gotchas-and-newbiebuyer.html Raspbery Pi 'Gotchas' and new buyer tips]
  
 
=References=
 
=References=
 
<references/>
 
<references/>
 
{{Template:Raspberry Pi}}
 
{{Template:Raspberry Pi}}

Revision as of 10:44, 17 April 2013


RaspPi.png Back to the Hub


Getting Started:

Buying Guide - for advice on buying the Raspberry Pi.

SD Card Setup - for information on how to prepare the SD Card used to boot your Raspberry Pi.

Basic Setup - for help with buying / selecting other hardware and setting it up.

Beginners Guide - you are up and running, now what can you do?

Advanced Setup - for more extensive information on setting up.

Trouble Shooting - some things to check if things don't work as expected.


Typical Hardware You Will Need

While the RPi can be used without any additional hardware (except perhaps a power supply of some kind), it won't be much use as a general computer. As with any normal PC, it is likely you will need some additional hardware.

IMPORTANT For USB devices other than a mouse and a simple wired keyboard (for USB devices drawing more than 100mA) a powered USB hub is strongly recommended. A technical discussion as to why can be found here. Specifically the RPI's built in USB hub is designed only for "Single current unit" USB devices. Note that when using Revision 2 (or later) boards the problem has been mitigated somewhat with the removal of the USB polyfuses, still due to the limited current the PI can provide to USB devices, due to its main polyfuse, its still recommended to use a hub for all USB peripherals requiring more than 100mA.

The following are more or less essential, and are all available from The Pi Hut and ModMyPi:

Highly suggested extras include:

Prepared Operating System SD Card

As the RPi has no internal storage or built-in operating system it requires an SD-Card that is set up to boot the RPi.

NOTE: An RPi SD card can only be used to boot an RPi. A normal PC will refuse to boot from an RPi SD card due to its formatting.

This guide will assume you have a preloaded SD card. If you want to de-format the SD card, the easiest way is to soft format the card in a Digital Camera.

To check your SD card is compatible with Linux, see RPi VerifiedPeripherals#SD_cards.

Keyboard & Mouse

Most standard USB keyboards and mice will work with the RPi. Wireless keyboard/mice should also function, and only require a single USB port for an RF dongle. In order to use a Bluetooth keyboard or mouse you would need to use a Bluetooth dongle, which again uses a single port.

Remember that the Model A has a single USB port and the Model B only has two (typically a keyboard and mouse will use a USB port each) - see USB Hub below.

To check your mouse and keyboard are compatible with Linux, see RPi Verified Peripherals.

Display

There are two main connection options for the RPi display, HDMI (high definition) and Composite (low definition).

  • HD TVs and most LCD Monitors can be connected using a full-size 'male' HDMI cable, and with an inexpensive adaptor if DVI is used. HDMI versions 1.3 and 1.4 are supported, and a version 1.4 cable is recommended. The RPi outputs audio and video via HMDI, but does not support HDMI input.
  • Most older TVs can be connected using Composite (a yellow-to-yellow cable). PAL and NTSC TVs are supported. Note that the RCA output is composite video, not RF, so it cannot be connected directly to the antenna input of a TV, you need to connected it the the yellow video input connector, or to the SCART input using a RCA to SCART plug, (adapter).

When using composite video, audio is available from a 3.5mm (1/8 inch) socket, and can be sent to your TV, or to an amplifier. To send audio to your TV, you will need a cable which adapts from 3.5mm to double (red and white) RCA connectors. These red and white can go into the red and white RCA plug inputs of a TV, or a stereo set, or to the above mentioned RCA to SCART plug. Another option for audio (when not using HDMI) is to connect the 3.5mm jackplug to an amplified speakerset. Do not connect the 3.5 mm jack directly to a headset, as the 3.5 mm audio output isn't suitable to drive headsets, only amplifier inputs. Attaching a low impedance load, (such as a headset) to the stereo audio output may lead to distorted sound.

Using an HDMI to DVI-D (digital) adaptor plus a DVI to VGA adaptor will not work. HDMI does not supply the DVI-A (analogue) needed to convert to VGA - converting an HDMI or DVI-D source to VGA (or component) needs an active converter. (It can work out cheaper to buy a new monitor.) The lack of VGA has been acknowledged as a priority issue. In a Q/A with Slashdot Eben said that they plan to look into providing some form of add-on.

The Pi Hut offer two adapters that will allow the Raspberry Pi to be used with multiple monitor formats

For detailed information see Rpi Screens.

Power Supply

The unit uses a Micro USB connection to power itself (only the power pins are connected - so it will not transfer data over this connection). A standard modern phone charger with a micro-USB connector will do, but needs to produce at least 700mA at 5 volts. Check your power supply's ratings carefully, and beware cheap knock-offs!.

The Pi Hut offers a 5V 1500mA power supply, manufactured specially for the Raspberry Pi. This is available in three varieties :

Other suitable mains adapters will be available from the RPi Shop, as well as eBay. ModMyPi's Raspberry Pi Shop stocks a 5V 2A bespoke charger designed specifically for use with the Raspberry Pi.

You can use a range of other power sources (assuming they are able to provide enough current ~700mA):

  • Computer USB Port or powered USB hub (will depend on power output)
  • Special wall warts with USB ports
  • Mobile Phone Backup Battery (will depend on power output) (in theory - needs confirmation)
  • Modern TV with built-in USB (for example, it has been shown to work with the Sony KDL-40HX723 and KDL-55NX813)
  • Internet Routers with USB Ports (the BT Home Hub 3 seems to run the Pi nicely)

To use the above, you'll need a USB A 'male' to USB micro 'male' cable - these are often shipped as data cables with mobile phones.

Additionally, the Raspberry Pi does not have the functionality of an on/off switch like traditionally seen on a PC. Pi Supply have for sale an add on board that introduces this functionality, allowing you to easily manage power on your Raspberry Pi, without wearing out your back, or the micro-USB socket on the Pi. It also includes a safe shutdown switch to avoid corruption of your SD card.

For detailed information about power requirements see RPi Hardware - Power.

Cables

You will probably need a number of cables in order to connect your RPi up.

  1. Micro-B USB Power Cable (see above) picture. This has to be a high quality one.
  2. HDMI-A picture or Composite cable picture, plus DVI adaptor picture or SCART adaptor picture if required, to connect your RPi to the Display/Monitor/TV of your choice.
  3. Audio cable picture, this is not needed if you use a HDMI TV/monitor.
  4. Ethernet/LAN Cable (see below) picture.

The price you pay for an HDMI cable can very wildly and under most circumstances a low-cost cable from a reputable online or local supplier will be absolutely fine, but the definition of what constitutes 'low cost' can vary wildly - for example, in the UK, a 1m cable can be purchased for anything between £1 and £24.99. If, however, you want to drive a display some distance from the RPi (say greater than the ubiquitous 1.8m/6ft), or you are using a video switch to share a display between several devices, then higher quality cables might be wise - for example, a pair of 1m HDMI cables purchased in a UK 'pound shop' worked fine when directly connected between the RPi and a display, but would not give a stable picture when used via an HDMI switch. Replacing the £1 1m cable with a 1.5m cable bought online for £1.30 fixed the problem. For more insight: Why you don't need to spend more than £2 on an HDMI cable

Fully tested cables are available at The Pi Hut's Raspberry Pi Store, and ModMyPi's Raspberry Pi Shop offers a range of High Quality coloured 'Noodle' cables.

Additional Peripherals

You may decide you want to use various other devices with your RPi, such as Flash Drives/Portable Hard Drives, Speakers etc.

For detailed information see RPi Verified Peripherals.

Internet Connectivity

This may be an Ethernet/LAN cable (standard RJ45 connector) or a USB WiFi adaptor. The RPi ethernet port is auto-sensing which means that it may be connected to a router or directly to another computer (without the need for a crossover cable[1]).

Support for USB WiFi adaptors will vary - see RPi Verified Peripherals.

Note: If a Netgear router has a blank in the fourth box of the subnet mask, raspbian will interpret that as a 255, not as a '0' like Ubuntu will do. This will give you a subnet mask of 255.255.255.255 and a useless network connection. Changing the router's setting to put a '0' in the last field and reinitializing the network will fix this.

USB-Hub

In order to connect additional devices to the RPi, you may want to obtain a USB Hub, which will allow multiple devices to be used.

It is nearly a requirement that a powered hub is used - this will provide any additional power to the devices without affecting the RPi itself. The USB ports are fused at about 140ma each without an additional external power source. This not enough to power a hard drive, and you may even have trouble powering wireless adapters and other peripherals. There is enough current out there, however, for mice and most keyboards. (see RPi Hardware - Power section).

USB version 2.0 is recommended. USB version 1.1 is fine for keyboards and mice, but may not be fast enough for other accessories.

Heatsink

Not a vital accessory for your RPi, but will help to reduce the CPU's temperature whilst under load. Available from The Pi Hut's Raspberry Pi Store, Etsy, ModMyPi (with lots of tips and tricks for reducing temperature in the reviews) or eBay

Case

Since the RPi is supplied without a case, it will be important to ensure that you do not use it in places where it will come into contact with conductive metal or liquids, unless suitably protected. Some form of case should be considered, and there is a Rpi case thread on the forum. Cases are also available from The Pi Hut's Raspberry Pi Store,ModMyPi's Raspberry Pi Shop and MobileApp Systems.

For detailed information see Rpi Cases.

Real Time Clock

In order to achieve the price point of the Raspberry Pi several non-essential items usually found on a computer had to be omitted. Laptops and computers keep time when the power is off by using a pre-installed, battery powered 'Real Time Clock' (RTC). However, this Real Time Clock module is not included with the Raspberry Pi. To keep time, the Raspberry Pi updates the date and time automatically over the internet via Ethernet or WiFi. For projects which have no internet connection, you may want to add a low cost battery powered RTC to help your Pi keep time!

Afterthought Software have released a 'Plug and Play' Real Time Clock designed specifically for the Raspberry Pi which, unlike other RTC's available, plugs directly in to the Raspberry Pi's GPIO Ports. The unit is available from ModMyPi and comes complete with an easy to follow Installation Guide.

SD card reader

If you will not use a preloaded SD card to boot from, you will need an SD card reader to prepare an SD card.

Note that the SD card reader will be connected to a traditional PC, not to the RPi. You may use an SD card reader integrated into your PC, or you may use a dedicated USB-connected SD card reader. Note that several peripherals may also be used as an SD card reader, for example cameras, smartphones, camcorders and GPS units.

ModMyPi's Raspberry Pi Shop stocks a low cost (99p) SD Card Reader.

Expansion & Low Level Peripherals

If you plan on making use of the low level interfaces available on the RPi, then ensure you have suitable header pins for the GPIO (and if required JTAG) suitable for your needs.

Also if you have a particular low-level project in mind, then ensure you design in suitable protection circuits to keep your RPi safe (details will be made available within the RPi Projects, Guides & Tutorials section).

For detailed information see Rpi Low-level Peripherals.

Connecting Together

A diagram denoting the places of the different components on the Rpi, made by Paul Beech. Click to enlarge.

You can use the diagram to connect everything together, or use the following instructions:

  1. Plug the preloaded SD Card into the Pi.
  2. Plug the USB keyboard and mouse into the Pi, perhaps via a USB Hub. Connect the Hub to power, if necessary.
  3. Plug the video cable into the screen (TV) and into the Pi.
  4. Plug your extras into the Pi (USB WiFi, Ethernet cable, hard drive etc.). This is where you may really need a USB Hub.
  5. Ensure that your USB Hub (if any) and screen are working.
  6. Plug the power source into the main socket.
  7. With your screen on, plug the other end of the power source into the Pi.
  8. The Pi should boot up and display messages on the screen.

It is always recommended to connect the MicroUSB Power to the unit last (while most connections can be made live, it is best practice to connect items such as displays and other connections with the power turned off).

If you use both a R-PI power supply and a powered hub, its recommended you connect them to the same switched power bar, and use the switch on the power bar to switch off both the R-PI and hub at the exact same time.

Also, always shutdown using the software shutdown function, not by pulling the plug. When not using a GUI, (with a GUI use the GUI command) you can use the command "shutdown -h now", and power off when all the LED's on the board (except the power LED) go off. This is especially important the first time you boot, as in the process the R-PI modifies the content of the SD-card, without a clean shutdown the contents of the card may be damaged.

The RPi may take a long time to boot when powered-on for the first time, so be patient, and cleanly shutdown afterwards, as described above!

External Links

For a verbose guide aimed at absolute beginners, see Peripherals You'll Need and Getting Started in h2g2's 'Introducing the Raspberry Pi'.

For a cautionary tale of '7 gotchas' to be on the lookout for (especially concerning the re-use of old monitors, keyboards, etc), see Raspbery Pi 'Gotchas' and new buyer tips

References

  1. Wikipedia:Auto-MDIX