aBUGSworstnightmare
Posts: 564
Joined: Tue Jun 30, 2015 1:35 pm

Pi Zero driving unusual TFT display (768x128pixel)

Sun Jul 17, 2016 8:27 am

Hi,
made a small PCB for 're-purposing' displays with a quite unusual resolution.

The display is a Sharp LQ060B3DW02 5.98in display in a quite unusual aspect ratio: 768x128pixels.
6in1demo_04_small.jpg
Sharp LQ060B3DW02 connected to Raspberry Pi Zero
6in1demo_04_small.jpg (59.94 KiB) Viewed 4534 times
The module has a 18-bit (color) RGB interface which allows to use it on the DPI interface of the Raspberry. Since the Raspberry can not support this resolution a custom hdmi timing is needed (refer to viewtopic.php?f=29&t=24679&p=1010860#p1010860).

Here are some more pictures of the board:
6in1demo_01_small.jpg
Top with Raspberry Pi Zero V1.3 mounted
6in1demo_01_small.jpg (44.51 KiB) Viewed 4534 times
6in1demo_02_small.jpg
Bottom view: FFC connector to display. The boards features a USB-A socket and 5V/3A DC/DC. Pogo-Pins connect USB data signals
6in1demo_02_small.jpg (45.03 KiB) Viewed 4534 times

User avatar
TonyD
Posts: 439
Joined: Thu Sep 08, 2011 10:58 am
Location: Newcastle, UK
Contact: Website

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Jul 18, 2016 1:11 pm

Cool looking display. Where was it used originally?
Tony

Vaspi
Posts: 23
Joined: Sun Jul 03, 2016 10:07 am
Location: Wales

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Jul 18, 2016 4:27 pm

Extra cinema scope , love to see a movie on it :D
Dougie Lawson Fan club

aBUGSworstnightmare
Posts: 564
Joined: Tue Jun 30, 2015 1:35 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Tue Jul 19, 2016 9:02 pm

TonyD wrote:Cool looking display. Where was it used originally?
... in White Goods
Vaspi wrote:Extra cinema scope , love to see a movie on it :D
... let's See itI den prepare a movie having it running OMXplayer

P.S. I have another one which is 9.2in and resolution is 960x160, but need to figure out propper timing ans power-on sequence first...
Last edited by aBUGSworstnightmare on Mon Aug 01, 2016 6:53 pm, edited 1 time in total.

aBUGSworstnightmare
Posts: 564
Joined: Tue Jun 30, 2015 1:35 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Sat Jul 23, 2016 11:20 am

Hi,

made a small video showing the RPi Zero displaying 4 videos on the screen simultaneously:
6in_4video.jpg
6in_4video.jpg (36.53 KiB) Viewed 4196 times
The video is here: https://youtu.be/trY4hLSOpjw

Cheers
aBUGSworstnightmare

aBUGSworstnightmare
Posts: 564
Joined: Tue Jun 30, 2015 1:35 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Fri Jul 29, 2016 7:12 pm

The four videos were displayed by using SCREEN tool. Simply install it on your RPi by

Code: Select all

sudo apt install screen
Here is the shell script which I'm using in the video:

Code: Select all

#!/bin/bash
screen -dmS vid1 sh -c 'omxplayer --win "0 4 190 124" -b /home/pi/Videos/trailer_1080p.mov; exec bash'
screen -dmS vid2 sh -c 'omxplayer --win "192 4 382 124" -b /home/pi/Videos/01_llama_drama_1080p.mp4; exec bash'
screen -dmS vid3 sh -c 'omxplayer --win "384 4 574 124" -b /home/pi/Videos/02_gran_dillama_1080p.mp4; exec bash'
screen -dmS vid2 sh -c 'omxplayer --win "576 4 766 124" -b /home/pi/Videos/03_caminandes_llamigos_1080p.mp4; exec bash'
As you can see '-win' command does the 'magic' of positioning the video tiles, while 'screen' starts four different consoles. Note that I've included '-b' (black background) option in each console. This will prevent one sees the desktop when a 'video tile' is finished (far left movie (Big Buck Bunny trailer) i.e.).

User avatar
TonyD
Posts: 439
Joined: Thu Sep 08, 2011 10:58 am
Location: Newcastle, UK
Contact: Website

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Aug 01, 2016 12:34 pm

awesome
Tony

User avatar
rpiMike
Posts: 317
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Aug 01, 2016 12:44 pm

Nice :)

