naifang
Posts: 2
Joined: Wed Apr 16, 2014 4:21 am

JBtek 3.5 inch TFT LCD

Fri Jul 04, 2014 2:26 am

Hi guys I purchased a JBtek Latest Version 3.5 " inch TFT LCD 480x320 RGB Pixels Touch Screen Display Monitor For Raspberry Pi with Raspberry Pi Transparent Case Kit [May 2014] from Amazon, http://www.amazon.com/gp/product/B00L15FOF4. And I can't figure out how to make it work. Does anyone have a step by step guide on how to set this thing up? The guide from the product page has some info but I can't figure out how to edit the files. I'm fairly new to raspberry pi and any help would be appreciated. Thanks

naifang
Posts: 2
Joined: Wed Apr 16, 2014 4:21 am

Re: JBtek 3.5 inch TFT LCD

Tue Jul 08, 2014 1:30 am

Nobody can help? or nobody has purchased this product?

markwwo4mw
Posts: 9
Joined: Tue Jul 08, 2014 2:03 am

Re: JBtek 3.5 inch TFT LCD

Tue Jul 08, 2014 2:32 am

Got same device, can not make it work. Does not even light up when connected. I connected it so it would fit in the case. Download .rar file. Unpacked it on PC. folder. Sent it over to the RPi with WinSCP. Followed instructions but several problems. Went to makefile using sudo make and nothing much happened but when i manually put compile command gcc -oo in, it did seem to work but did not take very long. mzl350i program did not work. Got bad command error. Also, LCD script file was invalid to be put into the init.d. All it does however is call for the mzl350i program that does not do go-states invalid. SPI listed EPM3032 to xpt2046. I2C to at24co2 . Display controller ili9481, touch panel xpt2046.. Went to put LCD into the init.d file. sudo update-rc.d lcd defaults gave error, lcd not recognized as valid file.

User avatar
AndyD
Posts: 2333
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: JBtek 3.5 inch TFT LCD

Tue Jul 08, 2014 6:54 am

That looks like a nice display and case! From a quick look at the software (and the marking on the back of the PCB) I would think that this board was produced by the same people who made the Tontec and mztx-pi displays. The issue with all these displays is that they are nice displays, but the software appears to be an issue.

The best way to get any of these displays working is to use Notro's fbtft, however at the moment the ili9481 display controller does not appear to be supported.

User avatar
AndyD
Posts: 2333
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: JBtek 3.5 inch TFT LCD

Tue Jul 08, 2014 10:41 am

AndyD wrote:...however at the moment the ili9481 display controller does not appear to be supported.
The PiScreen on kickstarter appears to use the ili9481 display controller.

markwwo4mw
Posts: 9
Joined: Tue Jul 08, 2014 2:03 am

Re: JBtek 3.5 inch TFT LCD

Wed Jul 09, 2014 3:15 pm

Tried to boot with notro tbtft boot image with modules included-no go as expected. I have found the ILI9481.c driver file but do not know what to do further. The MZL350i file software that you download does not make an executable file. Ran make using command in makefile but I believe were errors. http://www.displayfuture.com/Display/da ... er/ILI9481. pdf
https://github.com/wiko-sources/cink-sl ... cm/ili9481

tuffjuff
Posts: 1
Joined: Thu Jul 10, 2014 1:59 am

Re: JBtek 3.5 inch TFT LCD

Thu Jul 10, 2014 2:01 am

The following link is supplied on the Amazon product page, for drivers.

https://s3.amazonaws.com/LCDdriver/mzl350i-pi-ext.rar

I tried these steps, along with the generic LCD driver steps, several times to no avail. I'm really hoping somebody figures this out. :shock:

markwwo4mw
Posts: 9
Joined: Tue Jul 08, 2014 2:03 am

Re: JBtek 3.5 inch TFT LCD

Thu Jul 10, 2014 1:10 pm

Got it working, sort of. Screen came up. copied the mzl350i file to /usr/bin after doing the compiling.
I was also playing around at this website http://michlstechblog.info/blog/raspber ... h-i2c-bus/
Have not gotten the lcd script for the init-d to work so far
Last edited by markwwo4mw on Thu Jul 10, 2014 2:07 pm, edited 1 time in total.

markwwo4mw
Posts: 9
Joined: Tue Jul 08, 2014 2:03 am

Re: JBtek 3.5 inch TFT LCD

Thu Jul 10, 2014 2:00 pm

Working better. Need to have a seperate terminal running in which sudo mzl350i is entered. Close shell and LCD freeze. I think is because don't have it in init.d.

Rob456
Posts: 1
Joined: Thu Jul 10, 2014 6:09 am

Re: JBtek 3.5 inch TFT LCD

Thu Jul 10, 2014 2:23 pm

Bought one as well and haven't had any luck setting it up. Im thinking it may be time to return it to amazon and look at other options, it was a sweet deal while it lasted though.

