loading
Picture of The Raspberry Pi - Lapdock Connection
RaspberryPi.jpg
lapdock.open.jpg
lapdock-ports.closeup.01.jpg
it-can-be-done.jpg
Now that you have your nifty new Raspberry Pi, you'll need a display for
it. Teensy analog monitors are pretty cheap, but what you really want is a
decent HDMI display. Unfortunately, they're expensive, running from
$150 on up into the thousands for the huge ones. But, for about $75
(or even as low as $40, used, on eBay) you can get a discontinued
model of the notorious Motorola Atrix Lapdock, the one that sold for
$500 a couple of years back, and it was a bargain at that price. The
lapdock incorporates a razor-sharp 11" HDMI display, an almost-adequate
keyboard-with-trackpad, twin speakers, and a high-capacity battery --
all in a thin two-pound package.



The Atrix Lapdock was manufactured to mechanically connect with the
now-discontinued Motorola Atrix smartphone, in effect turning it into a
laptop computer. The lapdock has two plugs on a foldout hinge -- a male
micro-HDMI plug and a male micro-USB-A plug. These neatly mate with
an Atrix phone, slipping right into appropriately positioned jacks on the side of the phone.
Fortunately for us, the lapdock's USB and HDMI ports are electrically
standard, even if the physical connectors aren't. If we could just find the
correct cables and adapters, we might be able to hook up our Raspberry Pi.
Maybe. Hopefully. . . .

Yes, it can indeed be done!

See
http://rasathus.blogspot.com/2012/10/a-raspberry-pi-laptop-easy-way.html
for example.

In this Instructable I will break down the process in detail, with
appropriate explanation and close-up pictures.

 
Remove these adsRemove these ads by Signing Up

Step 1: Parts Required

We need cables and/or adapters to hook up from:
  • The Raspberry Pi's standard HDMI jack
  • to the lapdock's micro-male HDMI plug.
  •  
  • One of the Raspberry Pi's standard USB jacks
  • to the lapdock's micro-male USB plug.



HDMI

 HDMI Micro Female/Female Adapter
(Such as this, for example.)


HDMI cable, micro-male to (full-size) male
(for example,
6ft Micro HDMI to HDMI Male M/M Cable for Droid Razr Atrix 2)

or, substitute for the above adapter and cable,
an HDMI micro-female to (full-size) male dongle.



USB

USB micro-female to (full-size) female cable
(Such as this one, for example.)

USB A-male to A-male adapter (each end full-size)
(Such as this one, for example.)

Total cost for adapters and cables:
somewhere in the range of $10 - $20,
and closer to $10 if you're a shrewd and lucky shopper.

Getting your hands on the cables and/or adapters is the hard part.
After that, it's just a matter of actually making the connections.

Step 2: Hooking Up

Open up the the narrow panel on the back of the lapdock and take a good
look at the two jacks protruding from it.