blc
Posts: 465
Joined: Mon Sep 05, 2011 9:28 am

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Aug 01, 2016 1:38 pm

That's a really unusual screen size! I'm sure I could think of more than a few uses for such a non-standard form factor!

I'd be interested to hear more about the PCB you've designed for it.

aBUGSworstnightmare
Posts: 564
Joined: Tue Jun 30, 2015 1:35 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Aug 01, 2016 6:24 pm

blc wrote:That's a really unusual screen size! I'm sure I could think of more than a few uses for such a non-standard form factor!

I'd be interested to hear more about the PCB you've designed for it.
Well, here's the 'feature list':
- 40pin Hirose FH28-series socket for connecting to LCD module. Connected via GPIO in DPI 18-bit color (mode 5) scheme
- 5V/3A DC/DC for supplying RPi, directly connected to USB-A socket
- 3.3V/1A DC/DC for TFT logic supply (the 3.3V supply on the Zero is not very powerful)
- Zener Diodes for reverse polarity protection
- USB-A socket
- Pogo-Pins for USB data signals and 5V (RPi Zero) power supply). Alternatively 5V can be feed into Pin2/4 (solder jumper)
- all voltages (Vin/5V/3.3V) are available for external use (2-pin JST ZR-Series for 5V/GND, all on JST BM08B-series connector; carries 2 left-over GPIO-signals (22/23) as well)
- size is 99x33mm, can be used different Raspberry models

I've designed three different boards which differ in:
a) pin assignement for the FFC connector
b) color dept (24-bit and 18-bit)

The 24-bit version gives full freedom in using it with other models: I simply need to design a small adapter PCB with the display connectors only. Can be done fast and cheap.

Here are some additional pics:
WP_20160801_20_25_48_Smart.jpg
Size comparison between 6.1in (top) - 9.2in (center, 960x160pixels) and PCB. I think the big one will be even cooler.
WP_20160801_20_25_48_Smart.jpg (26.65 KiB) Viewed 3920 times
WP_20160720_19_47_32_Smart.jpg
bare PCB on top of an RPi3. PCB will fit even with the USB-A in place.
WP_20160720_19_47_32_Smart.jpg (48.94 KiB) Viewed 3921 times

blc
Posts: 465
Joined: Mon Sep 05, 2011 9:28 am

Re: Pi Zero driving unusual TFT display (768x128pixel)

Tue Aug 02, 2016 7:06 am

It's a neat little PCB, and there's nothing esoteric going on there (microcontrollers, FPGA, other "LCD driving" hardware, etc). Those displays are really interesting; their form factor is so unlike what you'd normally encounter. I have a couple of projects I want to get off the ground, and some of them involve custom carrier PCBs and driving LCDs directly from the Pi (using SPI). I can already see how I'd put one of these LCDs to use!

I had a go at soldering a 50-pin FFC connector for use on a breakout board, and more recently on a 10-pin FFC breakout I designed myself. I think it's fair to say that my soldering skills are not yet up to the task of 0.5mm pin pitch SMD work! FFC connectors are probably not the best introduction to SMD soldering.... Ah well, I guess it means that I'll be building my reflow oven sooner than I'd planned!

Vaspi
Posts: 23
Joined: Sun Jul 03, 2016 10:07 am
Location: Wales

Re: Pi Zero driving unusual TFT display (768x128pixel)

