Difference between revisions of "RPi Hardware Basic Setup"

From eLinux.org
Jump to: navigation, search
m (Typical Hardware You Will Need: Make the page easier to read)
m (Copy edited (e.g. ref. <http://en.wikipedia.org/wiki/Wi-Fi>). Space between quantity and unit - " " is a non-breaking space (see e.g. <http://english.stackexchange.com/questions/15953>).)
 
(9 intermediate revisions by 6 users not shown)
Line 4: Line 4:
 
You may have decided to buy a Raspberry Pi because you think it is great, it helps if you have an idea of what you want to do with it. You buy the board, but you will need some extra parts to be able to use it. Some of those parts you may have around so you can use them, some you might buy that others have given away or sold, and some you buy yourself. Consider what you buy; you might get very little benefit from an expensive item over a cheap one.
 
You may have decided to buy a Raspberry Pi because you think it is great, it helps if you have an idea of what you want to do with it. You buy the board, but you will need some extra parts to be able to use it. Some of those parts you may have around so you can use them, some you might buy that others have given away or sold, and some you buy yourself. Consider what you buy; you might get very little benefit from an expensive item over a cheap one.
  
The Raspberry Pi can be used in the conventional computer configuration, with a keyboard, mouse and display, or in a "headless" configuration where it is available on a network and is controlled from another computer on that network. You can add a range of additional peripherals to the Pi; the first section of this page covers setting up the Pi with the minimum number of peripherals to make sure that you can get it working. Additional peripherals are covered in the second section.
+
The Raspberry Pi can be used in the conventional computer configuration, with a keyboard, mouse and display, or in a "headless" configuration where it is available on a network and is controlled from another computer on that network. You can add a range of additional peripherals to the Raspberry Pi; the first section of this page covers setting up the Raspberry Pi with the minimum number of peripherals to make sure that you can get it working. Additional peripherals are covered in the second section.
  
 
{| border="1"
 
{| border="1"
! Item !! Conventional !! Headless !! Quick Link
+
! Item !! Conventional !! Headless
 
|-
 
|-
 
|[[RPi Buying Guide|Raspberry Pi board]]
 
|[[RPi Buying Guide|Raspberry Pi board]]
 
|Yes
 
|Yes
 
|Yes
 
|Yes
|[http://thepihut.com/collections/raspberry-pi-computer The Pi Hut]
 
 
|-
 
|-
 
|[[#Power Supply|Power Supply]]
 
|[[#Power Supply|Power Supply]]
 
|Yes
 
|Yes
 
|Yes
 
|Yes
|[http://thepihut.com/collections/power-supplies The Pi Hut]
 
 
|-
 
|-
 
|[[#Prepared Operating System SD Card|SD Card + OS]]
 
|[[#Prepared Operating System SD Card|SD Card + OS]]
 
|Yes
 
|Yes
 
|Yes
 
|Yes
|[http://thepihut.com/collections/software The Pi Hut]
 
 
|-
 
|-
 
|[[#Keyboard & Mouse|USB keyboard]]
 
|[[#Keyboard & Mouse|USB keyboard]]
 
|Yes
 
|Yes
 
|No
 
|No
|[http://thepihut.com/collections/keyboards-mice The Pi Hut]
 
 
|-
 
|-
 
|[[#Keyboard & Mouse|USB mouse]]
 
|[[#Keyboard & Mouse|USB mouse]]
 
|If using a GUI desktop
 
|If using a GUI desktop
 
|No
 
|No
|[http://thepihut.com/collections/keyboards-mice The Pi Hut]
 
 
|-
 
|-
 
|[[#Display|Display]]
 
|[[#Display|Display]]
 
|Yes
 
|Yes
 
|No
 
|No
|
 
 
|-
 
|-
 
|[[#Cables|Display cable]]
 
|[[#Cables|Display cable]]
 
|Yes
 
|Yes
 
|No
 
|No
|[http://thepihut.com/collections/video-output The Pi Hut]
 
 
|-
 
|-
 
|[[#Cables|Network cable]]
 
|[[#Cables|Network cable]]
|If network / internet
+
|If network / Internet
|Not possible if Model A; Yes if not WiFi
+
|Not possible if Model A; Yes if not Wi-Fi
|[http://thepihut.com/collections/networking/products/2m-network-cable-for-the-raspberry-pi The Pi Hut]
+
 
|-
 
|-
|[[#Network Connectivity|WiFi USB adapter]]
+
|[[#Network / Internet Connectivity|Wi-Fi USB adapter]]
|If network / internet
+
|If network / Internet
 
|If model A, Yes; Yes if not cabled
 
|If model A, Yes; Yes if not cabled
|[http://thepihut.com/collections/networking/products/usb-wifi-adapter-for-the-raspberry-pi The Pi Hut]
 
 
|-
 
|-
|[[#USB Hub|Powered USB hub]]
+
|[[#USB-Hub|Powered USB hub]]
|If USB WiFi, complex keyboard or mouse
+
|If High Power USB device
 
|No
 
|No
|[http://thepihut.com/collections/hubs/products/7-port-usb-hub-for-the-raspberry-pi The Pi Hut]
 
 
|-
 
|-
|[[#Another PC|Another PC / laptop, etc]]
+
|[[#Another PC|Another PC / laptop, etc.]]
 
|No
 
|No
 
|Yes
 
|Yes
|
 
|-
 
|[[#Real Time Clock|Real-Time Clock module]]
 
|If no network / internet
 
|If no network / internet
 
|
 
 
|}
 
|}
  
  
'''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 100&nbsp;mA) 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 Raspberry Pi's built in USB hub is designed only for "single current unit" USB devices. Note that when using Revision&nbsp;2 (or later) boards the problem has been mitigated somewhat with the removal of the USB polyfuses, still due to the limited current the Raspberry 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 100&nbsp;mA.
  
 
Other, optional equipment includes:
 
Other, optional equipment includes:
  
* [[#Additional Peripherals|Case]]
+
* [[#Case|Case]]
* [[#Additional Peripherals|SD card reader]] - if you need to prepare your own SD card
+
* [[#SD card reader|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
+
* [[#Power Switch|Power Supply Switch]] - if you want an easy way to cycle power
  
 
== 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!].  
+
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 700&nbsp;mA at 5 volts (Model B). Check your power supply's ratings carefully, and [https://www.raspberrypi.org/forums/viewtopic.php?&t=2149 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 :
+
'''Pi Specific power supplies'''
* [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.
+
A few power supplies have been manufactured ''specially'' for the Raspberry Pi to account for voltage drop due to the high current draw of the Raspberry Pi when compared to typical (phone charging, etc.) duties.
  
You can use a range of other power sources (assuming they are able to provide enough current ~700mA):
+
*A 5&nbsp;V 2&nbsp;A supply available in UK, EU and USA varieties from [http://thepihut.com/collections/raspberry-pi-power-supplies The Pi Hut]
 +
 
 +
*A 5&nbsp;V 2&nbsp;A supply designed specifically for use with the Raspberry Pi is also available from [http://www.modmypi.com/raspberry-pi/accessories]
 +
 
 +
 
 +
You can alternatively use a range of other power sources (assuming they are able to provide enough current ~700&nbsp;mA):
 
* Computer USB Port or powered USB hub (will depend on power output)
 
* Computer USB Port or powered USB hub (will depend on power output)
 
* Special wall warts with USB ports
 
* Special wall warts with USB ports
 
* Mobile Phone Backup Battery (will depend on power output) (in theory - needs confirmation)
 
* 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)
 
* 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)
+
* Internet Routers with USB Ports (the BT Home Hub 3 seems to run the Raspberry 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.
+
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, So you should have a lot. Unless you use iPhones and only iPhones.
  
 
===Power Switch===
 
===Power Switch===
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/product/pi-supply-raspberry-pi-power-switch/ 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.
+
Additionally, the Raspberry Pi does not have the functionality of an on/off switch like traditionally seen on a PC. Pi Supply have an [http://www.pi-supply.com/product/pi-supply-raspberry-pi-power-switch/ add on board] for sale 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 Raspberry Pi. It also includes a safe shutdown switch to avoid corruption of your SD card. (Also, you can use the built in switch in your power outlet if you have it.)
 
+
''For detailed information about power requirements see [[Rpi_Hardware#Power | RPi Hardware - Power]].''
+
  
== Portable Battery Pack ==
+
''For detailed information about power requirements see [[RPi_Hardware#Power | Raspberry Pi Hardware - Power]].''
Want to use your Raspberry Pi on the go? Then you need a Portable Power Pack! The rechargeable battery pack allows you to use your Raspberry Pi anywhere. Available from The Pi Hut - [http://thepihut.com/products/portable-power-pack-for-the-raspberry-pi Portable Power Pack for the Raspberry Pi]
+
  
 
== Prepared Operating System SD Card ==
 
== Prepared Operating System SD Card ==
The RPi has no internal storage or built-in boot code, so it requires an SD-Card that is set up to boot the RPi and launch the Operating System. You should look at the [[RPi Easy SD Card Setup]] page for instructions about buying a preinstalled card or creating your own loaded SD Card.
+
The Raspberry Pi has no internal storage or built-in boot code, so it requires an SD-Card that is set up to boot the Raspberry Pi. You should look at the [[RPi Easy SD Card Setup]] page for instructions about buying a preinstalled card or creating your own loaded SD Card. A USB Device can take over after the initial bootup. (BerryBoot)
  
 
== Keyboard & Mouse ==
 
== 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.
+
Most standard USB keyboards and mice will work with the Raspberry Pi. 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 [[RPi_Hardware_Basic_Setup#USB-Hub | USB Hub]] below.
+
Remember that the Model A has a single USB port, the Model B only has two (typically a keyboard and mouse will use a USB port each), and the Model B+ and Raspberry Pi 2 have 4 - see [[RPi_Hardware_Basic_Setup#USB-Hub | USB Hub]] below.
  
''To check your mouse and keyboard are compatible with Linux, see [[RPi VerifiedPeripherals | RPi Verified Peripherals]].''
+
''To check your mouse and keyboard are compatible with Linux, see [[RPi VerifiedPeripherals | Raspberry Pi Verified Peripherals]].''
  
 
== Display ==
 
== Display ==
There are two connection options for the RPi display, ''HDMI'' (high definition) and ''Composite'' (low definition).
+
There are two connection options for the Raspberry Pi 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.
+
* HD TVs and most LCD Monitors can be connected using a standard HDMI cable. (A cable with a "male"/"plug" connection on the Raspberry Pi end and whatever your display uses on the other end). HDMI versions 1.3 and 1.4 are supported, and a version 1.4 cable is recommended. The Raspberry Pi outputs audio and video via HDMI, but does not have an 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).
+
* 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 to the yellow video input connector, or to the SCART input using a RCA to SCART plug (adapter). Note that on the model A+ and B+ Raspberry Pi's the composite video output has been combined with the audio connector so you will need a special cable to allow access to the video output. See http://www.raspberrypi-spy.co.uk/2014/07/raspberry-pi-model-b-3-5mm-audiovideo-jack/ for details of the exact cable required.
  
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.
+
It is possible to use a monitor with a DVI input by using an HDMI to DVI adapter or adapter cable. The Raspberry Pi can also be connected to a display with a VGA input through the use of an HDMI to VGA converter. Note however that a simple HDMI to VGA cable will not work - it needs to be an "active" converter.
 +
 
 +
The Raspberry Pi will normally output sound on either the HDMI connection or the 3.5&nbsp;mm analogue output. You can send the sound output from the analogue output of the Raspberry Pi to your TV using a cable that adapts from 3.5&nbsp;mm TRS 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. On the model A+ and B+ Raspberry Pi's you will need a special TRRS cable to connect the audio if you also want access to the composite video output. A 3.5&nbsp;mm TRS to dual (red and white) RCA cable will work for the audio if you don't need the composite video output. See http://www.raspberrypi-spy.co.uk/2014/07/raspberry-pi-model-b-3-5mm-audiovideo-jack/ for details of the exact cable required. Another option for analogue audio is to connect the 3.5&nbsp;mm 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). Problems have been reported with converters if the power supply is not adequate and the converter is not powered from its own power supply.
 
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). Problems have been reported with converters if the power supply is not adequate and the converter is not powered from its own power supply.
  
The Pi Hut offer two adapters that will allow the Raspberry Pi to be used with multiple monitor formats
+
The Pi Hut offer three 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/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/raspberry-pi-hdmi-to-vga-convertor VGA adapter]
 
* [http://thepihut.com/products/hdmi-to-dvi-cable-for-the-raspberry-pi DVI 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]].''
  
 
== Cables ==
 
== Cables ==
You will probably need a number of cables in order to connect your RPi up.
+
You will probably need a number of cables in order to connect your Raspberry Pi up.
 
# Micro-B USB Power Cable (see above) [http://en.wikipedia.org/wiki/File:MicroB_USB_Plug.jpg picture]. This has to be a [[On the RPi usb power cable|high quality one]].
 
# Micro-B USB Power Cable (see above) [http://en.wikipedia.org/wiki/File:MicroB_USB_Plug.jpg picture]. This has to be a [[On the RPi usb power cable|high quality one]].
# HDMI-A [http://en.wikipedia.org/wiki/File:HDMI.jpg picture] or Composite cable [http://en.wikipedia.org/wiki/File:Composite-video-cable.jpg picture], plus DVI adaptor [http://en.wikipedia.org/wiki/File:Adapter_dvi_hdmi_S7302224_wp.jpg picture] or SCART adaptor [http://en.wikipedia.org/wiki/File:Multiconnector-scart-chti.jpg picture] if required, to connect your RPi to the Display/Monitor/TV of your choice.  
+
# HDMI-A [http://en.wikipedia.org/wiki/File:HDMI.jpg picture] or Composite cable [http://en.wikipedia.org/wiki/File:Composite-video-cable.jpg picture], plus DVI adaptor [http://en.wikipedia.org/wiki/File:Adapter_dvi_hdmi_S7302224_wp.jpg picture] or SCART adaptor [http://en.wikipedia.org/wiki/File:Multiconnector-scart-chti.jpg picture] if required, to connect your Raspberry Pi to the Display/Monitor/TV of your choice.
 
# Audio cable [http://en.wikipedia.org/wiki/File:Audio-TRS-Mini-Plug.jpg picture], this is not needed if you use a HDMI TV/monitor.
 
# Audio cable [http://en.wikipedia.org/wiki/File:Audio-TRS-Mini-Plug.jpg picture], this is not needed if you use a HDMI TV/monitor.
 
# Ethernet/LAN Cable (see below) [http://en.wikipedia.org/wiki/File:Ethernet_RJ45_connector_p1160054.jpg picture].
 
# Ethernet/LAN Cable (see below) [http://en.wikipedia.org/wiki/File:Ethernet_RJ45_connector_p1160054.jpg 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.  
+
The price you pay for an HDMI cable can vary 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 1&nbsp;m 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.  
+
If, however, you want to drive a display some distance from the Raspberry Pi (say greater than the ubiquitous 1.8&nbsp;m/6&nbsp;ft), 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 1&nbsp;m HDMI cables purchased in a UK 'pound shop' worked fine when directly connected between the Raspberry Pi and a display, but would not give a stable picture when used via an HDMI switch. Replacing the £1 1&nbsp;m cable with a 1.5&nbsp;m cable bought online for £1.30 fixed the problem.
 
For more insight: [http://www.techradar.com/news/video/why-you-dont-need-to-spend-more-than-2-on-an-hdmi-cable-1071343 Why you don't need to spend more than £2 on an HDMI cable]
 
For more insight: [http://www.techradar.com/news/video/why-you-dont-need-to-spend-more-than-2-on-an-hdmi-cable-1071343 Why you don't need to spend more than £2 on an HDMI cable]
  
Fully tested cables are available from [http://www.pi-supply.com Pi Supply], [http://thepihut.com/collections/cables The Pi Hut's Raspberry Pi Store], and [https://www.modmypi.com/raspberry-pi-accessories ModMyPi's Raspberry Pi Shop] offers a range of High Quality coloured 'Noodle' cables.
+
Fully tested cables are available from [http://www.pi-supply.com Pi Supply] and [https://www.modmypi.com/raspberry-pi/accessories ModMyPi's Raspberry Pi Shop] offers a range of High Quality coloured 'Noodle' cables.
  
 
== Network / Internet Connectivity ==
 
== Network / 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<ref name=autoMDIX>[http://en.wikipedia.org/wiki/Medium_dependent_interface#Auto-MDIX Wikipedia:Auto-MDIX]</ref>).
+
This may be an Ethernet/LAN cable (standard RJ45 connector) or a USB Wi-Fi adaptor. The Raspberry Pi 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<ref name=autoMDIX>[http://en.wikipedia.org/wiki/Medium_dependent_interface#Auto-MDIX Wikipedia:Auto-MDIX]</ref>).
  
''Support for USB WiFi adaptors will vary - see [[RPi VerifiedPeripherals | RPi Verified Peripherals]].''
+
''Support for USB Wi-Fi adaptors will vary - see [[RPi VerifiedPeripherals | Raspberry Pi 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.  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.
 
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.  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 ==
 
== 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.
+
In order to connect additional devices to the Raspberry Pi, you may want to obtain a USB Hub, which will allow multiple devices to be used.
  
It is recommended 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 | RPi Hardware - Power]] section).
+
It is recommended that  a '''powered''' hub is used - this will provide any additional power to the devices without affecting the Raspberry Pi itself. The USB ports are fused at about 140&nbsp;mA each without an additional external power source. This is 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 | Raspberry Pi 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.
 
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.
  
 
== Real Time Clock ==
 
== Real Time Clock ==
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!
+
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 Wi-Fi. For projects which have no Internet connection, you may want to add a low cost battery powered RTC to help your Raspberry 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 [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].
+
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, and others, are available from [https://www.modmypi.com/search/?search=rtc] and comes complete with an easy to follow [https://www.modmypi.com/blog/installing-the-rasclock-raspberry-pi-real-time-clock Installation Guide].
  
 
== Another PC ==
 
== Another PC ==
If you need to install the Operating System on your own SD Card you will need another PC, Laptop or Mac to do so (or get a friend or local group to do it for you). If you are running headless, you also need one, though for a lot of uses (but not all) you can use a tablet or smart phone. This does include another Pi!
+
If you need to install the Operating System on your own SD Card you will need another PC, Laptop or Mac to do so (or get a friend or local group to do it for you). If you are running headless, you also need one, though for a lot of uses (but not all) you can use a tablet or smart phone. This does include another Raspberry Pi!
  
 
= Connecting Together =
 
= Connecting Together =
  
[[File:Raspi-Model-AB-Mono-1-699x1024.png|200px|thumb|right|A diagram denoting the places of the different components on the Rpi, made by Paul Beech. Click to enlarge.]]
+
[[File:Raspi-Model-AB-Mono-1-699x1024.png|200px|thumb|right|A diagram denoting the places of the different components on the Raspberry Pi, made by Paul Beech. Click to enlarge.]]
 
You can use the diagram to connect everything together using the following instructions:
 
You can use the diagram to connect everything together using the following instructions:
  
# Plug the SD Card loaded with the Operating System into the Pi.
+
# Plug the SD Card loaded with the Operating System into the Raspberry Pi.
# If required, plug the USB keyboard and mouse into the Pi, perhaps via a USB Hub. Connect the Hub to power, if necessary.
+
# If required, plug the USB keyboard and mouse into the Raspberry Pi, perhaps via a USB Hub. Connect the Hub to power, if necessary.
# If required, plug the video cable into the display and into the Pi.
+
# If required, plug the video cable into the display and into the Raspberry Pi.
# Plug in your Network cable, or WiFi dongle, if required.
+
# Plug in your Network cable, or Wi-Fi dongle, if required.
 
# Ensure that your USB Hub (if any) and display are working.
 
# Ensure that your USB Hub (if any) and display are working.
# With your screen on, plug the other end of the power source into the Pi.
+
# With your screen on, plug the other end of the power source into the Raspberry Pi.
 
# Plug the power source into the main socket, and switch it on.
 
# Plug the power source into the main socket, and switch it on.
# If connected to a display, the Pi should boot up and display messages on the screen.
+
# If connected to a display, the Raspberry Pi should boot up and display messages on the screen.
# If running headless, it should boot up. When the leds have stopped flashing, connect to the Pi from the remote computer. Whether this works will depend on the operating system you are using; the Raspian Linux operating system is configured to allow SSH connections by default.
+
# If running headless, it should boot up. When the leds have stopped flashing, connect to the Raspberry Pi from the remote computer. Whether this works will depend on the operating system you are using; the Raspian Linux operating system is configured to allow SSH connections by default.
  
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).  
+
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.  
+
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 "sudo halt", 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.
+
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 "sudo halt -h", 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!
+
The Raspberry Pi may take a long time to boot when powered-on for the first time, so be patient, and cleanly shutdown afterwards, as described above!
  
 
= Additional Peripherals =
 
= Additional Peripherals =
You may decide you want to use various other devices with your RPi, such as Flash Drives/Portable Hard Drives, Speakers etc.
+
You may decide you want to use various other devices with your Raspberry Pi, such as flash drives/portable hard drives, speakers, etc.
  
''For detailed information see [[RPi VerifiedPeripherals | RPi Verified Peripherals]].''
+
''For detailed information see [[RPi VerifiedPeripherals | Raspberry Pi Verified Peripherals]].''
  
 
== Heatsink ==
 
== Heatsink ==
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]
+
Not a vital accessory for your Raspberry Pi, but will help to reduce the CPU's temperature whilst under load. Available from [http://thepihut.com/collections/raspberry-pi-accessories The Pi Hut's Raspberry Pi Store], [http://www.modmypi.com/raspberry-pi/accessories ModMyPi] (with lots of tips and tricks for reducing temperature in the reviews)
  
 
== 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],[https://www.modmypi.com/raspberry-pi-cases ModMyPi's Raspberry Pi Shop] and [http://store.mobileappsystems.com MobileApp Systems].
+
Since the Raspberry Pi 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 [https://www.raspberrypi.org/forums/viewforum.php?f=40 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]].''
  
 
== SD card reader ==
 
== SD card reader ==
You may need an SD card reader to prepare an SD card, or read a second one, both for the Pi or the other computer if it does not have an integral SD card reader.
+
You may need an SD card reader to prepare an SD card, or read a second one, both for the Raspberry Pi or the other computer if it does not have an integral SD card reader.
  
[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.
+
[http://www.modmypi.com/raspberry-pi/sd-cards-and-adaptors/plexus-single-slot-usb2.0-card-reader-sd-sdhc-mmc/?search=sd%20card%20reader ModMyPi's Raspberry Pi Shop] stocks a low cost (99p) SD Card Reader.
  
 
== Expansion & Low Level Peripherals ==
 
== 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.
+
If you plan on making use of the low level interfaces available on the Raspberry Pi, 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 [[RaspberryPiBoardProjects | RPi Projects, Guides & Tutorials]] section).
+
Also if you have a particular low-level project in mind, then ensure you design in suitable protection circuits to keep your Raspberry Pi safe (details will be made available within the [[RPi Projects | Raspberry Pi Projects, Guides & Tutorials]] section).
  
''For detailed information see [[Rpi Low-level peripherals | Rpi Low-level Peripherals]].''
+
''For detailed information see [[RPi Low-level peripherals | Raspberry Pi Low-level Peripherals]].''
 
+
= External Links =
+
 
+
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}}
 
[[Category:RaspberryPi]]
 
[[Category:RaspberryPi]]

Latest revision as of 16:24, 1 January 2016

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

You may have decided to buy a Raspberry Pi because you think it is great, it helps if you have an idea of what you want to do with it. You buy the board, but you will need some extra parts to be able to use it. Some of those parts you may have around so you can use them, some you might buy that others have given away or sold, and some you buy yourself. Consider what you buy; you might get very little benefit from an expensive item over a cheap one.

The Raspberry Pi can be used in the conventional computer configuration, with a keyboard, mouse and display, or in a "headless" configuration where it is available on a network and is controlled from another computer on that network. You can add a range of additional peripherals to the Raspberry Pi; the first section of this page covers setting up the Raspberry Pi with the minimum number of peripherals to make sure that you can get it working. Additional peripherals are covered in the second section.

Item Conventional Headless
Raspberry Pi board Yes Yes
Power Supply Yes Yes
SD Card + OS Yes Yes
USB keyboard Yes No
USB mouse If using a GUI desktop No
Display Yes No
Display cable Yes No
Network cable If network / Internet Not possible if Model A; Yes if not Wi-Fi
Wi-Fi USB adapter If network / Internet If model A, Yes; Yes if not cabled
Powered USB hub If High Power USB device No
Another PC / laptop, etc. No Yes


IMPORTANT For USB devices other than a mouse and a simple wired keyboard (for USB devices drawing more than 100 mA) a powered USB hub is strongly recommended. A technical discussion as to why can be found here. Specifically the Raspberry Pi'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 Raspberry 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 100 mA.

Other, optional equipment includes:

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 700 mA at 5 volts (Model B). Check your power supply's ratings carefully, and beware cheap knock-offs!.

Pi Specific power supplies

A few power supplies have been manufactured specially for the Raspberry Pi to account for voltage drop due to the high current draw of the Raspberry Pi when compared to typical (phone charging, etc.) duties.

  • A 5 V 2 A supply available in UK, EU and USA varieties from The Pi Hut
  • A 5 V 2 A supply designed specifically for use with the Raspberry Pi is also available from [1]


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

  • 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 Raspberry 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, So you should have a lot. Unless you use iPhones and only iPhones.

Power Switch

Additionally, the Raspberry Pi does not have the functionality of an on/off switch like traditionally seen on a PC. Pi Supply have an add on board for sale 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 Raspberry Pi. It also includes a safe shutdown switch to avoid corruption of your SD card. (Also, you can use the built in switch in your power outlet if you have it.)

For detailed information about power requirements see Raspberry Pi Hardware - Power.

Prepared Operating System SD Card

The Raspberry Pi has no internal storage or built-in boot code, so it requires an SD-Card that is set up to boot the Raspberry Pi. You should look at the RPi Easy SD Card Setup page for instructions about buying a preinstalled card or creating your own loaded SD Card. A USB Device can take over after the initial bootup. (BerryBoot)

Keyboard & Mouse

Most standard USB keyboards and mice will work with the Raspberry Pi. 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, the Model B only has two (typically a keyboard and mouse will use a USB port each), and the Model B+ and Raspberry Pi 2 have 4 - see USB Hub below.

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

Display

There are two connection options for the Raspberry Pi display, HDMI (high definition) and composite (low definition).

  • HD TVs and most LCD Monitors can be connected using a standard HDMI cable. (A cable with a "male"/"plug" connection on the Raspberry Pi end and whatever your display uses on the other end). HDMI versions 1.3 and 1.4 are supported, and a version 1.4 cable is recommended. The Raspberry Pi outputs audio and video via HDMI, but does not have an 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 to the yellow video input connector, or to the SCART input using a RCA to SCART plug (adapter). Note that on the model A+ and B+ Raspberry Pi's the composite video output has been combined with the audio connector so you will need a special cable to allow access to the video output. See http://www.raspberrypi-spy.co.uk/2014/07/raspberry-pi-model-b-3-5mm-audiovideo-jack/ for details of the exact cable required.

It is possible to use a monitor with a DVI input by using an HDMI to DVI adapter or adapter cable. The Raspberry Pi can also be connected to a display with a VGA input through the use of an HDMI to VGA converter. Note however that a simple HDMI to VGA cable will not work - it needs to be an "active" converter.

The Raspberry Pi will normally output sound on either the HDMI connection or the 3.5 mm analogue output. You can send the sound output from the analogue output of the Raspberry Pi to your TV using a cable that adapts from 3.5 mm TRS 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. On the model A+ and B+ Raspberry Pi's you will need a special TRRS cable to connect the audio if you also want access to the composite video output. A 3.5 mm TRS to dual (red and white) RCA cable will work for the audio if you don't need the composite video output. See http://www.raspberrypi-spy.co.uk/2014/07/raspberry-pi-model-b-3-5mm-audiovideo-jack/ for details of the exact cable required. Another option for analogue audio is to connect the 3.5 mm 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). Problems have been reported with converters if the power supply is not adequate and the converter is not powered from its own power supply.

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

For detailed information see RPi Screens.

Cables

You will probably need a number of cables in order to connect your Raspberry Pi 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 Raspberry Pi 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 vary 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 1 m cable can be purchased for anything between £1 and £24.99. If, however, you want to drive a display some distance from the Raspberry Pi (say greater than the ubiquitous 1.8 m/6 ft), 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 1 m HDMI cables purchased in a UK 'pound shop' worked fine when directly connected between the Raspberry Pi and a display, but would not give a stable picture when used via an HDMI switch. Replacing the £1 1 m cable with a 1.5 m 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 from Pi Supply and ModMyPi's Raspberry Pi Shop offers a range of High Quality coloured 'Noodle' cables.

Network / Internet Connectivity

This may be an Ethernet/LAN cable (standard RJ45 connector) or a USB Wi-Fi adaptor. The Raspberry Pi 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 Wi-Fi adaptors will vary - see Raspberry Pi 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. 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 Raspberry Pi, you may want to obtain a USB Hub, which will allow multiple devices to be used.

It is recommended that a powered hub is used - this will provide any additional power to the devices without affecting the Raspberry Pi itself. The USB ports are fused at about 140 mA each without an additional external power source. This is 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 Raspberry Pi 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.

Real Time Clock

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 Wi-Fi. For projects which have no Internet connection, you may want to add a low cost battery powered RTC to help your Raspberry 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, and others, are available from [2] and comes complete with an easy to follow Installation Guide.

Another PC

If you need to install the Operating System on your own SD Card you will need another PC, Laptop or Mac to do so (or get a friend or local group to do it for you). If you are running headless, you also need one, though for a lot of uses (but not all) you can use a tablet or smart phone. This does include another Raspberry Pi!

Connecting Together

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

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

  1. Plug the SD Card loaded with the Operating System into the Raspberry Pi.
  2. If required, plug the USB keyboard and mouse into the Raspberry Pi, perhaps via a USB Hub. Connect the Hub to power, if necessary.
  3. If required, plug the video cable into the display and into the Raspberry Pi.
  4. Plug in your Network cable, or Wi-Fi dongle, if required.
  5. Ensure that your USB Hub (if any) and display are working.
  6. With your screen on, plug the other end of the power source into the Raspberry Pi.
  7. Plug the power source into the main socket, and switch it on.
  8. If connected to a display, the Raspberry Pi should boot up and display messages on the screen.
  9. If running headless, it should boot up. When the leds have stopped flashing, connect to the Raspberry Pi from the remote computer. Whether this works will depend on the operating system you are using; the Raspian Linux operating system is configured to allow SSH connections by default.

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 "sudo halt -h", 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 Raspberry Pi may take a long time to boot when powered-on for the first time, so be patient, and cleanly shutdown afterwards, as described above!

Additional Peripherals

You may decide you want to use various other devices with your Raspberry Pi, such as flash drives/portable hard drives, speakers, etc.

For detailed information see Raspberry Pi Verified Peripherals.

Heatsink

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

Case

Since the Raspberry Pi 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.

SD card reader

You may need an SD card reader to prepare an SD card, or read a second one, both for the Raspberry Pi or the other computer if it does not have an integral SD card reader.

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 Raspberry Pi, 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 Raspberry Pi safe (details will be made available within the Raspberry Pi Projects, Guides & Tutorials section).

For detailed information see Raspberry Pi Low-level Peripherals.

References

  1. Wikipedia:Auto-MDIX