Comments on: Let’s add a dirt cheap screen to the Raspberry Pi B+ http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/ "Close enough" Tue, 21 Feb 2017 22:11:42 +0000 hourly 1 https://wordpress.org/?v=4.9.3 By: Robert Ely http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/#comment-7481 Tue, 21 Feb 2017 22:11:42 +0000 http://reasonablycorrect.com/?p=8#comment-7481 That does indeed look like cross talk. It’s going to take some work to debug, shortening the wires may help.

]]>
By: Robert Ely http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/#comment-7480 Tue, 21 Feb 2017 22:10:26 +0000 http://reasonablycorrect.com/?p=8#comment-7480 that’s probably not a DPI screen, it looks 12c from a quick glance. Either way it should come with docs to help. (if it is a good seller.)

]]>
By: Robert Ely http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/#comment-7479 Tue, 21 Feb 2017 22:09:50 +0000 http://reasonablycorrect.com/?p=8#comment-7479 If your screen has a touch controller (a resistive touch controller) there will be 4 pins referenced in your data sheet that need to be routed to a touch controller. Adafruit has some products that build this in.

]]>
By: marius http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/#comment-7350 Tue, 07 Feb 2017 09:38:49 +0000 http://reasonablycorrect.com/?p=8#comment-7350 Hi,

So, I have a sharp LQ038Q5DR01 lcd, and tried to use dpi connection. All looks good except grey scale colors. Tried a lot of configurations but result is the same. Problem is the same as yours,
but I do not use any breadboard, raspberry pi 2 and lcd connected with 20cm(I think) wires.
Here is my images https://goo.gl/photos/KZwVV4gBNXahSyiD7
Could it be that wires are too long ? I dont have shorter to try. What other problems could be ?
Btw, lcd itself is 18bit color, but custom exposed 40pin connector(came with lcd) uses 16bit(rgb 565)

Here is my config.txt

gpu_mem_1024=256
hdmi_ignore_cec_init=1
disable_overscan=1
start_x=1
#dtoverlay=lirc-rpi
disable_splash=0
gpu_mem_256=112
#sdtv_aspect=0
#dtparam=gpio_in_pin=18
gpu_mem_512=144
#dtparam=gpio_out_pin=17
#dtoverlay=spi-bcm2835-overlay

###
# For use with the adafruit 5′ tft only.
##

dtparam=spi=off
dtparam=i2c_arm=off
dtoverlay=dpi24

#overscan_left=0
#overscan_right=0
#overscan_top=0
#overscan_bottom=0

framebuffer_width=320
framebuffer_height=240
#test_mode=1

enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=19

hdmi_timings=320 0 0 0 72 240 0 0 0 5 0 0 0 0 0 3840000 1

]]>
By: Antonio Franco http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/#comment-7235 Fri, 27 Jan 2017 21:25:56 +0000 http://reasonablycorrect.com/?p=8#comment-7235 Hello, Robert!
Wow, the information on this post is overwhelming!
As I’m pretty much a n00b with the Pi, gpios and C, could you help figure out the entries for this tft HAT > http://tinyurl.com/j9jeszc ?

]]>
By: Opher Gazith http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/#comment-7224 Thu, 26 Jan 2017 06:46:41 +0000 http://reasonablycorrect.com/?p=8#comment-7224 Hello, very nice and clear writing, just on the way to do it also. I have though one question about the touch, how should I connect it I need the touch functionality on the screen

]]>
By: Aromo http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/#comment-6532 Fri, 26 Aug 2016 18:57:28 +0000 http://reasonablycorrect.com/?p=8#comment-6532 Hi Robert,

This is an excellent post. Thank you very much.

I would like to use this VGA interface but I would like to use Red Bear’s IoT pHAT as well with Raspberry Zero. And this is the problem: their pins do not fit together.

I have another idea to add a VGA interface to the Raspberry Pi and I would like to know what is your opinion about it. In the original VGA666 there are 18 pins used to output the three color components plus HSYN and VSYN, in total of 20 pins. My idea is to multiplex the color components on only 6 (or 8) pins and to add a clock output with twice of pixel clock.There is – of course – an additional FPLD integrated circuit on the board. The output of the FPLD feeds the D/A converter built with the resistor ladder. The FPLD contains five 6 (or 8) bit latches: two for red and green components and one for the blue. The two latches of the red and green components are connected in serial thus forming a two-stage chain. The first rising edge of the clock writes the red component into the input latch of the red chain, the first falling edge writes the green component into the input latch of the green chain, the second rising edge writes the blue component into the blue latch and in the same moment it transfers the red and green component from the first latch into the second one. Thus the three color components of a pixel are fed in the same moment into the input of the D/A converter.

The advantages of this solution are:
1. pixels are sharp
2. uses less pins than the original version.

This solution needs that red, green and blue pixel components be multiplexed inside the GPU onto the same GPIO pins and a double pixel frequency be provided from the GPU. And this is the point where I do not have enough knowledge. Is this possible to get with the device tree?

Could you tell me your opinion, please?

Best regards,
Aromo

]]>
By: Greg http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/#comment-6364 Sun, 24 Jul 2016 19:37:17 +0000 http://reasonablycorrect.com/?p=8#comment-6364 The is great stuff, but it makes my built-in audio come out sounding frequency-shifted by about a factor of 22/18 (1.2). I can manually modify the sampling rate for audio commands, but that’s about as ugly as it gets. Any ideas?

]]>
By: Gabriel B http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/#comment-6276 Wed, 06 Jul 2016 20:45:54 +0000 http://reasonablycorrect.com/?p=8#comment-6276 Are there enough details in this Samsung datasheet in order to start playing with this spare TFT Friend ?
http://www.beyondinfinite.com/lcd/Library/Samsung/LTN170X2-L02.pdf

– couldn’t figure out many of the variables that I need to calculate the config options…

Thanks in advance !

]]>
By: nicola http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/#comment-6231 Mon, 27 Jun 2016 15:24:36 +0000 http://reasonablycorrect.com/?p=8#comment-6231 Hello Robert,
first of all congratulations for the work you did to use economic parallels rgb display.
I’m trying to make it work on a rpi 3 b.
I did a big job for the hardware interface rpi, and now I’m having problems with the software.
The rpi is equipped with ubuntu mate and I don’t have very clear how to use the dtb you’ve created (dt-blob.bin)
I have to merge it with bcm2710-rpi-3-b.dts and add the information for DPI port and recompile it?

Thanks so much,
Nicola

]]>