Fri Aug 05, 2016 10:24 pm

Subscribed to this thread love weird things like this , here's a idea you know them marquees on the top of arcade machines , if you scaled a cab to the screen you have. It would be awesome mini video version of this http://youtu.be/DTg7XHteBTE

We're could I find one of them screens is it a salvaged part ? Are you planning on selling your dev boards or is it a personal play around project?

Keep up the good work 8-)
Dougie Lawson Fan club

blc
Posts: 465
Joined: Mon Sep 05, 2011 9:28 am

Re: Pi Zero driving unusual TFT display (768x128pixel)

Fri Aug 05, 2016 10:25 pm

Vaspi wrote:Subscribed to this thread love weird things like this , here's a idea you know them marquees on the top of arcade machines , if you scaled a cab to the screen you have. It would be awesome mini video version of this http://youtu.be/DTg7XHteBTE
That is exactly the kind of thing I had in mind :)

aBUGSworstnightmare
Posts: 564
Joined: Tue Jun 30, 2015 1:35 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Sat Aug 06, 2016 6:42 am

Vaspi wrote:Subscribed to this thread love weird things like this , here's a idea you know them marquees on the top of arcade machines , if you scaled a cab to the screen you have. It would be awesome mini video version of this http://youtu.be/DTg7XHteBTE

We're could I find one of them screens is it a salvaged part ? Are you planning on selling your dev boards or is it a personal play around project?

Keep up the good work 8-)
Thanks!

Wow, that's pretty cool. The guy in the video is using an image file on the small screen; as you can see from the video you can even let OMXplayer play one (or more) video files from a Pi Zero.

I had the idea of trying to get these screens working with the Pi when I found NOS (new old stock) displays here: http://www.pollin.de/shop/dt/MTQxOTc4OT ... 5DW01.html
EUR3.95 is incredibly cheap for a TFT so not a big risk for spending some money by clicking the order button ....

Got the larger one working but had some noise in the picture. That's why I decided to develop an adapter PCB, pretty much at the same time when I got hands on the Zero V1.3. The rest is now history :lol:

I have some PCBs left which I will sell at cost. Will PM you with some details.

O.K. .. then let me make your mouth watery now:
6invs7in.jpg
active screen size comparison to 7in WVGA display - neat fit
6invs7in.jpg (37.2 KiB) Viewed 3651 times
But to be honest: I think this video got me now! You know, there's an 'how to build your own arcade machine' in the last/current revision of MagPi; will have to download the plans, buy some wood and get them milled.... shouldn't the to hard to change the design files to make them accept a Marquee top (as an add-on i.e. since it will be fully self contained) ...

Vaspi
Posts: 23
Joined: Sun Jul 03, 2016 10:07 am
Location: Wales

Re: Pi Zero driving unusual TFT display (768x128pixel)

Sun Aug 07, 2016 12:16 pm

Actually he is using the standard mame artwork directories, you can download all the art work, then when you change the game it looks up what art you have in a .xml I think then displays it.

apparently it's fully automated as long as you have the art.

I have replied to your pm and thrown another idea out there if you decided to do that Aswell keep it to yourself until you do a reveal of your project. I think it blow people away 8-)
Dougie Lawson Fan club

blc
Posts: 465
Joined: Mon Sep 05, 2011 9:28 am

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Aug 08, 2016 4:13 pm

aBUGSworstnightmare wrote:
I have some PCBs left which I will sell at cost. Will PM you with some details.
If you have any more left over I might also be interested.

Vaspi
Posts: 23
Joined: Sun Jul 03, 2016 10:07 am
Location: Wales

Re: Pi Zero driving unusual TFT display (768x128pixel)

Sun Aug 28, 2016 12:48 pm

Any update? Buddy
Dougie Lawson Fan club

aBUGSworstnightmare
Posts: 564
Joined: Tue Jun 30, 2015 1:35 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Sun Aug 28, 2016 1:53 pm

