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

Re: 3.5 Inch TFT Display for Raspberry Pi

Tue Mar 24, 2015 4:36 am

hello

we have not tested it with debian

but one of our client have compiled and tested it with

ARCH linux ARM kernel (linux-raspberrypi-3.18.8-3)

and found it to be working satisfactorily

regards
tinylcd

micahf
Posts: 3
Joined: Sat Mar 28, 2015 10:29 pm

Re: 3.5 Inch TFT Display for Raspberry Pi

Wed Apr 01, 2015 4:38 am

I have a screen that is very similar to this, but i believe this question still applies. Is there any way to scale the screen resolution so that eachpixel displays two pixels? This way, more could fit on the screen, and it would be more usable.

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

Re: 3.5 Inch TFT Display for Raspberry Pi

Wed Apr 01, 2015 9:58 am

Hello

as per my knowledge i doubt if we can stretch the screen resolution beyond 480x320 for our 3.5 inch TFT

but we do have a 7 inch screen with pixels as high as 1024x600

you can see them at below link

http://www.neosecsolutions.com//index.p ... c71adc2b85

regards
tinylcd

nopnop2002
Posts: 17
Joined: Sat Sep 28, 2013 11:40 am

Re: 3.5 Inch TFT Display for Raspberry Pi

Fri Jun 19, 2015 9:12 pm

hello.
I'd like to use this module without fbtft driver.
I'd like to know the model number of the tft controller chip used by this module.

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

Re: 3.5 Inch TFT Display for Raspberry Pi

Mon Jun 22, 2015 4:18 am

Hello

we do not recommend it to use without fbtft

because the speed is very slow without fbtft

regards
tinylcd

giorgiofolle
Posts: 45
Joined: Thu Jan 17, 2013 12:35 pm

Re: 3.5 Inch TFT Display for Raspberry Pi

Wed Jul 08, 2015 3:40 pm

Now i read:
The FBTFT drivers are included in the Raspberry Pi Foundation kernel and can be installed with plain rpi-update.
There is one piece missing and that is a DMA capable SPI controller driver to get max performance. So for fbcp and showing movies, the FBTFT kernel still has to be used.

So, the modules are inclusive in the new kernel ? because i have updated my rpi but the screen doesn't works "out of the box"

i have a classic 3.5 screen , no touch

Thanks

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

Re: 3.5 Inch TFT Display for Raspberry Pi

Thu Jul 09, 2015 1:02 am

giorgiofolle wrote:So, the modules are inclusive in the new kernel ? because i have updated my rpi but the screen doesn't works "out of the box"

i have a classic 3.5 screen , no touch

Thanks
Yes, the modules are now a part of the standard Raspbian kernel, but it is not plug and play. Firstly you need to load the module by adding a line to config.txt. There is a readme file in the /boot/overlay directory.

I use the following:

Code: Select all

dtoverlay=tinylcd35,rotate=270
This will create a new display device (/dev/fb1). However, nothing will be displayed by default. If you want the desktop on the LCD you will need to modify a few files to get the desktop to use /dev/fb1 rather than /dev/fb0.

lovermonkey
Posts: 67
Joined: Wed Oct 14, 2015 4:50 am

Re: 3.5 Inch TFT Display for Raspberry Pi

Thu Oct 15, 2015 2:07 pm

Once you have the drivers installed, is it easy to go for this 3.5 inch screen back to my hdmi?

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

Re: 3.5 Inch TFT Display for Raspberry Pi

Sat Oct 17, 2015 4:39 am

Hello

the answer to your query is YES and NO

Yes because

It works as long as you direct your output to the right framebuffer (/dev/fb0 is hdmi, /dev/fb1 is the TFT).

No because

you cannot display two independent images on the two screens

it will be a mirror image

regards
tinylcd

lovermonkey
Posts: 67
Joined: Wed Oct 14, 2015 4:50 am

Re: 3.5 Inch TFT Display for Raspberry Pi

Mon Oct 19, 2015 9:10 pm

tinylcd wrote:Hello

the answer to your query is YES and NO

Yes because

It works as long as you direct your output to the right framebuffer (/dev/fb0 is hdmi, /dev/fb1 is the TFT).

No because

you cannot display two independent images on the two screens

it will be a mirror image

regards
tinylcd
I don't need the hdmi and the 3.5 inch to work at the same time. But I need to be able to switch them without a lot of hassle. I plan to have the 3.5 when on the road, but when I get back I would like to take off the 3.5 and switch to hdmi. How easy is that?

Also when I am on the road I have a terminal that comes up displaying information. How large does the terminal display have to be to fill the screen on this 3.5 inch? If that made sense at all. LOL

Oh and thank you for your help.

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

Re: 3.5 Inch TFT Display for Raspberry Pi

