LVDS On An FPGA Could Make It Possible To Reuse Laptops LCDs And The Like

Search around the Internet and you’ll find a landfill of forum threads asking how to drive the LCD screen from a dead laptop. The answer is always that there is just no way to do it. That’s because most of them use a Low-Voltage Differential Signalling protocol that just isn’t available through the hardware used in hobby projects. But the appearance of this board could signal that things are about to change. We don’t want to get your hopes up too much. This isn’t an open source project, but it is a piece of hardware that can make LVDS available for the 8, 16, and 32-bit microcontrollers you’re used to working with.

It’s a derivative of a project [Thomas Jespersen] worked on for a customer. It uses an FPGA to implement the LVDS standard used by high-pixel-count LCD displays. It contains enough memory for a full frame-buffer, and includes a Motorola-8080 communication standard. [Thomas] gives a full description of how the setup works in the video after the break. Demonstrations start about 7:30 into the video with an STM32 F4 Discovery board driving the display.

41 thoughts on “LVDS On An FPGA Could Make It Possible To Reuse Laptops LCDs And The Like

  1. HAD – Fyi LVDS is not, and have never been the dealbreaker when trying to reuse an laptop lcd panel, as you can just buy an LVDS-transmitter chip than converts single-ended signals to LVDS-signalling. Heck, you could even on the older panels open it up, remove the LVDS-receiver chip and wire it like it were an 18Bit parallel LCD. No, the problem has always been about memory for all the pixel information and generating the 25MHz pixel clock. They way to go is an FPGA that act as an dual-port memory, and generate the necessary timing.

    1. Yes. Driving LVDS panels is not hard at all with the appropriate TTL serializer which you can get from TI.

      Generating a TTL video stream is not too difficult either with modern 32bit micros. e.g. larger PIC32s have a 32 bit parallel port and a DMA controller so all you need to do is set a timer for the line scan and set up the DMA registers at the beginning of each line. If you do two pixels per clock cycle, you can drive a reasonably large panel that way.

      1. I’m getting into this boat of exprimenting with LVDS , I’m reading datasheets.. i’m not that savvy on this matter. But I have a couple embedded boards like esp32.. pi beaglbebone.. and the alike. would you mind helping me , I’m interested in tapping experimenting with anaylzers scope with LVDS. and finally get it to dispaly a usable image on any laptops screen acording to the manufacturer datasheet. I managed to get many ic samples ranging from TI to Semi and other vendors. Anyways.. please let me know message me.

  2. would it be possible to use this to convert dvi and other common display protocols into lvds? There are so many laptop screens that i have, they might be useful with this

  3. Uhm… I think this project it’s too complex. Recently i made a search on my own on how to drive a lcd panel from a dead laptop. I found the datasheet of the panel and in this datasheet (from Samsung) they suggested to use DS90CF383 ic from TI. This is an obsolete chip, but there’s plenty of chip capable of controlling LVDS signaling for LCD panels. On these ic’s datasheet there are references on other chips that can make various interface, for example from DVI. I found an application note too. The only thing I didn’t found is something about the backlight driving…

  4. One solution to the lvds interface is to desolder the transmitter ic from the dead laptop, and then use it in your own project. To drive a lcd panel with dvi one could use tfp401 from ti. Its a small package but its fairly easy to solder with some practice. maybe it isnt compatible with all panels but i had some success with one at home…

    1. I have that same board. Used it in a LCD/DVD combo that had a bad main board. A new main board would have cost $100+, for less then $20 I had it back up and working(minus the built in dvd).

  5. Yea, I have to agree with everyone else here. Not to take away from the technical achievement of this project, but LVDS driver boards have been available for a while now. If you want tough, find me a MIPI-DSI (the most popular protocol for controlling high res smartphone displays) controller chips that will let you convert to something more standard like VGA or DVI-D/HDMI.

  6. Nice project but I am not even past blinking led’s with micros. I will have to file this one away for later.

    I have a question for those comment surfers regarding LVDS. I have a EPIA M embedded mainboard kicking around and it has onboard LVDS support. I also have a dead Toshiba Sattelite Pro CDT from the early 90’s with a good screen. Would I just match the pins or is there something else involved. If I cannot use the Toshiba screen should I be able to use another dead laptops?

    1. I have an EPIA 12000 EN or something.

      i searched for an LVDS cable (from an old monitor) and soldered it to the LVDS module. I got an 2 mm header for the conection to my monitor.

      i just matched the connections from the datasheet of the LCD panel to the datasheet of the EPIA module
      ( and then it worked. (almost)
      the panel had an input for 6 bit mode (RRRRRRGGBBBBBBGGRRBBGG or RRRRRRRRGGGGGGGGBBBBBBB) which had to be connected to 3v3 instead of floating

  7. “The answer is always that there is just no way to do it.”

    What, are you guys stupid? I know guys who have been using laptop LCD panels from a hobby standpoint for more than a decade. I’m sorry, but this has to be one of the most ignorant statements I’ve seen on HaD lately. GO GET A LVDS transmitter IC! Geeeeeeez.

    1. Yea, I made a comment here within the last year about the $20+ adapter boards that have been available on eBay for probably 10 years now. I really don’t understand why this is such a secret. I mean, you give the guy the model number of your specific LCD panel, and he gives you the custom cable, controller, and inverter for the $20-$60(cost depends on features, ie:VGA/HDMI/ASTC tuner/audio/max resolution/etc.) you pay him..

      1. There are a lot of forum posts about this on the internet. For a long time the answer really was “not really,” and I think a lot of people gave up then; unfortunately while cheap solutions have been found, a lot of people still think that the answer hasn’t changed and all of those old forum posts of years of people saying no it can’t be done just reinforce that.

      2. It’s easy to get those controllers, I have talked to a Chinese warehouse and webmaster of
        So it’s easy and cheap get a old LCD to work. But in my case i got 200 and have no comercial value, those not worth pay 10 or 20$ to get them to work. So my hack would be create some kind of videowall where i could use the same imagem in all of them for concerts or disco. If you could help building something like this I would be most thanksfull.

  8. Despite all the negative nellies here, I think you guys should make the effort to productize this. No solution I saw listed above me provided an easy to use solution for a 8- or 32-bit embedded SOC to use directly.

    It’ll have to be as inexpensive as you can make it but there are an awful lot of LCD displays out there that can be repurposed by makers.

    1. +1.

      I can suggest a couple of additional features as well:

      1) MCUs with a limited number of pins will need external shift registers to implement a 16-bit interface. But I’d imagine a shift register (or other serial interface) is pretty easy to build into an FPGA.

      2) Allow any spare memory to be drawn to at off-screen coordinates. And add a blitter. This will really help with MCUs that are slow or using a serial interface. But even with a fast MCU and parallel interface, it can still provide benefit; think how much faster it would make a full-screen scrolling text display. Bonus points if the blitter allows copy modes other than exact; like replacing any two pixel colors with other colors during the copy, with one possibility being don’t copy (transparent).

  9. If they could make an Arduino library and support a variety of the more common LCDs found in HP laptops (which often end up dead because they are made so poorly), it might do well…but as for reusing an old laptop screen as a PC monitor, it is nothing new…it is just a bit pointless since you can get an actual PC monitor with better specs for about the same cost as the parts required for the conversion.

    1. An arduino can’t handle the clock rates needed or have enough RAM to hold all the pixel information. A shield could help solve this issue and I wouldn’t be surprised if one already exists somewhere, pretty sure they already do for VGA etc.

  10. I’m curious to see how fast his implementation will go. I did an LVDS design in a spartan 3s a while back and it was tricky to drive a laptop panel 1280×800 at reasonable frame rates with that part due to limitations in how fast you can serialize and shift the data and the internal structure of the DDR IO block.

  11. The open hardware gameduino ( or its olimex mod_vga clone) is widely available around US$25 and will drive standard large VGA displays and directly fits the Arduino, chipkit, Pinguino etc. It also has a real nice graphics and sound library.

  12. >That’s because most of them use a
    >Low-Voltage Differential Signalling
    >protocol that just isn’t available
    >through the hardware used in hobby projects.

    Really? There a no hobby level FPGA kits that support LVDS? You guys can’t use Google?

  13. Hope this doesn’t double post, my WP creds were jacked.

    If they added support for an on card sprite sheet with built in tilling and best fit algos. Then added minimal instructions similar to the HTML5 Canvas object for lines, setting, and blitting this would make driving large dimension LCD’s with an 8 or 16 bit MCU very easy. Most MCU’s could handle simply storing a table of tiles to display. Font mapping would be easy then too. Simply upload your font to the buffer and instead of having to know what pixles to set to print A you just tell it to draw the tile at index “A”.

    Add a few more minor things like screen shifting and you have a nice little video card that should fit most hobbiest needs.

    Then you have something that stands out from the $8+ ebay LVDS offerings.

  14. Dear Hackaday readers.
    I’m Thomas Jespersen the designer and developer of this board.
    Thank you for all the comments which I have been reading thourougly to get a better understanding on the market and what you hackers requirements are.

    Let me first say that I had never heard about the MIPI-DSI, though a bit about DSI thru the Raspberry Pi. But now I have also noticed the DCS protocol together with larger screen displays that already include a built in framebuffer, such as the one used in the Nokia N900 phone.
    I might have to look at these displays some more later on.

    I know you can get VGA/DVI to LVDS converters board fairly cheap, but the main problem would still be around: driving/controlling the full resolution with a simple microcontroller.
    The Gameduino and Papillo boards have already been around for a while, and these are well designed boards with great features. Especially the Gameduino which can generate a VGA signal and be controlled with an Arduino is a perfect invention – but our main problem persist: we are not able to control all the pixels individually – we are still stuck to a tile map.

    Currently we are using a 66MHz Pixel Clock so for a display with a resolution of 1024×768 pixels this gives us a refresh rate of 60Hz – which is the current scenario.
    So without having done all the math for horizontal and vertical count I would guess that a refresh rate of at least 45Hz would be achivable with the same setup but a 1280×800 pixel display.
    FYI Scatterbrained we are using a 231MHz DCM generated clock frequency for the serialization.

    I understand that more and more of you would like to see a tile based implementation within the FPGA on our board, similar to what the Gameduino is capable of.
    We will for sure have this in mind and might spend some time developing a tile based feature where tilesets could be saved within the rest of the available SRAM.

    Another feature mentioned by Chris would be a Serial option, or at least an option that requires less pins.
    In this case the pixel data transfer would only become much slower, but if the tile based feature was implemented this would definitely become more usefull as it could save you a lot of pins.

    Once again thank you to all for your valuable feedback.

    Best Regards
    Thomas Jespersen

  15. Guys? Guys?

    Dunno if this has been pointed out yet (didn’t read ALL the comments) BUT…

    Output as VGA (640×480 or higher resolution) or QVGA (320×240 resolution) with any number of colors (or just B/W). Then use a converter board. There is a great company on eBay selling these under the name njytouch. The only downside is that you’re ordering from China, so it takes a month and you might pay customs fees (there’s a way around this but I really don’t recommend it, as it’s NOT a legit practice).

    These boards already exist for turning laptop screens into homebuilt monitors, and (once they are programmed by the seller [eg njytouch] for your specific panel) you’re good to go.

    As a note, not all panels will work here. Toshiba’s LCD division, for example, keeps their datasheets under wraps for a lot of laptop panels — so it’s rare that you can use one for this, because that’s how njytouch and similar companies get their info. But MOST panels SHOULD work just fine.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

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