Vaspi wrote:Any update? Buddy
Sorry, not yet :oops:
Too many projects using RPi's, like this one i.e.viewtopic.php?f=40&t=157986 .
Completed another one today: 18.5in Full-HD with PCAP :!: :idea: :shock:
here's a small teaser:
CIMG1986.jpg
backside view of 18.5in PCAP screen powered by Raspberry Pi
CIMG1986.jpg (63.93 KiB) Viewed 3155 times
(will post pics b/o next week) - more info here viewtopic.php?p=1030399#p1030399
Last edited by aBUGSworstnightmare on Mon Aug 29, 2016 12:35 pm, edited 1 time in total.

Vaspi
Posts: 23
Joined: Sun Jul 03, 2016 10:07 am
Location: Wales

Re: Pi Zero driving unusual TFT display (768x128pixel)

Sun Aug 28, 2016 5:33 pm

Sweet , yeah I know what you mean by project's I start a new one before the old one is finished all the time. ;)
Dougie Lawson Fan club

Project XXX
Posts: 15
Joined: Thu Oct 02, 2014 9:36 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Nov 07, 2016 7:58 pm

Do you still have some extra boards? Would really like to buy some from you, and do you have the schematic and files so I can produce more of the board? Pls. Send me an PM.

aBUGSworstnightmare
Posts: 564
Joined: Tue Jun 30, 2015 1:35 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Nov 07, 2016 8:22 pm

Project XXX wrote:Do you still have some extra boards? Would really like to buy some from you, and do you have the schematic and files so I can produce more of the board? Pls. Send me an PM.
Yes, have 4 or 5 left. What do you want to use them for?

Project XXX
Posts: 15
Joined: Thu Oct 02, 2014 9:36 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Nov 07, 2016 9:28 pm

Would like to use them for the "TFT-LCD-Modul SHARP LQ092B5DW01" and some RPI Zero, just need them to run some animations that react on some rfid, so is the board using all the gpio? Or will it be possible to connect an RFID-rc522 at the same time? So would like the optimal board for this screen...

aBUGSworstnightmare
Posts: 564
Joined: Tue Jun 30, 2015 1:35 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Tue Nov 08, 2016 6:52 am

Project XXX wrote:Would like to use them for the "TFT-LCD-Modul SHARP LQ092B5DW01" and some RPI Zero, just need them to run some animations that react on some rfid, so is the board using all the gpio? Or will it be possible to connect an RFID-rc522 at the same time? So would like the optimal board for this screen...
Hi, the board shown here is for use with LQ060B3DW02 (data sheet https://cdn.sharpsde.com/fileadmin/prod ... 27402A.pdf) and NOT with LQ092B5DW01. The 9.2in has an different pinout (refer to data sheet https://www.pollin.de/shop/downloads/D120858D.PDF), that's why another PCB layout is needed. The 9.2in requires backlight supply voltage on a second connector in addition.

Don't know your RFID module/chip requirements. The display can best be used with mode5 or mode6 from the table below. See if one of them will leave the GPIO for your RFID available (I'm using mode5 here)
Image

Here's my timing:

Code: Select all

# ---------------------------------------------
# For use with LQ060B3DW0x module only
# on Raspberry Pi Zero V1.3 only - Jessie
# ---------------------------------------------

# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
overscan_left=0
overscan_right=32
overscan_top=0
overscan_bottom=352

# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=768
framebuffer_height=128

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# ---------------------------------------------
# DPI interface comsumes nearly all GPIO of the RPi
# Disable SPI and I2C 
# ---------------------------------------------
dtparam=spi=off
dtparam=i2c_arm=off

# uncomment this if you don't want to show the rainbow splash screen on boot
disable_splash=1

