mariuszb post at 2016-6-8 17:58:58

Orange Pi PC 3.95 inch display test

Edited by mariuszb at 2016-6-20 19:33

I plugged in and tested the 3.95 inch display with Orange Pi PC and Armbian Jessy.
It can be used for own use, this is only a test programhttp://forum.armbian.com/public/style_emoticons/default/wink.png

http://pl.aliexpress...2236159766.html
https://github.com/flexiti/WiringOP (2 files added :displaytft.c and fonts.h)Just compile and run displayTFT.c file(example directory)( LCD also display CPU temperature)




nopnop2002 post at 2016-6-9 03:35:11

What is the difference between flexiti/WiringOP and zhaolei/WiringOP ?


mariuszb post at 2016-6-9 04:09:11

Edited by mariuszb at 2016-6-15 16:08

DisplayTFT.c file in example ( and simplified access to ports (less transparent but 10 times faster - see #define FAST_DATA)

melanrz post at 2016-6-10 19:38:44

you can use too notro driver for using lcd with framebufer
https://www.youtube.com/watch?v=H7NKQ_STfg0

mariuszb post at 2016-6-11 02:52:48

melanrz
Why download the example you show is through these strange sites ? :) You can not put on Git?
What it is notro driver ?

melanrz post at 2016-6-11 06:33:33

mariuszb replied at 2016-6-11 02:52
melanrz
Why download the example you show is through these strange sites ?You can not put on Git ...

https://github.com/notro/fbtft

mariuszb post at 2016-6-20 17:50:24

Edited by mariuszb at 2016-6-21 19:54

Now I have connected this display using fbtft


This is done as folows:

sudo modprobe fbtft_device name=flexpfb rotate=180 gpios=dc:110,reset:21,wr:1,cs:6,db00:3,db01:68,db02:71,db03:64,db04:2,db05:65,db06:66,db07:67
sudo modprobe flexfb width=320 height=480 buswidth=8 init=-1,0x11,-2,200,-1,0x36,-1,0x3A,0x05,-1,0x36,0x48,-1,0x13,-1,0x29,-1,0x2C,-3

and test picture:

sudo fbi -d /dev/fb8 -T 1 -noverbose -a example.jpg
Video:

sudo apt-get install -y mplayer
sudo SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb8 mplayer -vo sdl -framedrop example.mpg

Why it is extremaly slow ?( 1 frame pre second)
Some hint?


melanrz post at 2016-6-23 04:47:53

mariuszb replied at 2016-6-20 17:50
Now I have connected this display using fbtft




add string on modprobe fbtft_devicespeed=16000000 ,try diferent speed on spi bus whenb is to high screen make artefacts

Manjup post at 2016-6-23 12:44:17

How do i drive this display with Python.
I am doing a project where i display some data on lcd with python how to drive this display and use custom string Characters on it

mariuszb post at 2016-6-23 15:59:54

melanrz replied at 2016-6-23 04:47
add string on modprobe fbtft_devicespeed=16000000 ,try diferent speed on spi bus whenb is to hig ...

This is not SPI device (8 bit paralel) , so speed def is not used
page: [1] 2 3
View full version: Orange Pi PC 3.95 inch display test