Tue Oct 20, 2015 5:04 am

Hello

this can be achieved by using a gpio pin

a slide switch can be connected to a gpio pin

and depending on the high or low status of the GPIO the display fbc can be selected for hdmi(GPIO high) or spi(gpio Low)

regards
tinylcd

lovermonkey
Posts: 67
Joined: Wed Oct 14, 2015 4:50 am

Re: 3.5 Inch TFT Display for Raspberry Pi

Tue Oct 20, 2015 1:10 pm

tinylcd wrote:Hello

this can be achieved by using a gpio pin

a slide switch can be connected to a gpio pin

and depending on the high or low status of the GPIO the display fbc can be selected for hdmi(GPIO high) or spi(gpio Low)

regards
tinylcd
I assume this is something that I would have to tell it via script etc or is it automatic with setup they give you?(Meaning software setup)

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

Re: 3.5 Inch TFT Display for Raspberry Pi

Wed Oct 21, 2015 5:32 am

hello

need to incorporate a special setup

for this requirement

regards
tinylcd

Deadpan Robot
Posts: 1
Joined: Sat Nov 21, 2015 10:38 pm

Re: 3.5 Inch TFT Display for Raspberry Pi

Sun Nov 22, 2015 4:31 pm

giorgiofolle wrote: Yes, the modules are now a part of the standard Raspbian kernel, but it is not plug and play. Firstly you need to load the module by adding a line to config.txt. There is a readme file in the /boot/overlay directory.

I use the following:

Code: Select all

dtoverlay=tinylcd35,rotate=270
This will create a new display device (/dev/fb1). However, nothing will be displayed by default. If you want the desktop on the LCD you will need to modify a few files to get the desktop to use /dev/fb1 rather than /dev/fb0.
Could you please give an example of the files you need to modify?

Many thanks in advance for your time,
Juan

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

Re: 3.5 Inch TFT Display for Raspberry Pi

Sun Nov 22, 2015 8:59 pm

Deadpan Robot wrote:Could you please give an example of the files you need to modify?

Many thanks in advance for your time,
Juan
Edit the file /usr/share/X11/xorg.conf.d/99-fbturbo.conf using "sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf" and change the line

Code: Select all

Option "fbdev" "/dev/fb0"
to

Code: Select all

Option "fbdev" "/dev/fb1"

alzi123
Posts: 1
Joined: Tue Jan 17, 2017 8:02 am

Re: 3.5 Inch TFT Display for Raspberry Pi

Tue Jan 17, 2017 8:07 am

Hello stevejferry,

I read your post:
>by stevejferry » Tue Jul 15, 2014 7:34 am
>The Pi boots with the LCD as default, the output to the HDMI gets switched off.
>Once the Pi has booted, is it possible to switch between HDMI and LCD output?
>Steve.

Have you solved this problem using the LCD-display parallel to the HDMI output?
I have the same problem at the moment.
Greetings
alzi123

Seanzky
Posts: 5
Joined: Sun May 03, 2015 6:16 am

Re: 3.5 Inch TFT Display for Raspberry Pi

Sat Mar 25, 2017 1:46 am

Is there a way to not use the image I got with these screens and just use Raspbian? If so how?

tothambrus11
Posts: 1
Joined: Thu Dec 01, 2016 3:09 pm

Re: 3.5 Inch TFT Display for Raspberry Pi

Fri May 05, 2017 5:46 pm

1.

Code: Select all

wget http://www.waveshare.com/w/upload/4/4b/LCD-show-161112.tar.gz
2.

Code: Select all

tar xvf LCD-show-161112.tar.gz
3.

Code: Select all

cd LCD-show/
4.

Code: Select all

./LCD35-show
If you want to rotate the screen, you can use the following commands:
0 degrees:

Code: Select all

cd LCD-show/
./LCD35-show 0
90 degrees:

Code: Select all

cd LCD-show/
./LCD35-show 90
180 degrees:

Code: Select all

cd LCD-show/
./LCD35-show 180
270 degrees:

Code: Select all

cd LCD-show/
./LCD35-show 270

Geekworm
Posts: 27
Joined: Wed May 03, 2017 9:26 am
Location: China
Contact: Website

Re: 3.5 Inch TFT Display for Raspberry Pi

Wed May 10, 2017 3:02 am

:D :D :D
Geekworm Official Store!
Contact: gk@geekworm.net
Know more Raspberry Pi Related Product Information: http://www.raspberrypiwiki.com/index.php/Product_Manual#Raspberry_Pi

batpete73
Posts: 2
Joined: Tue Dec 05, 2017 4:57 pm

Re: 3.5 Inch TFT Display for Raspberry Pi

Tue Dec 05, 2017 7:29 pm

Before we get into the steps make sure you have SSH enabled and can connect to the PI.
enable SSH