markwwo4mw
Posts: 9
Joined: Tue Jul 08, 2014 2:03 am

Re: JBtek 3.5 inch TFT LCD

Thu Jul 10, 2014 8:35 pm

I think this will work if u can get it to come up on its own or without having opening up a shell running the program. Have not got the touch screen going but have not tried.
Attachments
JBTEKscreen.jpg
3.5 inch JBTEK MZL350i
JBTEKscreen.jpg (28.39 KiB) Viewed 30893 times

markwwo4mw
Posts: 9
Joined: Tue Jul 08, 2014 2:03 am

Re: JBtek 3.5 inch TFT LCD

Thu Jul 10, 2014 10:05 pm

Got xterminal to come up on monitor, not LCD yet using instructions below. Looking for touchscreen driver install. Have not tried image referred to in the kickstarter project PiScreen. Need help to have the mzl350i program launch initially.
http://ozzmaker.com/enable-x-windows-on-piscreen/

Nickelboy
Posts: 1
Joined: Thu Jul 10, 2014 10:42 pm

Re: JBtek 3.5 inch TFT LCD

Thu Jul 10, 2014 10:53 pm

I have one of these from Amazon too, and doesn't work as shown in the instructions. I don't know what I'm doing, but I do have the screen working. I followed the provided directions with these changes: First remove the hash tags from the Framebuffer lines. Then from within the mzl350-i-ext/src folder I typed sudo ./mzl350i then to make it turn on at reboot I added that to the crontab.

After at least a dozen reboots in last 36hrs it comes right on every time. I haven't had any luck with making the touch work...... :cry:

I'm new to Linux and Raspberry, but maybe orthers can build on that???

It is a power hog, be sure to have good power supply!!
Last edited by Nickelboy on Fri Jul 11, 2014 1:23 pm, edited 1 time in total.

User avatar
AndyD
Posts: 2333
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: JBtek 3.5 inch TFT LCD

Fri Jul 11, 2014 1:33 am

Well that is sad, they are sold out.

blahRoo
Posts: 1
Joined: Mon Jul 14, 2014 12:48 am

Re: JBtek 3.5 inch TFT LCD

Mon Jul 14, 2014 12:56 am

I've got the video on this working, but no clue what to do for the touchscreen portion. Anyone have any ideas?

markwwo4mw
Posts: 9
Joined: Tue Jul 08, 2014 2:03 am

Re: JBtek 3.5 inch TFT LCD

Mon Jul 14, 2014 4:36 am

