Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

How can I have multiple USB peripherals connected to my Raspberry Pi at once? For example, I want to have a keyboard and a mouse plugged in at the same time.

share|improve this question
add comment

3 Answers

up vote 7 down vote accepted

The Model B has two USB ports, so if that's what you're acquiring you won't have an issue (at the time of writing, 15/06/12, the B is the only model currently available.

If you're using a Model A, or you want additional devices as well as a keyboard and mouse, you'll need an external hub (that is, a USB hub with its own power supply.)

It connects to the Pi via one USB port and provides several others which all share the available bandwidth:

enter image description here

If you choose to use a hub make sure it's powered by an external power supply, (not bus-powered.) This will ensure all the devices connected receive the power that they need.

Searching for "powered USB hub" on most sites that sell electronic goods will bring up what you need. This was the first result with such a query on amazon (bear in mind that's the UK based site and comes with a UK power adapter.)

share|improve this answer
    
That looks nice. Where can I get one? –  Jivings Jun 15 '12 at 12:39
    
@Jivings Updated! –  berry120 Jun 15 '12 at 12:43
    
I meant the one in the picture... –  Jivings Jun 15 '12 at 12:46
    
@Jivings Ah sorry - I grabbed the image from the first Google shopping result that turned up here: google.co.uk/products/… though it shows no actual retailers at present... –  berry120 Jun 15 '12 at 12:48
add comment

You can use a USB hub for that. From Wikipedia,

USB hub is a device that expands a single USB port into several so that there are more ports available to connect devices to a host system.

Make sure that the Raspberry Pi has enough power to power itself and the USB hub, or else the Raspberry Pi may become unstable or fail to boot. This can be ensured by using a reputable powered USB hub.

share|improve this answer
4  
To avoid power issues you may want to spend a few extra dollars and get a powered hub. –  Steve Robillard Jun 15 '12 at 4:46
add comment

The Model B actually has two USB ports, so keyboard and mouse will be fine.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.