The micro-HDMI adapter (or the dongle, if you're using that instead) slips
over the end of the micro-HDMI jack on the lapdock. The micro-female end
of the USB cable slips over the end of the micro-USB jack on the lapdock.
Note that it may be necessary to shave a bit off the micro-female end
of the USB cable if it doesn't go down far enough over the male jack on
the lapdock (refer to pictures).




Now, we'll hook up to the Raspberry Pi.

The USB cable connects to one of the USB jacks on the Raspberry Pi.
Since the cable terminates in a female jack, we'll need either an A-male
to A-male USB adapter or an A-male to A-male USB cable. The A-male
end plugs into one of the Pi's full-size USB jacks.

Our HDMI cable has a micro-male plug on one end, and this goes into the
micro-female HDMI adapter on the lapdock. The full-size male end of the
cable plugs into the HDMI jack on the Raspberry Pi.


Finally, there's the issue of powering the Raspberry Pi.
The latest revision of the Model B, rev. 2.0, omits the fuses on the
USB bus, so the Pi can be powered from one or the other of the USB ports.
This mean that the Pi can get its power from the lapdock, through the
same USB cable previously discussed. Owners of earlier model Pis have a
couple of options for power. The simplest is to just plug a power cable
into the micro-USB power port on the Pi, as usual.

Step 3: An alternative HDMI adapter

Rather than a set of micro HDMI adapter cables, as shown in the previous step,
you can substitute a micro-female to male HDMI dongle. This has the advantage
of holding in place the Pi at the back of the lapdock.

You will need to whittle down the dongle on its side and back,
so it will fit all the way down onto the lapdock HDMI male plug,
and to allow room for the USB cable to fit alongside. See pics.

Caution: Take care when plugging or unplugging the dongle.
There's quite a bit of leverage there, and a wrong move could
conceivably break off the lapdock's micro-HDMI connector.

Update: Yet another alternative is the newly available HDMI micro-female-to-standard-male cable

(see last pic). These critters are rather pricey, about $7 each, including shipping.

Step 4: Another Way to Hook UP

Picture of Another Way to Hook UP
alt.connectors.jpg
alt.setup.01.jpg
alt.0.jpg
Would it work if we connect the Pi only to the HDMI connector on the Lapdock?
This would use the Lapdock only as a display, with the keyboard and trackpad
disabled. Yes, it works!

Advantages:
  1. More flexibility in the setup.
  2. You can use a better keyboard and an optical mouse that is more responsive than the trackpad on the Lapdock.
  3. Since the Pi is not powered from the Lapdock, there is no issue with power off when the Lapdock lid is closed.

Disadvantages:
  1. There's a mess of cables spread out all over the place, and the setup is much less portable.
  2. You need to add a powered USB hub.
  3. You need to connect a power supply to the Pi power jack.
  4. The two USB jacks on the Lapdock are no longer available.
  5. Not all keyboards work with this setup.


Step 5: Powering Up

Power up the lapdock by plugging in its supplied AC adapter. If the
battery has been charged, then this is optional.

Open the lid of the lapdock. The display will be dark, since there is
no signal coming in yet. Now, hook up the USB cable, with appropriate
adapter if necessary, as previously discussed. The Pi will not yet power
up from the lapdock because . . . the lapdock needs to sense a signal
source attached to its HDMI jack in order to supply power through its
USB bus
. So, we will at this point attach the micro-female-to-micro-female
HDMI adapter (with micro-male end of the HDMI cable inserted) to the
lapdock's micro-male HDMI jack. At this point, you may get a no-signal
message on the lapdock screen. Now . . .

Let's carefully plug the full-sized male end of the HDMI cable into the Pi's HDMI jack.
What's happening? The power and activity LEDs on the Pi board have lit up.
And, look! We're getting the bootup messages scrolling on the screen.
We're up and running.

Note that on your first boot you may have to type startx on the console
command line. After that, you'll be able to set an automatic boot
to X Windows.


Step 6: The Wi-Fi Connection

Picture of The Wi-Fi Connection
tenda.pico.jpg
wifi-adapter.jpg
We can always use an ethernet cable to connect the Pi to a router to get
on-line, but wireless is so much more convenient. Many of the mini wifi
dongles work out of the box, though you may need to get drivers or do some
configuration.


The Tenda W311MI Pico Adapter and the Edimax EW-7811 work with the Pi.
They cost about $10 apiece. (There's a fairly complete list of working hardware for the
Pi on the eLinux page.)

You can plug the wifi dongle into a USB jack on the back of the lapdock,
near where the power cable plugs in. The first time you boot up with the
dongle in place the Pi may not recognize it or you may have to configure
it by clicking on the Wifi icon. After that, you'll get on-line automatically,
if you've done everything correctly (and the moon phase is right ...).

Step 7: Tips and Troubleshooting

Picture of Tips and Troubleshooting
hdmi-micro-female.cable.jpg
What if you don't get a display on the lapdock or if the display is
intermittent or flaky?

The HDMI cable may be bad. This is especially true of cheap cables,
where the metal shell is improperly grounded. Try a different HDMI cable.


Closing the lid on the lapdock causes the Pi to turn off and/or reboot.

This is normal behavior for the lapdock. It was designed as a power-saving
feature. Hooking up an external power supply to the micro-USB power
connector on the Pi fixes this.


Using the lapdock's trackpad and mouse buttons is so darned frustrating.
If the cursor freezes, then this means the trackpad has turned off.
Turn it back on by tapping in the upper left-hand corner of the trackpad,
so the light comes back on. Or, you can always get a cheap optical USB
mouse and hook it up to a USB slot on the Pi.


Highly recommended is hooking up a powered USB hub to one of the Pi's
on-board USB slots.

The standard Linux distro for the Pi is Raspbian, but try some of the other ones
as well.



The Motorola Droid Bionic lapdock works just about as well as the original Atrix lapdock.
The HDMI and USB plugs in the back of the Droid lapdock are rotated 180 degrees from the
ones on Atrix lapdock, but that makes no difference when hooking up a Raspberry Pi.
On balance, though, it's quite usable, especially considering that this baby is available (used)
on eBay for $35 - $40, with shipping included. See
http://www.ebay.com/itm/Motorola-Droid-Bionic-Lapdock-11-6-Screen-w-QWERTY-Keyboard-/221249196919,
for example. Note that because the HDMI plug on this model is at a different angle from the Atrix
lapdock, an micro-HDMI cable with protruding metal jack gives the best connection (see picture).






Finally, here are some links to other people's experiences with hooking
up an Atrix lapdock to the Raspberry Pi.


http://rpidock.blogspot.com/
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=6747
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=8670
http://rasathus.blogspot.com/2012/10/a-raspberry-pi-laptop-easy-way.html
http://ethandicks.wordpress.com/2013/03/21/phone-dock-to-raspberry-pi-laptop/
http://elinux.org/RPi_Screens#Motorola_Atrix_Lapdock
http://www.element14.com/community/groups/raspberry-pi/blog/2012/09/11/raspberry-pi-lapdock-tricks
http://www.element14.com/community/groups/raspberry-pi/blog/2012/09/27/raspberry-pi-lapdock-hdmi-cable-work-around
http://bloggersheriff.blogspot.com/2013/02/raspberry-pi-and-atrix-dock-experiance.html
http://www.adafruit.com/blog/2012/09/10/cables-adapters-for-the-atrix-raspberry-pi-laptop/

Parker Reed's video on youtube:
http://www.youtube.com/watch?v=N0hc_z1L03Q

IcyMan551 year ago
I have a tip. When you post a URL, it's either "http://" or "www.". It's never both.

Never both... really? Where did you learn that?

RohanP1 made it!3 months ago
It was very simple!
temp_-2055149830.jpgtemp_824364136.jpgtemp_1136122675.jpg
mohammed.wilders.5 made it!5 months ago

I have just made one. I am using the Raspberry pi 2. I could still use the raspberry pi 2 with the usb cable of the lapdock, without performance issues yet. But that could be because I didn't do any intensive tasks (yet).

lapdock raspberry.jpg

I'd like to upgrade to the Pi 2 aswell, but the power consumption is a concern for me aswell.

Have you found any problem since your oiginal post?

I have installed retropie on it which is using a lot of CPU/GPU power and also overclocked it to its maximum, but didn't find any problems yet.

thegrendel (author)  discountrobot.4 months ago
Recently bought a Pi 2, but haven't had a chance to use it yet.

Getting mine in the mail tomorrow. Gonna report here if there are significant power issues.

MoTinkerGNome made it!7 months ago

I did it. One thing to note with the B+ is that you kind of have to jump start it using a 5v signal. on the power jack before it can backfeed the Pi. Once the pi is running you can remove power as long as the main USB connection is made.

I am not all that concerned with the remote possibility of the Pi getting damaged via 5v through the USB bus. If i let the smoke out then woops I wont do that again...

pitop.jpg
thegrendel (author)  MoTinkerGNome7 months ago
Thanks for the info on the B+. Watch that smoke business, though.
prtsn8 months ago

Hi

I have problem with the lapdock, I am using alternative hdmi adapter and micro usb female to usb male adapter to power up. When i power up using rasp pi or rikomagic or normal pc (using extra usb otg ) i get blank screen with little white background for 10 secs and powers off. But still the keyboard will be working for some time. I have tried many ways of connecting with multiple adapters but still i am facing this issue, could you please help me on this? Also the lapdock 100 connectors I am using is wire based and not rotation based ones.

thegrendel (author)  prtsn8 months ago
Some HDMI adapters are incompatible and will not work with the lapdock. I've run into this myself.
prtsn thegrendel7 months ago

Thank you very much for your reply!!

You think the problem might be only because of HDMI adapters and not with the Lapdock itself? If so is there any way to test if Lapdock is working fine without the use of HDMI adapters?

davidbarcomb8 months ago

Very nice. Thank you for the instructable

thegrendel (author)  davidbarcomb8 months ago
You are very welcome. I hope it was helpful/inspiring to you.
cm15569 months ago

Hi! Hope you won't mind helping a non-techie. I have the Lapdock 100 and a Razr Maxx. The phone is dying so I'm wondering how I can use the lapdock with other phones, because the conversion to work with RPi is a little beyond me. First, what do each of the HDMI and USB do in transferring the phone functions to the lapdock? And how could I connect another phone to the lapdock to get the same functionality? cm1556@gmail.com

thegrendel (author)  cm15569 months ago
I have no experience with cell phone hardware, so regrettably I can't be of any help to you on this.
Crafterkid12310 months ago

how would i be able to hide the raspberry pi inside the laptop? also, does it power itself AND the pi? just wondering.

thegrendel (author)  Crafterkid12310 months ago
1) Can't hide it inside the Lapdock, as far as I can figure. Not enough room.