Code: Select all

sudo raspi-config
1. interface options
a. enable SSH

to get your IP address

Code: Select all

ifconfig
verify you can connect via SSH by using putty or some other client

configure PI for the touch screen

Code: Select all

sudo raspi-config
1. under advanced options
a.expand filesystem

2. boot options
a.desktop/cli
I.desktop autologin
Install touch screen
download the drivers for the touch screen. Please note these are the newer drivers vs 161112 that everyone else was trying to install along with we are using LCD35B vs just LCD35.

Code: Select all

wget http://www.waveshare.com/w/upload/0/00/LCD-show-170703.tar.gz

Code: Select all

tar xvf LCD-show-170703.tar.gz
cd LCD-show/
chmod +x LCD35B-show
this next command will reboot the PI and make an attempt to display on the touch screen and if it doesn't work this is why you want SSH enabled so you can switch it back to the HDMI setting.

Code: Select all

./LCD35B-show
to toggle between HDMI and the touch screen
HDMI

Code: Select all

cd LCD-show/
./LCD-hdmi
touchscreen

Code: Select all

cd LCD35B-show/
For screen rotation
0 degrees

Code: Select all

cd LCD-show/
./LCD35B-show 0
90 degrees

Code: Select all

cd LCD-show/
./LCD35B-show 90
180 degrees

Code: Select all

cd LCD-show/
./LCD35B-show 180
270 degrees

Code: Select all

cd LCD-show/
./LCD35B-show 270
I did not have to calibrate the touch screen as it was already spot on.
Calibration
If you do require calibration you need to install input-calibrator

Code: Select all

sudo apt-get install -y xinput-calibrator
sudo DISPLAY=:0.0 xinput_calibrator
After running these commands, there will be a prompt for four-point calibration shown in the LCD screen. Click the points one by one to finish the touch calibration. Then, the new calibration data will be displayed in the terminal, as shows below. Please get these data for future use.

Code: Select all

Doing dynamic recalibration:
Setting new calibration data: 3919, 208, 236, 3913
Enter the following command to edit 99-calibration.conf:

Code: Select all

sudo nano /etc/X11/xorg.conf.d/99-calibration.conf
Then, the old calibration data will be displayed in the terminal:

Code: Select all

Section "InputClass"
Identifier	"calibration"
MatchProduct	"ADS7846 Touchscreen"
Option	"Calibration"	"160 3723 3896 181"
Option	"SwapAxes"	"1"
EndSection
Modify the calibration data to the new calibration data displayed above):

Code: Select all

Section "InputClass"
Identifier	"calibration"
MatchProduct	"ADS7846 Touchscreen"
Option	"Calibration"	"3919 208 236 3913"
Option	"SwapAxes"	"1"
EndSection
Press the keys Ctrl+X, and select the option Y to save the modification.

The modification will be valid after rebooting the system. Enter the following command for system reboot:

Code: Select all

sudo reboot
enable camera
If you want to enable the camera with it

Code: Select all

sudo raspi-config
1. interface options
a. enable camera

Copy camera driver

Code: Select all

wget https://www.waveshare.com/w/upload/f/f0/RPi-Camera-Driver-for-GPIO-LCD.zip
then unzip the camera

Code: Select all

unzip camera.zip
cd camera
sudo chmod 777 Camera
sudo cp update\ camera/95-stmpe.rules /etc/udev/rules.d/
Create a file called wheezy.list

Code: Select all

sudo nano /etc/apt/sources.list.d/wheezy.list
Append

Code: Select all

deb http://archive.raspbian.org/raspbian wheezy main
Press the keys Ctrl+X, and select the option Y to save the modification.
Create a file called 10defaultRelease.

Code: Select all

sudo nano /etc/apt/apt.conf.d/10defaultRelease
Append

Code: Select all

APT::Default-release \"stable";
Press the keys Ctrl+X, and select the option Y to save the modification.
Create a file called libsdl.

Code: Select all

sudo nano /etc/apt/preferences.d/libsdl
Append

Code: Select all

Package: libsdl1.2debian
Pin: release n=jessie
Pin-Priority: -10
Package: libsdl1.2debian
Pin: release n=wheezy
Pin-Priority: 900
Press the keys Ctrl+X, and select the option Y to save the modification.
execute the commands which will enable the camera

Code: Select all

sudo apt-get update
sudo apt-get -y --force-yes install libsdl1.2debian/wheezy
sudo apt-get install evtest tslib libts-bin xinput
sudo apt-get install python-pip 
sudo apt-get install python2.7-dev
sudo pip install picamera==1.10 
sudo reboot
sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/touchscreen ts_calibrate
you can also get all of this information from the website https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(B)

Return to “For sale”

Who is online

Users browsing this forum: No registered users and 1 guest