mariuszb post at 2016-6-23 16:03:38

Manjup replied at 2016-6-23 12:44
How do i drive this display with Python.
I am doing a project where i display some data on lcd with...

I do not know well phyton, but if you have a source in C You can easily write the same thing in phyton. :)

mariuszb post at 2016-6-23 16:06:15

I found that with this type of connection (GPIO only) and at different ports so it will be difficult to get more fps.
This LCD with fbtft is unfortunately slower than adopted WiringPO which I have included above. (Fbtft - 1fps, Wiring 2-5fps)
However, using fbtft has many advantages such as. Jpg easy viewing.
But I have one problem - the program with uses fbtft hangs up after an hour or more (the same program with WiringPO operates 24 hours a day).

bhgv post at 2016-6-23 20:51:48

as fast display you can use any LVDS TFT lcd from old monitor/notebook/tablet/phone or buy as spare and hdmi->lvds bridge based on rtd2660/rtd2662/tsumv29/tsumv59 chips (they cost only from $10 on ali/ebay).
http://i.imgur.com/mYUo9k0.jpg

i think there are many other purposes to use GPIOs.

mariuszb post at 2016-6-24 14:36:48

bhgv
The solution you propose is well known but not related to the topic, please open a new topic if you want to describe it.
If you want to do PC computer buying Orange, then simply connectmonitor with HDMI to the board :)

Ps.
Connecting LCD directly reduces size, the number of cables and price and is repeatable - good for embeded applications.

bhgv post at 2016-6-24 20:23:12

@mariuszb
> Connecting LCD directly reduces size, the number of cables and price and is repeatable - good for embeded applications.
tft matrixes are relatively cheap now. if you reuse a matrix from an old device it will cost $0. i think your idea about a monitor costs more (and takes more place, more cables)

about fps and gpio:
if you use 320x240 screen - you should send as minimum 320*240*2 = 153'600 bytes for each single frame. for 10 fps - 320*240*2*10 = 1'536'000 bytes. if you use spi it will be 320*240*2*10*8 = 12'288'000 hz.
2 points:
1) what is the maximum speed of the hardware (gpio-sender and lcd-receiver)? especially the receiver of your 3.5" lcd
2) how about software-driver of your gpio-based solution? is it posiible to place to/to get from memory & to send data with needed frequecy? (for a hdmi the most of hard work does a hardware-driver)

this is a hdmi based example of using lcd in a lowcost embedded application - http://www.hardkernel.com/main/products/prdt_info.php?g_code=G145981837236
you need only a pair of connectors
http://dn.odroid.com/homebackup/201511/7inchdisplayPackagem.jpg
http://dn.odroid.com/homebackup/201511/7inchMTdisplayBack1m.jpg
and no problems with fps.

--------
these were my notes about lowcost embedded and framerate and gpio. but if you don't answer me, i woun't continue to answer you in this topic.
thank you

mariuszb post at 2016-6-25 04:24:20

Edited by mariuszb at 2016-6-25 04:26

You again the same :) :)
Please open new topic :) this is about how to connect particular lcd screen (read title)
Orange Pi + this lcd =15usd(Orange)+ 8usd(LCD) = 23 usd total (free free delivery,no tax because of low value), (You sugest 15+69 + delivery and probably taxdepending on the country)

But once again - this is topic about this (3.95 inch display)particular display
and if You read it, You will notice that is not SPI bus display.
Low fps is no problem in many aplication, but it is normal that if we have it we just try get the most
ehhh.. now topic is not clear

bhgv post at 2016-6-25 21:21:20

@mariuszb
> and if You read it, You will notice that is not SPI bus display.
this link
http://raspberrypi.stackexchange.com/questions/44179/rpi-2-and-3-95-tft-ili9488
tell that your module uses SPI. and hardware SPI here is faster than a couple of bits from different ports

> Orange Pi + this lcd =15usd(Orange)+ 8usd(LCD) = 23 usd total (free free delivery,no tax because of low value), (You sugest 15+69 + delivery and probably taxdepending on the country)
$15 + $11 = $26 usd if you reuse lcd from old notebook (pentium 1, 2, 3, 4, core 1, etc)
$15 + $11 + $24 = $50 usd total if you want to use new 10" IPS screen from Apple Ipad

> ehhh.. now topic is not clear
yes, this is a public forum, anyone can write here. but you can create your own, closed, very clear, where you can speak with only youself.

melanrz post at 2016-6-28 01:58:02

mariuszb replied at 2016-6-23 16:06
I found that with this type of connection (GPIO only) and at different ports so it will be difficult ...

With fbtft hang (freeze) because use gpu,disable gpu and you can have no issue.

mariuszb post at 2016-6-28 15:04:06

melanrz replied at 2016-6-28 01:58
With fbtft hang (freeze) because use gpu,disable gpu and you can have no issue.

to be clear:
- my driver (which uses Wiring) operates 24 hours a day,
- without WiringOP only fbtft driver , the program hangs

How to block gpu? in file fex?

melanrz post at 2016-6-29 16:38:57

mariuszb replied at 2016-6-28 15:04
to be clear:
- my driver (which uses Wiring) operates 24 hours a day,
- without WiringOP only fbtf ...

comment modules mali drm ump in file /etc/modules
page: 1 [2] 3
View full version: Orange Pi PC 3.95 inch display test