2) The Pi needs 500+ ma, and therefore its own power supply,
otherwise it will not operate reliably.
tony.steinbock11 months ago

Thank you for this article. I like this project! http://www.einplatinencomputer.com/der-raspberry-pi-laptop/

thegrendel (author) 1 year ago
Sorry, but I'm not in a position to do this.
And, I'm not in Toronto.
dnicol11 year ago
Hey i am also in Toronto. Very cool projects you have. Would you be i nterested In a paid project? Need something done right away.
I just tried to build this combination of RasPi and Lapdock. Well, the RasPi boots, so it is getting enough power through usb. I do also see everything on the display.

But the keyboard and also the touchpad do not work. What may be the problem?
thegrendel (author)  yvandercoilden1 year ago

Check the USB adapter/cable.

will any of the other motorola lapdocks for other phones work with a raspberry pi? I'm looking at Droid Bionic and Droid RAZR Lapdocks on ebay, they appear to be much cheaper than the available atrix lapdocks.
Just got mine working ^_^
thegrendel (author)  Shantorian3d1 year ago
I'm glad I could be of help.
Good luck!
nerd74731 year ago
does anyone know the answer to this?


http://www.raspberrypi.org/phpBB3/viewtopic.php?t=58268&p=437818
nerd74732 years ago
very cool you should make it to where the pi is protected so you can carry it around
sonicdude102 years ago
I'll be doing something like this but with one of those Android smart TV sticks instead. I've learned that some of the common sticks like the Rikomagic models will fit in place of the phone dock connector once the plastic is removed from inside the flap. this allows for better stability and the flap can stay closed for a more streamlined look. I may run Linux once I get it going.

