September 30, 2012   Posted by: Dr. Ace Jeangle

How to connect RaspberryPi to LCD and have fun

You will need:

1. LCD panel
2. LVDS cable with attached miniUSB connector (for touch controller) and ambient light sensor
3. HDMI-LVDS converter
4. miniUSB cable – optionally available during order
5. Power adapter (5V, at least 2A) – optionally available during order

All above you will receive with our LCD bundle order.

Also, you will need additionally:
6. SD card
7. microUSB cable to power RasPi
8. RaspberryPi board itself

Here are the steps to get LCD working:

1. Download latest image of Raspbian from www.raspbian.org or www.raspberrypi.org. I used version “2012-09-18-wheezy-raspbian” for demo.

2. Create SD card based on this image.

3. – if you have 10″ LG panel and your HDMI board has U5 chip installed, then skip to p.4
– if you have 7″ CPT panel with resistive touchscreen, then download this config.txt file and put it to the root of boot partition of SD card
– if you have old HDMI board and 10″ LG panel, then open file called “config.txt” on just created SD card and add single line at the top: “hdmi_edid_file=1″, then download file edid.dat and copy it to the root of boot partition of SD card
– if you have your own LCD, then you should create binary EDID file (full file name edid.dat) yourself following datasheet of your LCD and copy this “edid.dat” file to the root of boot partition of SD card

4. Connect LVDS cable to LCD as on below photos. Cable connector should be fully inserted into mate connector on backside of LCD.

LCD cable 1

LCD cable 2

5. Connect LVDS cable to HDMI-LVDS board as on below photo. Pin 1 of cable is marked with white dot.

6. Connect microUSB cable from HDMI-LVDS board to RasPi microUSB connector.

7. Connect miniUSB cable between RasPi USB port and small red board that is part of LVDS cable.

8. Connect cable of power adapter to HDMI-LVDS board.

9. Turn on power, this will start your RaspberryPi and you should get image on screen immediately. During first run Raspbian will run configuration utility. Touchscreen is not working at yet, and you will need usual USB keyboard to enable option “Start desktop on boot”.

10. After RasPi will restart to GUI, you will be able to use touchscreen as a mouse.

Final SD card image for 10″ LCD (at least 4Gb card) is here: SD card test image
We use this SD card image to test our bundles before shipping.

Some of our first customers (who placed order in September) can encounter problems with LCD backlight. If you see that backlight is not turned on when you apply power to our HDMI-LVDS board (screen is completely black, no light from the side view of LCD), then you has 2 ways to improve this:

1. Short pins 1 and 3 on white 6-pins connector (CON4). Pin 1 has square shape, others pins have round shape. Don’t worry if you short pin 2 as well – it is not connected anywhere.
or
2. Short pins 1,2,3 on PIC microcontroller (U3). Pin 1 is marked with white dot. Don’t worry if you short pin 4 as well – it anyway tied up to power.

UPDATE: here is interesting post from one of our customers about his experience with connection of our 10″ LCD Raspberry Kiosk