No luck in getting touch screen to work. Tried with Notro/TBFT examples since tinyLCD35 is supposed to be close and with PiScreen which seems to nearly the same controllers. Also screen wont turn off on reboot and system locks.
Should of thought of buying PiScreen ( https://www.tindie.com/products/ozzmake ... pberry-pi/ but is in Australia.
Anybody have ideas.

tinylcd
Posts: 206
Joined: Sat Oct 26, 2013 4:07 am

Re: JBtek 3.5 inch TFT LCD

Mon Jul 14, 2014 4:50 am

hello

tinylcd products are available on following website

www.neosecsolutions.com

tinylcd

neo19880715
Posts: 6
Joined: Mon Nov 18, 2013 2:13 am

Re: JBtek 3.5 inch TFT LCD

Thu Jul 17, 2014 5:56 am

Yes,it is not easy to get it light, after 3 days,I made it.

If you don't want do this ,you can try this screen. http://www.amazon.com/JBtek-320x240-Dis ... B00LGOS00G This screen has a more detailed description of how to make it work ,you don't need to take so much time,and it has a built-in virtual keyboard ,but it is 3.2inch. Hope it helpful.

momac
Posts: 2
Joined: Tue Jul 22, 2014 1:03 pm

Re: JBtek 3.5 inch TFT LCD

Tue Jul 22, 2014 1:18 pm

Updating... found the switch for the display resolution at the bottom of the mzl350i.c file. I recompiled and got it working very fast thereafter. Seems I was so focused on the loadFrameBuffer_diff functions that I missed the very obvious.
-------------------------------------------------------------------------------------------------------------

I have recently purchased this display (JBtek 3.5") and am having difficulties getting an image. If I do not uncomment the framebuffer lines in boot/config.txt I can see a very blurry and torn image on the screen. However, if I try to uncomment the config.txt lines and set the frame buffer for 480x320 I get an error message stating "Read < 0 chars when loading file ss..." pertaining to config.txt.
I am sure somebody else has run into this. Would anybody who has this display working be kind enough to shed some light? I am on day 4 and not making headway. I am familiar with where the error is coming from (in the mzl350i.c file), I just don't understand how to resolve the problem.
TIA.

jbchow
Posts: 5
Joined: Sat Jul 26, 2014 4:21 am

Re: JBtek 3.5 inch TFT LCD

Sat Jul 26, 2014 4:46 am

Received my display today. Here are some notes hopefully this helps someone. I was unable to extract RAR archive on the pi. 7zip did not support rar format. So I extracted the mzl350i-pi-ext.rar file on my desktop and I copied the mzl350i-pi-ext to the SD card then booted the Pi. (Note: mzl350i-pi-ext should have a src folder and the lcd file inside it, you do not want to have the folders nested ie "mzl350i-pi-ext/mzl350i-pi-ext") One booted opened nano and edited the config. use command "nano /boot/config.txt" find the two lines "#framebuffer_width=1280" and "#framebuffer_height=720" change "#framebuffer_width=1280" to "framebuffer_width=960" and "#framebuffer_height=720" to "framebuffer_height=640" (Note removing sharps and changing numbers) Then I copied the mzl350i-pi-ext to the /home/pi/ directory here is the command you should use "sudo cp -rf /boot/mzl350i-pi-ext /home/pi/" You should now compile the driver on the pi. If you do not have build-essential yet you should run commands "sudo apt-get update" and then "sudo apt-get install build-essential" once that completes change directory to the /home/pi/mzl350i-pi-ext/src directory with command "cd /home/pi/mzl350i-pi-ext/src" and run the command "make" once that command completes you will need to copy the /home/pi/mzl350i-pi-ext/lcd file to the /etc/init.d/ folder using command "sudo cp /home/pi/mzl350i-pi-ext/lcd /etc/init.d/" once you do that you will have to change permissions on the file to allow it to be executed. This can be done with this command. "sudo chmod 755 /etc/init.d/lcd" once you do that you can run the command to register the lcd startup sequence. That command is "sudo update-rc.d lcd defaults" then type "reboot" and hit enter your ie will reboot and the LCD will turn on :-D
List of commands used in order:
nano /boot/config.txt

Then change
#framebuffer_width=1280
#framebuffer_height=720
to
framebuffer_width=960
framebuffer_height=640
(Then Press Ctrl + X to exit, Then Y to save and then hit enter to overwrite file with changes)

sudo apt-get update
sudo apt-get install build-essential
cd /home/pi/mzl350i-pi-ext/src
make
sudo cp /home/pi/mzl350i-pi-ext/lcd /etc/init.d/
sudo chmod 755 /etc/init.d/lcd
sudo update-rc.d lcd defaults
reboot



Now to make the touch screen work....

Jakeyboy
Posts: 4
Joined: Sat Jul 19, 2014 8:14 pm

Re: JBtek 3.5 inch TFT LCD

Sat Jul 26, 2014 6:01 am

Just received mine today as well. Looks nice when it works.

Having trouble with it blanking on me after awhile though. Any one else having these problems?

Also does anyone know how to lower the 100% cpu usage or rotate the screen to portrait?

jbchow
Posts: 5
Joined: Sat Jul 26, 2014 4:21 am

Re: JBtek 3.5 inch TFT LCD

Sat Jul 26, 2014 6:24 am

This seems to me like it is going to sleep (Mine does it too) try disabling sleep.

nano /etc/lightdm/lightdm.conf
change
#xserver-command=X
to
xserver-command=X -s 0 -dpms
then save and reboot (Mine did not recover from reboot very well. if you get random blocks of screen just unplug pi and plug it back in. Should boot fine. I suspect since it is writing to the screen with SPI it might have an incomplete packet which is messing everything up. Power cycling it will clear it back to defaults)

Side Note: If your screen looks fuzzy you may have not taken off the thin plastic protector on top of the screen yet.

max-bit
Posts: 3
Joined: Wed Jul 30, 2014 3:37 pm

Re: JBtek 3.5 inch TFT LCD

Wed Jul 30, 2014 3:44 pm

HI
I bought at the auction Disp LCD:
http://www.ebay.pl/itm/301239157191?ssP ... 1497.l2649
Unfortunately does not work, the seller has no idea why ...
The manual is wrong?
Has anyone met with this display?
Can someone did run the display?
I tested at RPI 512 MB ​​model B (no B +)
The latest version of Debian Wheezy Raspbian.
Definitely need to turn ON in this distribution, the SPI interface (in the original instructions do not write about it) because this connector, (the default is off)

Starkeeper1a2b
Posts: 4
Joined: Tue Jun 04, 2013 2:10 pm

Re: JBtek 3.5 inch TFT LCD

Wed Jul 30, 2014 4:41 pm

I also have this item. have been trying for days to get it to work, the seller is no help, have turned on spi and i2c. alll i can get it to do is turn on the back light. have tried all of the items in this thread. to no avail. noob with linux and the pi. have 3 model b rev2 1 model b rev1 and one new b+

max-bit
Posts: 3
Joined: Wed Jul 30, 2014 3:37 pm

Re: JBtek 3.5 inch TFT LCD

Wed Jul 30, 2014 6:46 pm

Oh, that salesperson deceives us?
I do not know if it really works?
Does anyone have any experience yet?
It get in the general display processor is not loaded software?
Several people here have experimented, but whether with the same LCD?

Return to “Beginners”