#uncomment to overclock the arm. 700 MHz is the default.
force_turbo=1
arm_freq=1000
core_freq=400
v3d_freq=400
h264_freq=400
sdram_freq=500
over_voltage=4
over_voltage_sdram_p=4
over_voltage_sdram_i=4
over_voltage_sdram_c=4
gpu_mem=156
start_x=1

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Enable USB Ethernet gadget
#dtoverlay=dwc2

# ---------------------------------------------
# Enable DPI
# --------------------------------------------- 
enable_dpi_lcd=1

# ---------------------------------------------
# Make DPI default output
# ---------------------------------------------
display_default_lcd=1

# ---------------------------------------------
# custom HDMI mode
# https://www.raspberrypi.org/forums/viewtopic.php?p=613926#p613926
# https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=24679
# ---------------------------------------------
dpi_group=2
dpi_mode=87

# ---------------------------------------------
# DPI output format definitions
# https://www.raspberrypi.org/forums/viewtopic.php?p=628061#p628061
# DPI structure: https://www.raspberrypi.org/forums/viewtopic.php?p=617719#p617719
# ---------------------------------------------
# output_format:
#   1: DPI_OUTPUT_FORMAT_9BIT_666
#   2: DPI_OUTPUT_FORMAT_16BIT_565_CFG1
#   3: DPI_OUTPUT_FORMAT_16BIT_565_CFG2
#   4: DPI_OUTPUT_FORMAT_16BIT_565_CFG3
#   5: DPI_OUTPUT_FORMAT_18BIT_666_CFG1
#   6: DPI_OUTPUT_FORMAT_18BIT_666_CFG2
#   7: DPI_OUTPUT_FORMAT_24BIT_888
#
# rgb_order:
#   1: DPI_RGB_ORDER_RGB
#   2: DPI_RGB_ORDER_BGR
#   3: DPI_RGB_ORDER_GRB
#   4: DPI_RGB_ORDER_BRG
#
# output_enable_mode:
#   0: DPI_OUTPUT_ENABLE_MODE_DATA_VALID
#   1: DPI_OUTPUT_ENABLE_MODE_COMBINED_SYNCS
#
# invert_pixel_clock:
#   0: RGB Data changes on rising edge and is stable at falling edge
#   1: RGB Data changes on falling edge and is stable at rising edge
#
# hsync polarity: 
#   0: default for HDMI mode
#   1: inverted
#
# vsync polarity:
#   0: default for HDMI mode
#   1: inverted
#
# output_enable_polarity:
#   0: default for HDMI mode
#   1: inverted
#
# hsync phase:
#   0: rising edge
#   1: falling edge
#
# vsync phase:
#   0: rising edge
#   1: falling edge
#
# output_enable phase:
#   0: rising edge
#   1: falling edge
# ---------------------------------------------
dpi_output_format=454661