I may make an Instructable for doing this. After all, those sticks are now quite powerful and still affordable. For $90 I can get a brand new model that has Wifi, Bluetooth, micro SD slot, 1.8GHz 4 core Cortex A9 CPU, 4 core Mali GPU at 533MHz, 2GB DDR3 RAM, Android 4.2.2, and other stuff. Should be quite speedy.

Some holes drilled in the docking flap where the PC guts lie to aid in cooling and I have a cheap Android laptop for my stuff.
thegrendel (author)  sonicdude102 years ago
Excellent. If I can inspire people such as yourself to do similar,
or better things than I did, then I consider my Instructable to
be a success. And, I strongly encourage you to document your project with an Instructable.
mringman2 years ago
Wasn't that. Finally just plugged a mini USB cable into a USB wall outlet and that made it work
mringman2 years ago
I am having trouble with getting the keyboard and trackpad to work. Suggestions for things to try?
thegrendel (author)  mringman2 years ago
Try a different USB adapter/cable.

See if the little light in the upper left hand corner of the trackpad
is on. If not, try tapping it to switch on trackpad and keyboard.
old_alex2 years ago
I have done this, as many have and it is very particular about the HDMI cable, you may want to boost the HDMI current in the config file if you have an issue with no video.

If you have a keyboard race condition it is most likely a power issue. Given the will use about 700 to 1000ma, your cable should be short with a high current. You can by a Y cable (blackberrry) to put power into two ports (more current mico usb and standard).


The HDMI to micro HDMI anc be finicky seat it properly. Power to the USB only happens if a "good" connection is detected. One hacker opened up the box and exposed the HDMI connector soldering his own cable.

The origional (not me) post was on Raspberry Pi Forum:

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=6747



thegrendel (author)  old_alex2 years ago
"The HDMI to micro HDMI anc be finicky seat it properly. Power to the USB only happens if a "good" connection is detected. One hacker opened up the box and exposed the HDMI connector soldering his own cable. "

A valid point. The HDMI connection is absolutely critical.
kokid992 years ago
This isnt really an original design, Adafruit had done this design first........ Originality please?
thegrendel (author)  kokid992 years ago
I'm not claiming originality, whatever that means.
And in the last step of this Instructable I have a partial list of URLs
of others who have done this project before me. I will note, though,
that I haven't been able to find another Instructable dealing with
this particular project.

And Adafruit was not the first to do it, either.
The Adafruit method of hooking up involves soldering,
and in any case, the methodology is confined to a youtube video.
I've done it in more detail, and with close-up pics.

Kid, there's nothing at all wrong with multiple persons submitting
the same or a similar project. It give you alternate ways of doing it
and alternate points of view on technique.