71 comments posted in: How-To
71 comments
  1. Jon
    Oct 01, 2012

    Hi, I have one of these ‘early LCD’s shipped via DHL and I get no backlight – screen is completely black.

    Can you tell me what you mean by ‘shortcut’? Do you mean connect the black and red wires together (short circuit) or cut them (cut)?

    • Jon
      Oct 01, 2012

      Never mind, I shorted pins 1 & 3 and the backlight came up fine. Thanks.

  2. Jens Andree
    Oct 10, 2012

    Just received my kit and it works as advertised right out of the box. Many thanks!!!
    Will now conduct various tests but the first glance is more than promising 😉

    Results will be posted @ raspi forum

  3. Gene
    Oct 23, 2012

    Did everything according to instructions. Display is black. Though backlight is wisible from the side of the display.
    Any suggestions how to troubleshoot?

  4. Bayees
    Oct 30, 2012

    Has anyone been able to make it work on debian wheezy?

  5. Timothy
    Nov 02, 2012

    Do you have any data sheets or support documentation for development?

  6. notanimposter
    Nov 04, 2012

    I’m wondering. How hard would it be to make a small transparent circle (roughly 1 webcam in diameter) in the black bezel of the panel?

    • Dr. Ace Jeangle
      Nov 05, 2012

      Actually, it already has transparent hole for camera module. Please, check LCD drawings in its datasheet (Support/Sources section on our web-site).

  7. Troy
    Nov 15, 2012

    Just received my order and have them running but the screen seem very dull, is there any way of increasing the brightness?

    • Dr. Ace Jeangle
      Nov 15, 2012

      Yes, simply remove protection film from the screen.

    • dan
      Nov 15, 2012

      I have the same issue. It is not the protection screen, seems like the backlight is not on.

  8. dan
    Nov 15, 2012

    Screen is working but very dim. How to increase brightness?

    • Dr. Ace Jeangle
      Nov 15, 2012

      It is dim because light sensor is not under strong light. Try to point bright light (like flashlight) to sensor (small red board soldered to LVDS cable) and you will see how backlight is increased. More detailed including tip for manual brightness control is here: https://www.chalk-elec.com/?p=1391

      Also, you can always set max. brightness simply shorting pins 3 and 4 on white 6-pins connector.

  9. praveen
    Nov 16, 2012

    screen is working,but touch screen is not working.what would i do

  10. Dr. Ace Jeangle
    Nov 19, 2012

    Hello Troy,
    Yes, you can short pins 1 and 2 on PIC.

  11. Sam
    Nov 20, 2012

    What do you mean by short pint

  12. Kyle
    Nov 20, 2012

    Does the R-Pi have to run the specified image of Raspbian in order for the screen to produce a picture or should it work on any format of linux. I have XBMC media center on a friends Pi and trying to connect screen. Touch screen works in windows so touch function not broken but no picture showing on screen. It does flicker when I remove the adapters of the LVDS board. What could be wrong?

    • Dr. Ace Jeangle
      Nov 21, 2012

      First batch of HDMI converter has no EDID block, so they are for Raspbian only. Others distributions can also work, but will require some software patches. New batch of HDMI converters can work with any system that supports native LCD resolution.

  13. Dr. Ace Jeangle
    Nov 21, 2012

    Universal HDMI converter with audio output and LVDS scaler is in the development at the moment. We are going to release it end of this year. Also, we work on special unit for car pc applications.

  14. […] the beginning I got one of those RaspberryPI thingies and a 10inch touchscreen from these guys How to connect RaspberryPi to LCD and have fun | Chalkboard Electronics I'm running rasbian on the pi and all seems to work pretty good. Although the touch screen is a […]

  15. Dr. Ace Jeangle
    Nov 27, 2012

    RasPi does not support 1024×600 resolution natively, you need to select 1024×768, and then play with screen blank parameters to get video fit screen size. Look here for details: http://elinux.org/RPi_config.txt

  16. Chisleu
    Dec 04, 2012

    Will this work out of the box with the adafruit distro? Seems like it should

    • Dr. Ace Jeangle
      Dec 05, 2012

      Do you mean Occidentalis? I didn’t tried, but I guess it should work OK following their features list.

  17. Tom
    Dec 06, 2012

    I’m trying to use RaspBMC off my RPi. The screen looks great, and I can control it with a keyboard, but the touchscreen doesn’t work. Any ideas?

  18. Lel
    Dec 07, 2012

    Did everything as per instructions.
    Read comments and checked everything possible.
    Still cant get a display.
    I have a backlight and also used the same image from link on this page.
    Definitely have all cables plugged in correct position.
    🙁

  19. Dr. Ace Jeangle
    Dec 07, 2012

    Drop email to support@chalk-elec.com, I will email to you my config.txt parameters for this case.

  20. Bayees
    Dec 17, 2012

    Is it possible to make it work on debian wheezy?

    • Dr. Ace Jeangle
      Dec 18, 2012

      Last release of board (with U5 installed) can work with any OS and does not require special config.txt and edid.dat files.

      • Bayees
        Dec 18, 2012

        And if I have the old board. I need a different edid.dat?

        • Dr. Ace Jeangle
          Dec 18, 2012

          EDID file is not changed, but I’m not sure that Wheezy allows to define external EDID file. If it allows, then no problem – you can use the same configuration as for Raspbian.

  21. Dr. Ace Jeangle
    Dec 21, 2012

    We have step-by-step guide with photos, I think this should be enough to understand. That’s pretty simple procedure. Touch driver is available in Raspbian by default, so you don’t need any additional actions to enable it.

  22. Mario Ray Mahardhika
    Dec 25, 2012

    How much does the lcd (bundle?) cost and where can I buy it?

    • Dr. Ace Jeangle
      Dec 26, 2012

      Bundle will be available in stock right after NY holidays. Each bundle costs $134.99 + shipping.

  23. Neil Bullock
    Dec 27, 2012

    Do you have a recommendation for a 7″ panel with capacitive touch screen, preferably 1280×720 or similar, to use with your solution? Thanks!

    • Dr. Ace Jeangle
      Dec 28, 2012

      We are going to release 1280×800 IPS 7″ with capacitive in January.

  24. Dr. Ace Jeangle
    Jan 07, 2013

    You mean small LCD or small board?

  25. Dr. Ace Jeangle
    Jan 07, 2013

    Yes, last 2 batches had this chip installed.

  26. Dr. Ace Jeangle
    Jan 11, 2013

    Work is in progress, stay tuned.

  27. Dr. Ace Jeangle
    Jan 17, 2013

    If you can setup output resolution to 1280×800, then yes, it will work.

  28. Dr. Ace Jeangle
    Jan 17, 2013

    It will work with any HDMI source that supports native 1280×800 resolution.

  29. Dr. Ace Jeangle
    Jan 17, 2013

    We think about it, will work on this after release universal HDMI adapter next month.

  30. tommaso Rosa
    Jan 30, 2013

    the touch interface is REALLY shaky and imprecise, i’ve tried it on my raspberry pi and on my laptop, and the results are the same… i checked the connector on the back of the lcd, but it was fine…
    what are the chances of a faulty touch screen?

    • Dr. Ace Jeangle
      Jan 31, 2013

      Sometime this happen if LCD was twisted/bend during usage or transportation. Another option is damaged/broken wire or bad USB cable. Drop email to support@.

  31. Dr. Ace Jeangle
    Jan 31, 2013

    No, LG display accept only exact 1280×800 resolution. You will get black screen for others resolutions. You should wait until we release new board with LVDS scaler – this one will work with any HDMI source.

  32. Dr. Ace Jeangle
    Jan 31, 2013

    I didn’t tried XBMC, so can’t tell for sure. I would suggest to check xorg.conf file for both cases, because all touchscreen settings for X11 are stored there.

  33. sake kumar
    Feb 26, 2013

    Hello,
    We are having a raspberri pi model B.
    We have a web-app and use the touch screen for input.
    Can u advise us about the operating system we should use and any extra hardware we will need to buy other than your complete kit?

    • Dr. Ace Jeangle
      Feb 27, 2013

      Raspbian is the best choice for RasPi at the moment.
      You don’t need any additional hardware except our full bundle (with optional cables and power supply).

      • Saket
        Feb 28, 2013

        Thanks a lot.

  34. Dr. Ace Jeangle
    Mar 10, 2013

    This is correct for panels that we sell in bundle with board. Others panels can require separate power supply.

  35. Dr. Ace Jeangle
    Mar 10, 2013

    what you asked is provided by software that you run on your board (like Android), not by hardware.

  36. About this touchscreen ? is this a capacitive type?… and is this good for drawing?..
    cause i want to make a custom mod Raspberry Pi that can be capable to do drawing

    • Dr. Ace Jeangle
      Mar 20, 2013

      This is capacitive. You can also buy active N-trig stylus and draw with very high precision like on Wacom tablet.

  37. Rob Gibbons
    Mar 18, 2013

    What would be the best way to power this setup from my car?

    • Dr. Ace Jeangle
      Apr 02, 2013

      I think yes Just check that central pin is positive, and outer diameter of jack is 5.5mm.

  38. Dr. Ace Jeangle
    Apr 09, 2013

    yes, correct.

  39. Dr. Ace Jeangle
    Apr 09, 2013

    Our 10″ is also multi-touch (up to 10 fingers).

  40. Orbitus007
    May 20, 2013

    Beautiful…. everything works great…. I had an issue with the system image not having the correct resolution and therefore the LVDS and the screen didn’t light up at all…. But I fixed that with a clean install of RaspBMC! Thank you! WOnderful!

  41. […] worked fine! I didn’t know whether to laugh or cry! Hooking up the touchscreen was also ridiculously easy (plug in a handful of connectors). The light sensor is a bit strange, and keeps the screen too dim, so I will probably replace it […]

  42. My Homepage
    Nov 09, 2013

    … [Trackback]

    […] Read More Infos here: chalk-elec.com/?p=1576 […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Follow us