# ---------------------------------------------
# HDMI timing definitions
#https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=24679
# ---------------------------------------------
# hdmi_timings= <h_active_pixels>
#		  LCD module horizontal resolution
#
#               <h_sync_polarity>
# 		  0: active low
#		  1: active high
#
#               <h_front_porch> 
#		<h_sync_pulse>
#		<h_back_porch>
#		<v_active_lines>
#		  LCD module vertical resolution
#
#		<v_sync_polarity>
# 		  0: active low
#		  1: active high
#
#		<v_front_porch>
#		<v_sync_pulse>
#		<v_back_porch>
#
#		<v_sync_offset_a>
#		<v_sync_offset_b>
#		<pixel_rep>
#
#		<frame_rate>
#		  screen refrech rate (50/60Hz supported only!)#
#
#		<interlaced>
#
#		<pixel_freq>
#		  calculates as: <h_active_pixels> * <v_active_lines> * <frame_rate>
#
#		<aspect_ratio>
#		  HDMI_ASPECT_4_3 = 1
#		  HDMI_ASPECT_14_9 = 2
#		  HDMI_ASPECT_16_9 = 3
#		  HDMI_ASPECT_5_4 = 4
#		  HDMI_ASPECT_16_10 = 5
#		  HDMI_ASPECT_15_9 = 6
#		  HDMI_ASPECT_21_9 = 7
#		  HDMI_ASPECT_64_27 = 8
# ---------------------------------------------
#hdmi_timing for LQ060B3DW0x configuration notes
#h_active_pixels = 800
#h_sync_polarity = 0
#h_front_porch = 30
#h_sync_pulse = 10
#h_back_porch = 38
#v_active_lines = 480
#v_sync_polarity = 0
#v_front_porch = 10
#v_sync_pulse = 3
#v_back_porch = 10
#v_sync_offset_a = 0
#v_sync_offset_b = 0
#pixel_rep = 0
#frame_rate = 60
#interlaces = 0
#pixel_freq = 32000000
#aspect_ratio = 6
# ---------------------------------------------
hdmi_timings=800 0 30 10 30 480 0 10 3 10 0 0 0 60 0 32000000 6
By the way: the BOM cost for my board is 39.44EUR (33.14 + 19% VAT) + PCB cost + Pogo-Pins (optional) + 40-pin connector (BOM is here https://drive.google.com/drive/folders/ ... sp=sharing). I'm using two switching DC/DC which are quite expensive, so you might be interested in designing your own (cheaper) board anyhow.

Project XXX
Posts: 15
Joined: Thu Oct 02, 2014 9:36 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Mon Nov 14, 2016 10:41 pm

Just thought that you already have made a board for the LQ092B5DW01 because I saw that you have postet a picture of the screen, and a link on where you buy them. I'm a really NooB so don't know how to make the board, I can solder yes but have no clue on how to make the PCB. The RFID use the SPI, so think it can share that part. The color scheme you have shown here with the different GPIO connections, what does the different colors mean?

aBUGSworstnightmare
Posts: 564
Joined: Tue Jun 30, 2015 1:35 pm

Re: Pi Zero driving unusual TFT display (768x128pixel)

Tue Nov 15, 2016 6:29 am

Project XXX wrote:Just thought that you already have made a board for the LQ092B5DW01 because I saw that you have postet a picture of the screen, and a link on where you buy them. I'm a really NooB so don't know how to make the board, I can solder yes but have no clue on how to make the PCB. The RFID use the SPI, so think it can share that part. The color scheme you have shown here with the different GPIO connections, what does the different colors mean?
Hi,
yes, I have made a PCB for the LQ092B5DW01 but since I still need to find the right settings for this screen I will not make it available. Once it's running I will open a new tread on the LQ092B5DW01.

I've posted a link because the LQ092B5DW01 is incredibly cheap, means risk is low (3,95EUR) in case one decides to play around with. No need for a 'special adaptor PCB': you simply need some FPC breakout board (i.e. https://www.adafruit.com/products/1492; get two because you will need one for the data signals and another oner for the backlight, a 40-pin FFC - get if from here i.e. https://www.adafruit.com/products/2098, the FFC connectors i.e. http://www.digikey.com/product-detail/e ... ND/2119006 and http://www.digikey.com/product-detail/e ... ND/5155927 for the BL).

Wire it to the RPI, configure DPI and start using it.

Well, might sound simple, but it isn't! You're asking about the meaning of the different colors in the GPIO diagram ... so maybe this is not the right project for you to start with!
The displays - both LQ060B3DW02 and LQ092B5DW01- are 18-bit RGB displays. That translates to 666 = 6 bit for each color. That's what you see in the GPIO diagram. It shows the different color assignments for the supported operating modes.
I'm using the LQ060B3DW02 in mode 5 --> GPIO 4 to 21 were used for the color data. GPIO 0 to 3 were required in addition (refer to https://www.raspberrypi.org/documentati ... /README.md for details on the DPI interface). This let's you use GPIO 22 to 27 for other things.

Return to “Other projects”

Who is online

Users browsing this forum: No registered users and 23 guests