mailto: blog -at- heyrick -dot- eu

3.5" LCD display

Something I have wanted for a while is a better quality of display that I could add to one of my ARM boards. Something better than the little 128x64 OLED panel. I mean, the OLED is great for an always-there status, but with a monitor for the Pi and a monitor for the PC, it becomes a problem when switching stuff around means messing with all sorts of things.
What would be nice is a little medium-resolution display module for a device that can mostly "do its stuff" but not run entirely without visual feedback. I also wanted a display device that accepted HDMI input because this should imply that it'll be more or less plug-and-play on the ARM boards. An SPI display, less so.

So... They are available, but they aren't so cheap. The base price is around €30 upwards.

From time to time, Amazon does a special "flash sale" on one of the items in my wishlist. I noticed such a sale on an LCD display panel. No so large at 3.5", but with an HDMI input so no weird interfacing to deal with. List price was around €30 (it was the cheapest non-SPI one I found), Amazon was offering me a third off if I purchased it in the next fifteen minutes.
Well, they reduced the price from "I don't know, I'll have to think about it" to "about the same as a meal for two at McDo". So I prodded the "Buy it now dammit!" button and the order was placed.

It arrived today, from having been ordered on Tuesday (and fulfilled two hours later in their big Italian warehouse, a name like Piacenza (probably spelled that wrongly)).

Here's the box:

Inside is a DVD-R with instructions (scant, mostly in Chinese) and some custom builds of Raspbian and something else, plus a driver (perhaps for other versions of Linux?). Not a whiff of a datasheet...
Under that, the goods:

At the top (just out of sight) is a little plastic stylus. Then the LCD panel. And that thing at the bottom is a back-to-back HDMI connector, designed to plug the display into a Pi. First and foremost, this screen is aimed at being used with the Pi family.

Under that, some random bits of plastic that comprise a sort of... thing upon which to mount the screen on the Pi.

The immediate problem that I ran into was that it doesn't work on any of my Pi devices. It can't work on the Pi2 as that's an always-on server hooked to the big monitor. It doesn't fit the Pi 1 because the headphone jack on the display clashes with the ethernet socket of the Pi, and it doesn't work with the Pi Zero because weirdo tiny connector.

But there was one board that it did manage to fit...

And this, ladies and gentlemen, is the first time I've had any sort of stable output from the Beagle xM that wasn't using s-video!

There was no magic, I just shoved the back-to-back HDMI thingy into both units and powered up. Actually, the display was powered from the Beagle (standard USB 5V), which certainly seems to have a predilection for turning the USB ports off and back on again during start-up. And... has the Beagle always been that slow at getting going? I guess the Pi has spoiled me here...

There is a touch screen, you can see the connections for it to the right of the display. It is probably limited as it is going to be resistive (going by the stylus, plus capacitive is more expensive). I cannot use the touch screen as it appears to communicate using SPI or something else on the GPIO. At any rate, I'm not sure it would be much use with RISC OS, a system very firmly in multiple-mouse-button land.

Some random observations:

  • RISC OS 5.22 stable (booted if I hold the USER button) detects my USB mouse without problems. The current (at time of writing) build of 5.23 (booted by default) does not - meaning I have to unplug and replug for the mouse to be known. Indeed, it is possible there isn't even any USB power to it as the red LED isn't even on inside the mouse.
  • The display panel provides EDID information from 640×480 up to 1920×1080. This display will show them all, however it will do so by scaling the input to fit the panel (which is 480×320). Clearly smaller sizes are better as FullHD, while it would work, would probably be unreadable.
  • The Chars application in RISC OS... Older versions had control codes along the top. The latest version is much fancier supporting encodings and all sorts, however it does not provide character 8 ('H'), not character 13 ('M').
    Why are these important? Because they are interpreted as the Delete key and the Enter key. The initial system setup (using RISC OS 5.22) was performed using Chars and a TaskWindow and picking each character with the mouse. Once I'd moved over to 5.23, I had to go find a keyboard. ☺

So there you have it. A display that finally works well with the Beagle!

 

