piman2000
Posts: 22
Joined: Mon Oct 20, 2014 3:48 am

Raspberry Pi Help with tontec 3.5 inch tft lcd

Mon Jan 12, 2015 1:17 pm

Ok, I have a working raspbian img on my raspberry pi that make my tontec 3.5 inch tft lcd work. All was well untill I relized the display is horizontal and every thing is HUGE! :| i cant fit whole windows on the screen to even connect it to wifi to ssh in to it. :cry: How to I:

1.Flip Vertical
2.Shrink Everything to normal (Readable Size)

If required, I can take pictures and upload them

THANKS!!!!!!! :D

User avatar
DougieLawson
Posts: 34167
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Raspberry Pi Help!

Mon Jan 12, 2015 2:51 pm

Edit /boot/config.txt add

Code: Select all

framebuffer_width=www
framebuffer_height=hhh
#display_rotate=0        Normal
#display_rotate=1         90 degrees
display_rotate=2        180 degrees
#display_rotate=3        270 degrees
with suitable values for www & hhh and either 90, 180 or 270 degree rotation.

Then reboot.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

piman2000
Posts: 22
Joined: Mon Oct 20, 2014 3:48 am

Re: Raspberry Pi Help with tontec 3.5 inch tft lcd

Mon Jan 12, 2015 7:41 pm

Thanks, Hope for good results! Thanks ALL!
Last edited by piman2000 on Tue Jan 13, 2015 7:50 pm, edited 1 time in total.

piman2000
Posts: 22
Joined: Mon Oct 20, 2014 3:48 am

Re: Raspberry Pi Help with tontec 3.5 inch tft lcd

Mon Jan 12, 2015 7:42 pm

also how would i know suitable values far www and hhh?

User avatar
DougieLawson
Posts: 34167
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Raspberry Pi Help with tontec 3.5 inch tft lcd

Mon Jan 12, 2015 8:15 pm

piman2000 wrote:also how would i know suitable values far www and hhh?
How wide is your display in pixels? How tall is your display in pixels? Use those two numbers or pick something at random for lots of fun.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

piman2000
Posts: 22
Joined: Mon Oct 20, 2014 3:48 am

Re: Raspberry Pi Help with tontec 3.5 inch tft lcd

Mon Jan 12, 2015 9:07 pm

haha, thanks i will!


piman2000
Posts: 22
Joined: Mon Oct 20, 2014 3:48 am

Re: Raspberry Pi Help with tontec 3.5 inch tft lcd

Mon Jan 12, 2015 9:49 pm

I changed the buffer www and hhh but there is no :
#display_rotate=0
or any of the others.

Do I add them?

User avatar
DougieLawson
Posts: 34167
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Raspberry Pi Help with tontec 3.5 inch tft lcd

Mon Jan 12, 2015 9:58 pm

You need to uncomment (take the # character off) the option that you want. Try each of the four possible orientations in turn.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

piman2000
Posts: 22
Joined: Mon Oct 20, 2014 3:48 am

Re: Raspberry Pi Help with tontec 3.5 inch tft lcd

Tue Jan 13, 2015 3:52 am

ok, i just looked in config.txt and there no where to be found (Rotation).
I booted up the pi with buffer changed and it was the same. Nothing Changed. Did i do something wrong?

User avatar
DougieLawson
Posts: 34167
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Raspberry Pi Help with tontec 3.5 inch tft lcd

Tue Jan 13, 2015 7:58 am

Are you using NOOBS? You may be hitting the wrong config.txt if you are. Use the NOOBS recovery system and its config editor.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

piman2000
Posts: 22
Joined: Mon Oct 20, 2014 3:48 am

Re: Raspberry Pi Help with tontec 3.5 inch tft lcd

Tue Jan 13, 2015 7:49 pm

How do i install both NOOBS and My version of raspbian? I don't know how to make the tft display work on new versions. Do i need drivers to make it work on new versions? When i connect it to it it is just white. The version i have made the tft work by just pluging it in. It came with the screen.

piman2000
Posts: 22
Joined: Mon Oct 20, 2014 3:48 am

Re: Raspberry Pi Help with tontec 3.5 inch tft lcd

Wed Jan 14, 2015 10:51 pm

is there two config files? i connect it to a windows machine and i only see one config file in the boot folder. What do I do?

Return to “Troubleshooting”