You are not logged in.

#26 2017-11-13 05:33:24

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Support for a SPI TFT 2.4'' screen

I pushed another update, hopefully it will solve the issue. It supports 16bit (5-6-5) channel. But still puzzled why on datasheet it mentioned 18bit for LCD.

Offline

#27 2017-11-13 11:09:28

tekatom
Member
From: Wadowice / Poland
Registered: 2017-11-07
Posts: 16
Website

Re: Support for a SPI TFT 2.4'' screen

Shahin, now the framebuffer works properly
See:
IMG_0094.jpg
IMG_0093.jpg

But still there's an issue when printing process starts and when using /dev/fb1 or /dev/fb0. Printing is stops after displaying first slice. It's only a fast blink, then screen goes black. I've no idea why...  I must add, the picture that blinks seems to be correct.

See:

Notice	1	2017-11-13 10:57:44.695184	Printing	Job Completed
Debug	1	2017-11-13 10:57:44.694706	Pulsing	Movement Finished Pulse 3016 / 3016 ; Height -349 / 2667 ; Time 3.882037085
Debug	1	2017-11-13 10:57:40.812093	Pulsing	Moving Down 3016 pulses 11.31 mm
Debug	1	2017-11-13 10:57:40.811823	Pulsing	Moving to Stop Position
Debug	1	2017-11-13 10:57:40.811458	Pulsing	Movement Finished Pulse 1333 / 1333 ; Height 984 / -349 ; Time 1.709723218
Debug	1	2017-11-13 10:57:39.101332	Pulsing	Moving Up 1333 pulses 4.99875 mm
Debug	1	2017-11-13 10:57:39.099076	Shutter	Shutter Close
Warning	1	2017-11-13 10:57:39.098863	Printing	Stop Command Received
Debug	1	2017-11-13 10:57:39.098429	Shutter	Shutter Close
Debug	1	2017-11-13 10:57:39.095425	Image	Clear screen
Error	1	2017-11-13 10:57:39.095025	Printing	Failed to send image to GPU - Err Code 0
Error	1	2017-11-13 10:57:38.393501	Image	Failure to display image, retrying.
Warning	1	2017-11-13 10:57:37.45022	Image	Display layer public/plates/1/1.png
Debug	1	2017-11-13 10:57:34.448965	Shutter	Shutter Open
Debug	1	2017-11-13 10:57:34.448355	Pulsing	Movement Finished Pulse 1683 / 1683 ; Height 2667 / 984 ; Time 2.46488648
Debug	1	2017-11-13 10:57:31.982785	Pulsing	Moving Up 1683 pulses 6.31125 mm
Debug	1	2017-11-13 10:57:31.982007	Pulsing	Moving to Layer
Debug	1	2017-11-13 10:57:31.981124	Shutter	Shutter Close
Debug	1	2017-11-13 10:57:31.978099	Image	Clear screen
Debug	1	2017-11-13 10:56:33.118158	WiFi	Status Monitoring
Error	1	2017-11-13 10:56:33.116558	WIFI	No WIFI dongle has been found.
Error	1	2017-11-13 10:56:32.804954	Framebuffer	Unsupported framebuffer length. Custom channel implementation will be used. 16 {0 5 0} 5 6 5
Notice	1	2017-11-13 10:56:32.775402	Terminal	Terminal Reader Activated
Debug	1	2017-11-13 10:56:32.774651	Shutter	Shutter Close
Debug	1	2017-11-13 10:56:32.77431	Hardware	Stepper motor enabled
Notice	1	2017-11-13 10:56:32.741309	Hardware	Initializing build # 1723 - generic 

When not using framebuffer, process goes without jam

(nanoDLP build 1723)

Last edited by tekatom (2017-11-13 14:32:30)

Offline

#28 2017-11-13 21:04:58

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Support for a SPI TFT 2.4'' screen

Fixed.

Offline

#29 2017-11-13 22:55:20

tekatom
Member
From: Wadowice / Poland
Registered: 2017-11-07
Posts: 16
Website

Re: Support for a SPI TFT 2.4'' screen

Marvelous.
Now the printing process goes smooth. (nanoDLP build 1725)
I'll prepare informations how to connect and use SPI TFTs with your software and will put them somewhere here. It should be useful for other makers, I think.

Thank you for your time and effort. Good job!

Last edited by tekatom (2017-11-13 23:03:08)

Offline

#30 2017-11-14 04:12:30

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Support for a SPI TFT 2.4'' screen

Thank you for the effort.

Offline

#31 2018-01-18 17:06:28

Scandog72
Member
Registered: 2018-01-18
Posts: 2

Re: Support for a SPI TFT 2.4'' screen

Hi

I am trying to setup and use a 3.5 inch lcd Kuman off Amazon.  Have you been able to create some documentation on the process you used.  The Lcd I have plugs on top of the pi currently

Thanks

Last edited by Scandog72 (2018-01-18 17:07:15)

Offline

#32 2018-01-19 18:18:05

Scandog72
Member
Registered: 2018-01-18
Posts: 2

Re: Support for a SPI TFT 2.4'' screen

I have been able to get nanodlp working on my 3.5 inch screen, but I have one issue.

How can I remove the cursor which is flashing in the bottom left corner?

Thanks

Offline

#33 2020-03-25 18:24:42

Dragut
Member
Registered: 2020-03-23
Posts: 1

Re: Support for a SPI TFT 2.4'' screen

Hi

I am trying to setup and use a 3.5 inch lcd but nothing happens.

My setings:

"
command: cat /proc/cmdline | grep bcm2708_fb

coherent_pool=1M
bcm2708_fb.fbwidth=480
bcm2708_fb.fbheight=320
bcm2708_fb.fbswap=1
smsc95xx.macaddr=B8:27:EB:B7:C9:D7
vc_mem.mem_base=0x1ec00000
vc_mem.mem_size=0x20000000
dwc_otg.lpm_enable=0
console=tty1
console=ttyAMA0,115200
root=/dev/mmcblk0p2
rootfstype=ext4
elevator=deadline
rootwait
fbcon=map:10
fbcon=font:ProFont6x11
logo.nologo


pi@raspberrypi:~ $ fbset -i -fb /dev/fb1

mode "480x320"
    geometry 480 320 480 320 16
    timings 0 0 0 0 0 0 0
    nonstd 1
    rgba 5/11,6/5,5/0,0/0
endmode


Frame buffer device information:
    Name        : fb_ili9486
    Address     : 0
    Size        : 307200
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 0
    YPanStep    : 0
    YWrapStep   : 0
    LineLength  : 960
    Accelerator : No

"

Setings for machine:
frame buffer path: /dev/fb1

Please Help!

Offline

Board footer

Powered by FluxBB