As I was writing this, I remembered the Pi Zero had a little widget to convert the tiny video output to a more standard HDMI type. So I plugged the Pi Zero into the screen and booted up OSMC. I don't think I'd be able to use the touch features, but this in a box with a plug in mouse and some USB - could make an interesting little media player? Fair enough, the display isn't good (it's nothing like looking at my phone), but it's arguably better than the display on my DVD player!
Something to think about, at least...

 

Anf finally, since this is Rick's b.log, here's the part you've been waiting for...

The touch screen is handled by the IC just below the left side of the GPIO connector. It is an XPT2046 touch screen controller.
On the other side of the GPIO connector is a 25D40 4Mbit serial Flash (512KiB).
Below that is another IC that has had its markings removed, yet looks suspiciously similar. I wouldn't be surprised if this wasn't some sort of Flash as well.

To the lower left (below the metal can of the 27MHz crystal) is a CS4334K 24 bit 96kHz stereo DAC to convert the audio data into analogue sound.

And, of course, the elephant in the room is the RTD2660H flat panel display driver. It seems that the device can support various function keys, IR, on-screen display, analogue RGB plus composite video, and it's an 8051 core. Impressive.

The video panel is 480×320. While the instructions say that it'll support down to this resolution, the EDID doesn't provide anything smaller than 640×480, so that's what RISC OS used. It is a TFT LCD, supporting up to 65536 colours with an aspect ratio of 8:5.

 

This is incomplete/liable to change as I have not used it much yet.

Pros:

  • HDMI so can connect to anything that gives out HDMI signals (uh... my satellite receiver!?) complete with rescaling of pretty much anything up to FullHD
  • Can be powered from micro USB if not powered directly from the Pi's GPIO connector
  • Touch controller - I wasn't really expecting something like that for the price
  • Breaks out embedded audio to a standard 3.5mm jack
  • The one little switch that is fitted can be used to turn the backlight on and off (long press) or adjust the backlight intensity
  • Amazon knocking off a third of the price ;-)

And the Cons:

  • Comes with a back-to-back adaptor for the Pi. Great for the Pi, less so for anything else.
  • The siting of the audio output clashes with the layout of the original Pi. It may well have fit, otherwise...
  • The display panel seems a bit heavy on the blue frequencies.
  • The display driver's temperature depends upon the input. It doesn't get too warm with 640×480, but with FullHD...?

All in all, something to play with.

 

 

Your comments:

Please note that while I check this page every so often, I am not able to control what users write; therefore I disclaim all liability for unpleasant and/or infringing and/or defamatory material. Undesired content will be removed as soon as it is noticed. By leaving a comment, you agree not to post material that is illegal or in bad taste, and you should be aware that the time and your IP address are both recorded, should it be necessary to find out who you are. Oh, and don't bother trying to inline HTML. I'm not that stupid! ☺ ADDING COMMENTS DOES NOT WORK IF READING TRANSLATED VERSIONS.
 
You can now follow comment additions with the comment RSS feed. This is distinct from the b.log RSS feed, so you can subscribe to one or both as you wish.

Rick, 7th April 2018, 18:06
Bought myself a cheap HDMI cable and plugged the display into my satellite receiver. Worked perfectly. 
It was a little shimmery at 576i (50Hz), switching to 576p cured that, and the display was happy all the way up to 1080p (50Hz). 
Nice! Stood there holding the display (powered from the receiver's USB port) and watched a documentary on NHK World.

Add a comment (v0.11) [help?] . . . try the comment feed!
Your name
Your email (optional)
Validation Are you real? Please type 37323 backwards.
Your comment
French flagSpanish flagJapanese flag
Calendar
«   April 2018   »
MonTueWedThuFriSatSun
      
234578
91012131415
161718192021
2425262729
30      

(Felicity? Marte? Find out!)

Last 5 entries

List all b.log entries

Return to the site index

Geekery
 
Alphabetical:

Search

Search Rick's b.log!

PS: Don't try to be clever.
It's a simple substring match.

Etc...

Last read at 18:15 on 2024/11/24.

QR code


Valid HTML 4.01 Transitional
Valid CSS
Valid RSS 2.0

 

© 2018 Rick Murray
This web page is licenced for your personal, private, non-commercial use only. No automated processing by advertising systems is permitted.
RIPA notice: No consent is given for interception of page transmission.

 

Have you noticed the watermarks on pictures?
Next entry - 2018/04/11
Return to top of page