Adafruit piTFT 2.8 plus version problem


#22

Hi @GertB!

The webconf configuration process should create all the needed files for the display you selected. You don’t need to create by hand.

Anyway, there is an official SD image that is pre-configure for the PiTFT 2.8’ display, so it should work out-the box. Please, download this SD image and try again:

http://blog.zynthian.org/download/zynthian_gorgona_next_rbpi3_pitft28-2017-11-14.img.torrent

Regards,


#23

Hi Jofomodo, I think this will give me some security. Being a developer myself I know that hardware/software related issues can be very hard to find. My display is a new one, but at this stage, I’ve even doubts about it. If this img. also not works, I’ll wil flash a Linux distribution for the raspberry pi and install the display with the adafruit driver. And to go for sure I’ve ordered a clone also. It will certainly build more then one, once working. So a extra display is welcome. :wink:

Thanks for all the help! Best regards…


#24

I hope the price was less :wink:


#25

That gives hope to me! :wink: Great to see your Disco-Zynthian. Zynthian is such a great project that I was waiting for. Years ago I myself started a stand-alone vst-player project based on a itx board, self (auto) booting (without keyboard connected) Windows xp and a lcd on the printerport. But this Zynthian project has much more potential! I’ve already got some Dutch midi fanatics interested in it. :wink: I already managed to redraw(modify) the pictures for a steel housing into g-code files for cnc machine. (3 layer project wit 3mm bend groove) I have used plastic sheet of 2mm and it works. As soon as I have a working Zynthian I’ll look for a good place at this forum to publish my pictures, movies and files for it. In future I plan to port it (give it a try at least) on a Orange board. Very interesting all this and hoping for raspberry boards with more speed! :wink: So don’t tell I’m not driven! :wink:


#26

Here it is. I think my display has a error.


#27

Is here a error? modules


#28

Hm - my /etc/modules look nearly the same:

root@zynthian:/zynthian/zynthian-ui# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

i2c-dev

# Modules Added by Zynthian System Config

I think the best will be to test with a Raspian and a setup which Adafruit made for this display - just to be sure it works. After that this setup should be copied to a Zynthian setup. Perhaps there is something to add to the Zynthian configuration…

Regards, Holger


#29

Why do you think there is an error? I can’t see anything problematic at the startup of zynthian.sh


#30

I can’t see any error. My Zynthian with PiTFT 2.8’ says:

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
Current Operating System: Linux zynthian 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l
Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Build Date: 11 November 2016  11:59:59AM
xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support) 
Current version of pixman: 0.33.3
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 14 13:30:12 2017
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
INFO:root:Wiring Layout PROTOTYPE-4
DEBUG:root:ZYNCODER A: [26, 25, 0, 4]
DEBUG:root:ZYNCODER B: [21, 27, 7, 3]
DEBUG:root:SWITCHES layout: [107, 23, 106, 2]
DEBUG:root:DISABLED_MIDI_IN = ['']
DEBUG:root:ENABLED_MIDI_OUT = ['MIDI_out']
Zyncoder: Zynswitches poll thread created successfully
Zyncoder: MIDI tuning frequency set to 440 Hz (8192)
INFO:root:SWITCHES INIT...
INFO:root:SETUP GPIO SWITCH 0 => 107
INFO:root:SETUP GPIO SWITCH 1 => 23
INFO:root:SETUP GPIO SWITCH 2 => 106
INFO:root:SETUP GPIO SWITCH 3 => 2
DEBUG:root:ZCTRL 'Layer': 0 (0 -> 2), None, None
DEBUG:root:ZCTRL 'Bank': 0 (0 -> 0), None, None
DEBUG:root:ZCTRL 'Layer': 0 (0 -> 2), None, None

Exactly the same :wink:

You say the display doesn’t show the UI, but the back-light is on or off? Could you try to turn-on the light by hand? The AdaFruit pages should have information about that for your specific model.

Finally, if that is not the problem, you should think that perhaps your display is broken ;-(

Regards,


#31

As @C0d3man said, @GertB you should test the bare system (rPI + display only), with AdaFruit images (https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi/easy-install)

sure


#32

Already leaving that road and thinking of a problem with the display. Will do a final test like I already was thinking of myself and suggested here also. So a Linux distribution for the raspberry and the Adafruit drivers to go for sure. Already contacted the Dutch selling point of my display also.


#33

Almost sure that my display is the problem. Backlight is working and during boot some flickering that’s all. Already contacted the dutch selling point.


#35

Thanks all for the help. After flashing and installing the proper Adafruit img. And testing it on a 3 and a Zero board. I’m now sure that I can speak of a faulty display. Bought it new for more then 50,- euro overhere in the Netherlands, It’s a shame! My Dutch selling point will give some attention to it, I’ve to send it back. Ordered a clone as said. For now a picture of the cnc made enclosure parts by me.

Redrawing(modified) of the steel housing parts in order to make ik from 2mm plastic sheet. Soon more…


#36

Received the clone display this friday. Works perfect!


#37

Hi @GertB!

Nice case. Do you think it would be possible to do with a laser cutter?

Regards,


#38

Hi Jofemodo,

I had many difficulties before achieving this result. Because the material that I’ve used has a very low melting point. I finally succeeded by building air cooling on my cnc machine. :wink: Because of the fine tube(loss of pressure) a still had to use 6 bar! of air pressure and slow down the speed of the cnc machine(about 5mm/sec) and cutter(about 3500/rounds a minute), so to very low speed compared to normal when I’m making holes in standard abs enclosures. So for cnc I would use another material next time, like ABS plastic sheet. But maybe for laser cutting, this low melting point can be a advantage.

So I discussed my problems with this plastic material with the Dutch supplier of it, and he offered me to do it by laser cutter!, which he owns for his business, in case I didn’t succeed. So I think it can be done. Although he didn’t see the drawings. There’s one problem I think in that scenario. On the opposite site, not visible on this picture, are 3mm bending grooves that go half into the material. They are necessary to bend it into a real enclosure. I then even used a hot air gun to overcome breaking on this point of the material. So I think this bend grooves will be a real challenge for a laser cutter or can the bottleneck. I do not have any experience with laser cutting, so I dont know if it is possible to cut half into this material. But I’ve some leftover material so I can send you a sample by post to give it a try and to watch how this material reacts, in case you have access to a powerfull laser cutter. The wooden Zynthian badge tells me you do :wink:


#39

Here’s an idea for the bends: https://youtu.be/arjRtCjI9AQ