Difference between revisions of "RPi Screens"

From eLinux.org
Jump to: navigation, search
(interfacing to Raw LCD panels)
m (Motorola Atrix Lapdock)
(30 intermediate revisions by 11 users not shown)
Line 15: Line 15:
 
* RAW LCD panels (DSI + interfacing hardware)
 
* RAW LCD panels (DSI + interfacing hardware)
 
* Composite and HDMI outputs can not be used at the same time (one or the other.)
 
* Composite and HDMI outputs can not be used at the same time (one or the other.)
 +
 +
 +
For more info about DVI, VGA, and SCART screens see [http://elinux.org/RPi_Verified_Peripherals#Display_adapters The RPi Verified Peripherals Page]
  
 
==HDMI==
 
==HDMI==
Directly from the board.
+
You can connect the RasPi HDMI connector directly to an HDMI monitor using a standard HDMI cable.
 +
 
 +
=== Motorola Atrix Lapdock ===
 +
 
 +
A number of people have used a [http://en.wikipedia.org/wiki/Motorola_Atrix_4G Motorola Atrix] Lapdock to add a screen and keyboard with trackpad to RasPi, in essence building a RasPi-based laptop computer.  Lapdock is a very clever idea: you plug your Atrix smart phone into Lapdock and it gives you an 11.6" 1366 x 768 HDMI monitor with speakers, a keyboard with trackpad, two USB ports, and a large enough battery for roughly 5 hours of use.  The smart phone acts as a motherboard with "good enough" performance.  The advantage over a separate laptop or desktop computer is that you have one computing device so you don't need to transfer files between your phone and your desk/laptop.
 +
 
 +
Unfortunately for Motorola, Lapdock was not successful (probably because of its US$500 list price) and Motorola discontinued it and sold remaining stock at deep discounts, with many units selling for US$50-100.  This makes it a very attractive way to add a modest size HDMI screen to RasPi, with a keyboard/trackpad and rechargeable battery power thrown in for free.
 +
 
 +
Lapdock has two connectors that plug into an Atrix phone: a Micro HDMI D plug  for carrying video and sound, and a Micro USB plug for charging the phone and connecting to the Lapdock's internal USB hub, which talks to the Lapdock keyboard, trackpad, and two USB ports.  With suitable cables and adapters, these two plugs can be connected to RasPi's full-size HDMI connector and one of RasPi's full-size USB A ports.
 +
 
 +
The RasPi forum has a long thread on Lapdock with many useful suggestions, photos, and links: [http://www.raspberrypi.org/phpBB3/viewtopic.php?t=6747 I made a Raspberry PI Laptop].  There's also a good 'blog entry at element14 with photos and suggestions of where to get cables and adapters: [http://www.element14.com/community/groups/raspberry-pi/blog/2012/09/08/raspberry-pi-laptop Raspberry Pi Laptop].  TechRepublic has a tear-down article with photos of Lapdock internal components here: [http://www.techrepublic.com/photos/cracking-open-the-motorola-droid-bionic-lapdock/6311468?tag=siu-container;b60b Cracking Open the Motorola Droid Bionic Lapdock].  Paul Mano has a wealth of photos of Lapdock innards at [http://lapdockmod.blogspot.com/ Motorola Atrix Lapdock mod projects].
 +
 
 +
The hardest part about connecting Lapdock is getting the cables and adapters.  Most HDMI and USB cables are designed to plug into jacks, whereas the Lapdock has plugs so the cables/adapters must have Micro HDMI and Micro USB female connections.  These are unusual cables and adapters, so check the links.
 +
 
 +
Lapdock uses the HDMI plug to tell if a phone is plugged in by seeing if the HDMI DDC/CEC ground pin is pulled low.  If it's not, Lapdock is powered off.  As soon as you plug in a phone or RasPi, all the grounds short together and Lapdock powers itself on.  However, it only does this if the HDMI cable actually connects the DDC/CEC ground line.  Many cheap HDMI cables do not include the individual ground lines, and rely on a foil shield connected to the outer shells on both ends.  Such a cable will not work with an unmodified Lapdock.  There is a detailed 'blog entry on the subject at element14: [http://www.element14.com/community/groups/raspberry-pi/blog/2012/09/27/raspberry-pi-lapdock-hdmi-cable-work-around Raspberry Pi Lapdock HDMI cable work-around].  The 'blog describes a side-benefit of this feature: you can add a small power switch to Lapdock so you can leave RasPi attached all the time without draining the battery.
 +
 
 +
The Lapdock Micro USB plug is the upstream port of Lapdock's internal USB hub, and connects to one of RasPi's full-size USB ports.  Lapdock is not USB compliant since it provides upstream power on its Vbus pin.  Lapdock uses this to charge the Atrix phone.  You can use this feature to power RasPi if you have a newer RasPi.  The original RasPi rev 1 has 140 mA polyfuses F1 and F2 to protect the USB ports, which are too small for powering RasPi using upstream power.  Newer RasPis replace F1 and F2 with zero Ohm jumpers or eliminate them entirely, which allows Lapdock to provide power.  If you don't mind modifying your original RasPi, you can add shorting jumpers over F1 and F2 or replace them with higher-current fuses.
 +
 
 +
What gets powered on depends on whether Lapdock is open or closed.  If it's open, the screen and all Lapdock USB ports are powered.  If you close Lapdock, the screen and full-size USB ports are powered down, but the Micro USB still provides upstream power.  This is for charging an Atrix phone.  When you open or close Lapdock, the Micro USB power switches off for about a second so if your RasPi is connected it will reboot and you may have a corrupted file system.  There's discussion about this at the RasPi forum link, and someone has used a supercapacitor to work around the problem: [http://www.element14.com/community/groups/raspberry-pi/blog/2012/09/11/raspberry-pi-lapdock-tricks Raspberry Pi lapdock tricks].
 +
 
 
==DVI==
 
==DVI==
With an inexpensive passive HDMI to DVI-D cable or convertor.
+
With an inexpensive passive HDMI to DVI-D cable or converter.
  
 
==Composite video==
 
==Composite video==
 
Composite video (NTSC and PAL) via an RCA plug, directly from the board.
 
Composite video (NTSC and PAL) via an RCA plug, directly from the board.
==VGA/RGB analog==
+
You can change between PAL and NTSC output by editing config.txt in the boot SD card.
 +
Uncommenting: sdtv_mode=2 sets output to PAL (see [[RPi_config.txt]]).
 +
 
 +
==RGB analog/VGA==
 +
 
 +
The Broadcom BCM2835 only provides HDMI output and composite output. RGB and other signals needed by RGB, S-VIDEO or VGA connectors are however not provided, and the R-PI also isn't designed to power an unpowered converter box.
  
The Broadcom BCM2835 only provides HDMI output and composite output. RGB and other signals needed by RGB, S-VIDEO or VGA connectors are however not provided.
+
'''A couple of options for VGA or component RGB outputs, bridging from either HDMI or, (much less obvious) the MIPI DSI interface:'''
  
A couple of options for VGA or component RGB outputs, bridging from either HDMI or the MIPI DSI interface:
+
Note that any conversion hardware that converts HDMI/DVI-D signals to VGA (or DVI-A) signals may come with either an external PSU, or expects power can be drawn from the HDMI port. In the latter case the device may initially appear to work, but there will be a problem, as the HDMI specs only provide in a maximum of 50mA (@ 5 Volt) from the HDMI port, but all of these adapters try to draw much more, up-to 500mA, in case of the R-PI there is a limit of 200mA that can be drawn safely, as 200mA is the limit for the BAT54 diode (D1) on the board. Any HDMI to VGA adapter without external PSU might work for a time, but then burn out D1, therefore '''Do not use HDMI converters powered by the HDMI port!'''
 +
The solution is to either only use externally powered converters, or to replace D1 with a sturdier version, such as the PMEG2010AET, and to replace the power input fuse F3 with a higher rated one, as the current one is only 700mA, and the adapter may use 400mA itself. Also notice that the R-PI's power supply also must be able to deliver the extra current.
  
 
Firstly, the following *might* work. Beagleboard people have reported various levels of success (mainly "issues"):
 
Firstly, the following *might* work. Beagleboard people have reported various levels of success (mainly "issues"):
Line 46: Line 74:
  
 
Some more converters that '''should''' work:
 
Some more converters that '''should''' work:
 +
* [http://www.ebay.co.uk/itm/1080P-PC-HDMI-to-VGA-3-5mm-Audio-HD-Video-Converter-HDTV-SKY-DVD-PS3-Apple-TV-/320929883993 £22.99 HDMI to VGA + stereo audio converter]
 
* [http://www.ebay.de/itm/New-HDMI-Male-to-VGA-RGB-Female-HDMI-to-VGA-Video-Converter-adapter-1080P-for-PC-/140625458879?pt=LH_DefaultDomain_0&hash=item20bdee36bf $24.00 "Video Converter adapter" from china]
 
* [http://www.ebay.de/itm/New-HDMI-Male-to-VGA-RGB-Female-HDMI-to-VGA-Video-Converter-adapter-1080P-for-PC-/140625458879?pt=LH_DefaultDomain_0&hash=item20bdee36bf $24.00 "Video Converter adapter" from china]
 
* [http://www.google.com/products/catalog?q=hdmi+to+vga+converter&hl=en&show=dd&cid=4579096882877853234&ei=V8cGT5XtHoim-gbO5YSYAQ&ved=0CCUQ8wIwBDgK#scoring=p $24.00 ASUS - Video adapter] requires additional miniHDMI to standard HDMI adapter
 
* [http://www.google.com/products/catalog?q=hdmi+to+vga+converter&hl=en&show=dd&cid=4579096882877853234&ei=V8cGT5XtHoim-gbO5YSYAQ&ved=0CCUQ8wIwBDgK#scoring=p $24.00 ASUS - Video adapter] requires additional miniHDMI to standard HDMI adapter
* [http://www.dealextreme.com/p/hdmi-to-vga-video-converter-71816 $32.50 HDMI to VGA Video Converter]
+
* [http://www.dealextreme.com/p/hdmi-to-vga-video-converter-71816 $32.50 HDMI to VGA Video Converter] - Confirmed, works 100% inc HDMI audio.
 
* [http://www.amazon.com/SPDIF-Component-Ypbpr-Converter-v1-3b/dp/B002SFT3ZI/ref=cm_cr_pr_product_top $39.99 HDCP HDMI to VGA + SPDIF RGB Component Ypbpr Converter]
 
* [http://www.amazon.com/SPDIF-Component-Ypbpr-Converter-v1-3b/dp/B002SFT3ZI/ref=cm_cr_pr_product_top $39.99 HDCP HDMI to VGA + SPDIF RGB Component Ypbpr Converter]
 
* [http://www.google.com/products/catalog?q=HP+HDMI+to+VGA&oe=utf-8&rls=org.mozilla:en-GB:official&client=firefox-a&um=1&ie=UTF-8&tbm=shop&cid=4243749406268537354&sa=X&ei=mH0JT5jWHIuO4gS0h6ndCw&ved=0CDkQ8wIwAA $48.00 HP HDMI to VGA Display Adapter]
 
* [http://www.google.com/products/catalog?q=HP+HDMI+to+VGA&oe=utf-8&rls=org.mozilla:en-GB:official&client=firefox-a&um=1&ie=UTF-8&tbm=shop&cid=4243749406268537354&sa=X&ei=mH0JT5jWHIuO4gS0h6ndCw&ved=0CDkQ8wIwAA $48.00 HP HDMI to VGA Display Adapter]
  
Potential RGB interfacing chips:
+
More HDMI -> VGA converters are listed at the [http://elinux.org/RPi_Verified_Peripherals#HDMI-.3EVGA_converter_boxes RasPi Verified Peripherals page], along with some caveats.
 +
 
 +
Potential interfacing chips:
 +
* [http://www.datasheets.org.uk/dl/Datasheets-36/DSA-705489.pdf TFP9431 DVI RECEIVER WITH TRIPLE DAC (hard to find, obsolete?)]
 +
 
 +
The SOC (system on a chip) does not support any kind of analog component video, including VGA, since the SOC is designed for mobile phone use where this would not be a requirement. Additional components would be needed to generate RGB signals. Additional components would push the price beyond the $25 target and therefore won't happen.
 +
 
 +
==RGB digital==
 +
 
 +
A HDMI/DIV to parallel 3.3v interface PCB, also meant for the Beagleboard:
 +
 
 +
[http://www.harbaum.org/till/dvi2par/index.shtml http://www.harbaum.org/till/dvi2par/index.shtml]
 +
 
 +
Potential interfacing chips:
  
 
They emit Hsync, Vsync and RGB w/ about 8 bits each (sometimes, it's called "MIPI DPI")
 
They emit Hsync, Vsync and RGB w/ about 8 bits each (sometimes, it's called "MIPI DPI")
Line 60: Line 102:
 
* [http://www.renesas.com/products/soc/assp/mobile/ibic/pd60801/index.jsp Renesas µPD60801 Intelligent Buffer IC]
 
* [http://www.renesas.com/products/soc/assp/mobile/ibic/pd60801/index.jsp Renesas µPD60801 Intelligent Buffer IC]
  
This one outputs analog RGB, but is hard to find (obsolete?):
+
==Interfacing to non-monitor LCD panels==
* [http://www.datasheets.org.uk/dl/Datasheets-36/DSA-705489.pdf TFP9431 DVI RECEIVER WITH TRIPLE DAC]
 
  
The SOC (system on a chip) does not support any kind of analog component video, including VGA, since the SOC is designed for mobile phone use where this would not be a requirement. Additional componenty would be needed to generate RGB signals. Additional componentry would push the price beyond the $25 target and therefore won't happen.
+
Embedded systems often have displays that aren't connected like televisions and computer monitors. RPI may be able to interface to some of these.
 +
 
 +
=== DSI port ===
 +
 
 +
DSI connector is on board on the RPI. Some graphical LCD/OLED displays might be attached to it.
 +
 
 +
An additional [http://www.raspberrypi.org/forum/features-and-requests/s2-and-s5-fit-or-no-fit#p39441 binary blob might be required for the DSI port] to function correctly (or function at all). When or if such a blob will be made available is unknown.
  
==interfacing to Raw LCD panels==
 
 
Nokia N900 has 800x480 DCS LCD [http://e-ditionsbyfry.com/Olive/ODE/ECN/default.aspx?href=ECN%2F2009%2F08%2F02&pageno=5&entity=Pc00502&view=entity (afaik its like DSI, but has build in framebuffer)].
 
Nokia N900 has 800x480 DCS LCD [http://e-ditionsbyfry.com/Olive/ODE/ECN/default.aspx?href=ECN%2F2009%2F08%2F02&pageno=5&entity=Pc00502&view=entity (afaik its like DSI, but has build in framebuffer)].
 
Replacement screen is about ~$40 (~$50 with 4pin resistive touchscreen).
 
Replacement screen is about ~$40 (~$50 with 4pin resistive touchscreen).
Line 72: Line 118:
 
Replacement screen is about ~$35, another ~$25 for Multitouch Synaptics T1021A touchscreen (I2C + interrupt IO, no docs/drivers).
 
Replacement screen is about ~$35, another ~$25 for Multitouch Synaptics T1021A touchscreen (I2C + interrupt IO, no docs/drivers).
  
The schematics for apples iPhone [http://www.mikrocontroller.net/attachment/127135/iPhone_3Gs_schematics.pdf 3gs] and [http://jumbofiles.com/57ycs8zez45j/iPhone_4G_schematic.pdf.html 4g] suggest they speak DSI, thus they can probably be connected directly. The older iPhones use a "Mobile Pixel Link" connection from National Semiconductor. The 3GS panel (480×320) goes as low as [http://www.aliexpress.com/product-fm/377987722-Replacement-LCD-Glass-Screen-Display-for-iPhone-3GS-wholesalers.html US $14.88], while the 4G one (960×640) can be had for [http://www.aliexpress.com/product-fm/453840894-Replacement-LCD-Glass-Screen-Display-for-iPhone-4G-wholesalers.html US $17.99]. The connectors used might be an issue, but [http://www.airaccent.com/lcd-screen-fpc-connector-replacement-for-iphone-4g-p-39877.html this connector] might fit.
+
The schematics for apples iPhone [http://www.mikrocontroller.net/attachment/127135/iPhone_3Gs_schematics.pdf 3gs] and [http://jumbofiles.com/57ycs8zez45j/iPhone_4G_schematic.pdf.html 4g] suggest they speak DSI, thus they can probably be connected directly. The older iPhones use a "Mobile Pixel Link" connection from National Semiconductor. The 3GS panel (480×320) goes as low as [http://www.aliexpress.com/product-fm/377987722-Replacement-LCD-Glass-Screen-Display-for-iPhone-3GS-wholesalers.html US $14.88], while the 4G one (960×640, possibly the [http://www.displayalliance.com/research/lh350ws1-sd01.html LG LH350WS1-SD01], with [http://www.panelook.com/modeldetail_parameter.php?id=12086 specifications]) can be had for [http://www.aliexpress.com/product-fm/453840894-Replacement-LCD-Glass-Screen-Display-for-iPhone-4G-wholesalers.html US $17.99] or as low as [http://www.ebay.com/itm/Repair-LCD-Glass-Screen-Display-Iphone-4G-4th-4-GEN-/110821471601 US $14.28]. The connectors used might be an issue, but [http://www.airaccent.com/lcd-screen-fpc-connector-replacement-for-iphone-4g-p-39877.html this connector] might fit. Additional circuitry might be necessary to provide the display with required 1.8V and 5.7V for operation, and an even higher voltage for the backlight.
  
 
Other panels with MIPI DSI: [http://www.panelook.com/modelsearch.php?pagesize=50&order=panel_id&panel_type=&product_composition=&brand_family=&panel_size_inch=&resolution_pixels=&brightness=-1&gray_depth=&viewing_angle_function=&lamp_type=&signal_type_category=MIPI&rohs_compliance=&button=Search www.panelook.com]
 
Other panels with MIPI DSI: [http://www.panelook.com/modelsearch.php?pagesize=50&order=panel_id&panel_type=&product_composition=&brand_family=&panel_size_inch=&resolution_pixels=&brightness=-1&gray_depth=&viewing_angle_function=&lamp_type=&signal_type_category=MIPI&rohs_compliance=&button=Search www.panelook.com]
 +
 +
The Raspberry Pi provides one clock lane and two data lanes on the S2 connector, as can be read from the [http://www.raspberrypi.org/wp-content/uploads/2012/04/Raspberry-Pi-Schematics-R1.0.pdf schematics]. It is currently unknown whether this is enough to drive the iPhone 4G screen, as that screen seems be driven with three data lanes in its original application.
  
 
Potential LVDS interfacing chips:
 
Potential LVDS interfacing chips:
Line 82: Line 130:
 
[http://e2e.ti.com/cfs-filesystemfile.ashx/__key/CommunityServer-Discussions-Components-Files/130/3252.DVI_3B00_HDMI_2D00_to_2D00_LVDS-Bridge-Application-Note.doc DVI receiver TFP401A, TFP403, or TFP501 + LVDS transmitter SN75LVDS83B or SN65LVDS93A] (Mentioned earlier fit-VGA is build around TFP401A, probably many more "active" DVI2VGA cables are build the same way)   
 
[http://e2e.ti.com/cfs-filesystemfile.ashx/__key/CommunityServer-Discussions-Components-Files/130/3252.DVI_3B00_HDMI_2D00_to_2D00_LVDS-Bridge-Application-Note.doc DVI receiver TFP401A, TFP403, or TFP501 + LVDS transmitter SN75LVDS83B or SN65LVDS93A] (Mentioned earlier fit-VGA is build around TFP401A, probably many more "active" DVI2VGA cables are build the same way)   
  
 +
I2C/SPI ADC can be used to interface 4 pin resistive Touch Screens, For example [http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00291197.pdf STMPE812A]. Texas Instruments has a [http://www.ti.com/sc/docs/psheets/abstract/apps/slaa384a.htm solution for 4 or 8 wire touchscreens] using their rather cheap MSP4309.
  
I2C/SPI ADC can be used to interface 4 pin resistive Touch Screens, For example [http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00291197.pdf STMPE812A]. Texas Instruments has a [http://www.ti.com/sc/docs/psheets/abstract/apps/slaa384a.htm solution for 4 or 8 wire touchscreens] using their rather cheap MSP4309.
+
===Character cell LCD modules===
  
 +
These have controllers and interfaces for feeding in text (and symbols). Common screen sizes include 16x2 to 40x4. Often seen in keypads, industrial machines, cash registers, laser printers etc.
  
===16x2 LCD Displays===
+
The old-style 2-line, 16-character LCD displays can be commonly controlled over UART, thus providing a cheap way to display values for sensors etc.<!-- This is almost certainly wrong. These displays come in I2C and parallel bus models. Check and post refs. -->
The old-style 2-line, 16-character LCD displays can be commonly controlled over UART, thus providing a cheap way to display values for sensors etc.
 
  
 
==References==
 
==References==

Revision as of 14:00, 6 January 2013


RaspPi.png Back to the Hub


Hardware & Peripherals:

Hardware - detailed information about the Raspberry Pi boards.

Hardware History - guide to the Raspberry Pi models.

Low-level Peripherals - using the GPIO and other connectors.

Expansion Boards - GPIO plug-in boards providing additional functionality.

Screens - attaching a screen to the Raspberry Pi.

Cases - lots of nice cases to protect the Raspberry Pi.

Other Peripherals - all sorts of peripherals used with the Raspberry Pi.


Supported Standards

The following display outputs are supported on the board:

  • Composite video (NTSC and PAL) via an RCA plug (the yellow socket on your TV) or SCART socket.
  • HDMI 1.3a standard output.
  • Display Serial Interface (DSI) - via unpopulated 15-way flat flex connector.

These interfaces allow the use of a broad range of displays, including:

  • Televisions (HDMI or composite).
  • Computer monitors (HDMI/DVI-D cable) (VGA monitors would require either a composite or HDMI to VGA or component scan converter box).
  • DLP/Laser Pico Projectors (HDMI/DVI-D cable).
  • RAW LCD panels (DSI + interfacing hardware)
  • Composite and HDMI outputs can not be used at the same time (one or the other.)


For more info about DVI, VGA, and SCART screens see The RPi Verified Peripherals Page

HDMI

You can connect the RasPi HDMI connector directly to an HDMI monitor using a standard HDMI cable.

Motorola Atrix Lapdock

A number of people have used a Motorola Atrix Lapdock to add a screen and keyboard with trackpad to RasPi, in essence building a RasPi-based laptop computer. Lapdock is a very clever idea: you plug your Atrix smart phone into Lapdock and it gives you an 11.6" 1366 x 768 HDMI monitor with speakers, a keyboard with trackpad, two USB ports, and a large enough battery for roughly 5 hours of use. The smart phone acts as a motherboard with "good enough" performance. The advantage over a separate laptop or desktop computer is that you have one computing device so you don't need to transfer files between your phone and your desk/laptop.

Unfortunately for Motorola, Lapdock was not successful (probably because of its US$500 list price) and Motorola discontinued it and sold remaining stock at deep discounts, with many units selling for US$50-100. This makes it a very attractive way to add a modest size HDMI screen to RasPi, with a keyboard/trackpad and rechargeable battery power thrown in for free.

Lapdock has two connectors that plug into an Atrix phone: a Micro HDMI D plug for carrying video and sound, and a Micro USB plug for charging the phone and connecting to the Lapdock's internal USB hub, which talks to the Lapdock keyboard, trackpad, and two USB ports. With suitable cables and adapters, these two plugs can be connected to RasPi's full-size HDMI connector and one of RasPi's full-size USB A ports.

The RasPi forum has a long thread on Lapdock with many useful suggestions, photos, and links: I made a Raspberry PI Laptop. There's also a good 'blog entry at element14 with photos and suggestions of where to get cables and adapters: Raspberry Pi Laptop. TechRepublic has a tear-down article with photos of Lapdock internal components here: Cracking Open the Motorola Droid Bionic Lapdock. Paul Mano has a wealth of photos of Lapdock innards at Motorola Atrix Lapdock mod projects.

The hardest part about connecting Lapdock is getting the cables and adapters. Most HDMI and USB cables are designed to plug into jacks, whereas the Lapdock has plugs so the cables/adapters must have Micro HDMI and Micro USB female connections. These are unusual cables and adapters, so check the links.

Lapdock uses the HDMI plug to tell if a phone is plugged in by seeing if the HDMI DDC/CEC ground pin is pulled low. If it's not, Lapdock is powered off. As soon as you plug in a phone or RasPi, all the grounds short together and Lapdock powers itself on. However, it only does this if the HDMI cable actually connects the DDC/CEC ground line. Many cheap HDMI cables do not include the individual ground lines, and rely on a foil shield connected to the outer shells on both ends. Such a cable will not work with an unmodified Lapdock. There is a detailed 'blog entry on the subject at element14: Raspberry Pi Lapdock HDMI cable work-around. The 'blog describes a side-benefit of this feature: you can add a small power switch to Lapdock so you can leave RasPi attached all the time without draining the battery.

The Lapdock Micro USB plug is the upstream port of Lapdock's internal USB hub, and connects to one of RasPi's full-size USB ports. Lapdock is not USB compliant since it provides upstream power on its Vbus pin. Lapdock uses this to charge the Atrix phone. You can use this feature to power RasPi if you have a newer RasPi. The original RasPi rev 1 has 140 mA polyfuses F1 and F2 to protect the USB ports, which are too small for powering RasPi using upstream power. Newer RasPis replace F1 and F2 with zero Ohm jumpers or eliminate them entirely, which allows Lapdock to provide power. If you don't mind modifying your original RasPi, you can add shorting jumpers over F1 and F2 or replace them with higher-current fuses.

What gets powered on depends on whether Lapdock is open or closed. If it's open, the screen and all Lapdock USB ports are powered. If you close Lapdock, the screen and full-size USB ports are powered down, but the Micro USB still provides upstream power. This is for charging an Atrix phone. When you open or close Lapdock, the Micro USB power switches off for about a second so if your RasPi is connected it will reboot and you may have a corrupted file system. There's discussion about this at the RasPi forum link, and someone has used a supercapacitor to work around the problem: Raspberry Pi lapdock tricks.

DVI

With an inexpensive passive HDMI to DVI-D cable or converter.

Composite video

Composite video (NTSC and PAL) via an RCA plug, directly from the board. You can change between PAL and NTSC output by editing config.txt in the boot SD card. Uncommenting: sdtv_mode=2 sets output to PAL (see RPi_config.txt).

RGB analog/VGA

The Broadcom BCM2835 only provides HDMI output and composite output. RGB and other signals needed by RGB, S-VIDEO or VGA connectors are however not provided, and the R-PI also isn't designed to power an unpowered converter box.

A couple of options for VGA or component RGB outputs, bridging from either HDMI or, (much less obvious) the MIPI DSI interface:

Note that any conversion hardware that converts HDMI/DVI-D signals to VGA (or DVI-A) signals may come with either an external PSU, or expects power can be drawn from the HDMI port. In the latter case the device may initially appear to work, but there will be a problem, as the HDMI specs only provide in a maximum of 50mA (@ 5 Volt) from the HDMI port, but all of these adapters try to draw much more, up-to 500mA, in case of the R-PI there is a limit of 200mA that can be drawn safely, as 200mA is the limit for the BAT54 diode (D1) on the board. Any HDMI to VGA adapter without external PSU might work for a time, but then burn out D1, therefore Do not use HDMI converters powered by the HDMI port! The solution is to either only use externally powered converters, or to replace D1 with a sturdier version, such as the PMEG2010AET, and to replace the power input fuse F3 with a higher rated one, as the current one is only 700mA, and the adapter may use 400mA itself. Also notice that the R-PI's power supply also must be able to deliver the extra current.

Firstly, the following *might* work. Beagleboard people have reported various levels of success (mainly "issues"):

http://www.hdfury.com/

Something similar:

http://www.fit-pc.com/web/fit-pc2/accessories/fit-vga/

...it may need to be modified as described here:

http://blog.galemin.com/2011/03/dvi-d-to-vga-converter-for-beagleboard-xm/

Alternatively, it may be possible to design an expansion board that plugs into the LCD headers on the R.Pi. Here is something similar for Beagleboard:

http://boardzoo.com/product_info12.php

Some more converters that should work:

More HDMI -> VGA converters are listed at the RasPi Verified Peripherals page, along with some caveats.

Potential interfacing chips:

The SOC (system on a chip) does not support any kind of analog component video, including VGA, since the SOC is designed for mobile phone use where this would not be a requirement. Additional components would be needed to generate RGB signals. Additional components would push the price beyond the $25 target and therefore won't happen.

RGB digital

A HDMI/DIV to parallel 3.3v interface PCB, also meant for the Beagleboard:

http://www.harbaum.org/till/dvi2par/index.shtml

Potential interfacing chips:

They emit Hsync, Vsync and RGB w/ about 8 bits each (sometimes, it's called "MIPI DPI")

Interfacing to non-monitor LCD panels

Embedded systems often have displays that aren't connected like televisions and computer monitors. RPI may be able to interface to some of these.

DSI port

DSI connector is on board on the RPI. Some graphical LCD/OLED displays might be attached to it.

An additional binary blob might be required for the DSI port to function correctly (or function at all). When or if such a blob will be made available is unknown.

Nokia N900 has 800x480 DCS LCD (afaik its like DSI, but has build in framebuffer). Replacement screen is about ~$40 (~$50 with 4pin resistive touchscreen).

Nokia N8 has AMOLED 360x640 pixels DSI LCD. Replacement screen is about ~$35, another ~$25 for Multitouch Synaptics T1021A touchscreen (I2C + interrupt IO, no docs/drivers).

The schematics for apples iPhone 3gs and 4g suggest they speak DSI, thus they can probably be connected directly. The older iPhones use a "Mobile Pixel Link" connection from National Semiconductor. The 3GS panel (480×320) goes as low as US $14.88, while the 4G one (960×640, possibly the LG LH350WS1-SD01, with specifications) can be had for US $17.99 or as low as US $14.28. The connectors used might be an issue, but this connector might fit. Additional circuitry might be necessary to provide the display with required 1.8V and 5.7V for operation, and an even higher voltage for the backlight.

Other panels with MIPI DSI: www.panelook.com

The Raspberry Pi provides one clock lane and two data lanes on the S2 connector, as can be read from the schematics. It is currently unknown whether this is enough to drive the iPhone 4G screen, as that screen seems be driven with three data lanes in its original application.

Potential LVDS interfacing chips:

TC358764/5 Display Bridge (MIPI® DSI to LVDS)

DVI receiver TFP401A, TFP403, or TFP501 + LVDS transmitter SN75LVDS83B or SN65LVDS93A (Mentioned earlier fit-VGA is build around TFP401A, probably many more "active" DVI2VGA cables are build the same way)

I2C/SPI ADC can be used to interface 4 pin resistive Touch Screens, For example STMPE812A. Texas Instruments has a solution for 4 or 8 wire touchscreens using their rather cheap MSP4309.

Character cell LCD modules

These have controllers and interfaces for feeding in text (and symbols). Common screen sizes include 16x2 to 40x4. Often seen in keypads, industrial machines, cash registers, laser printers etc.

The old-style 2-line, 16-character LCD displays can be commonly controlled over UART, thus providing a cheap way to display values for sensors etc.

References