manansh
Posts: 9
Joined: Sun Feb 01, 2015 10:22 am

rasberry pi lcd

Wed Jan 20, 2016 9:43 am

hey guys i am i beginner .i recently bought haoyu lcd for my pi http://www.hotmcu.com/320x240-32-tft-to ... l?cPath=36 where can i download the modified rasbian image for it.thanks

User avatar
hansotten
Posts: 341
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: rasberry pi lcd

Wed Jan 20, 2016 9:53 am

On the sellers page a link is to a support page:

http://www.hotmcu.com/wiki/HY28B_-_2.8% ... spberry_Pi

There is shown an image for download (a very very old 2014 version alas).
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

manansh
Posts: 9
Joined: Sun Feb 01, 2015 10:22 am

Re: rasberry pi lcd

Wed Jan 20, 2016 10:03 am

hey thanks i tried that image it does not work :( any other way?

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

Re: rasberry pi lcd

Wed Jan 20, 2016 10:37 am

This display should work with standard Raspbian. Your link says it is hardware and software compatible with HY28b. The HY28b TFT display is supported by Notro's TFT driver and there is a Device Tree overlay for the TFT. So, using a standard Raspbian image add the following to your config.txt file.

Code: Select all

dtoverlay=hy28b,rotate=270
Then reboot. If all goes well, the screen should start white when you power on, but darken when it is initialized by the driver.

Next, a simple way to see if the display is working is to send some random data to it.

Code: Select all

cat /dev/urandom > /dev/fb1
If your screen is working, then you should see random colours displayed.

Next, well that depends on what you want to do with the display ...

manansh
Posts: 9
Joined: Sun Feb 01, 2015 10:22 am

Re: rasberry pi lcd

Wed Jan 20, 2016 12:36 pm

thanks andyd ,the screen works(white screen) but where to send the data (sorry if question is stupid complete beginner)

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

Re: rasberry pi lcd

Wed Jan 20, 2016 12:43 pm

manansh wrote:thanks andyd ,the screen works(white screen) but where to send the data (sorry if question is stupid complete beginner)
A white screen doesn't mean the screen works. When you plug one of these TFT screens into the Raspberry Pi and power up, the screen will be white until it is initialized. If you follow the steps above, your screen should fill with random coloured dots. Then I would be confident that it is working.

I am not sure what you mean by "where to send the data".

Once you have the screen working, then let us know what you want to do with the screen. It really depends on your purpose.

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: rasberry pi lcd

Wed Jan 20, 2016 3:22 pm

This is for the 2.8" version of the HY28B, but should work for your 3.2" - although I haven't tried it, give this a go :
viewtopic.php?f=45&t=105797#p729810

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Return to “General discussion”