Alternate screens support

Forum for discussion about the Langstone Microwave Transceiver that shares some features with the Portsdown. Wiki: https://wiki.microwavers.org.uk/Langstone_Project
f4iha
Posts: 3
Joined: Tue Sep 14, 2021 7:13 pm

Alternate screens support

Post by f4iha » Tue Sep 14, 2021 7:25 pm

Hi,

I am looking to see if there would some alternate options for screen. With the current global situation it is / it might become really hard to find the listed screen (the Official 7inch or the Hyperpixel4).
Looking on the code, it looks like everything is happening in detectHw() which could be updated to support another 7inch.
I did not see potential Issues on Github related to this. However it might be interesting to expand the support.
Looking forward for your reply on this.

With my VY 73'
Olivier f4iha

g4eml
Posts: 686
Joined: Thu Apr 26, 2018 9:36 am

Re: Alternate screens support

Post by g4eml » Wed Sep 15, 2021 1:10 pm

In principle it could be done, but I am not personally interested in doing it. Also without owning the hardware it would be impossible for me to support it.

Any alternative screen would need to have the same resolution of 800x480 and use the same colour format.

Colin.

g0mjw
Posts: 2346
Joined: Sat Sep 20, 2014 9:15 am

Re: Alternate screens support

Post by g0mjw » Wed Sep 15, 2021 4:54 pm

f4iha wrote:
Tue Sep 14, 2021 7:25 pm

Looking forward for your reply on this.

With my VY 73'
Olivier f4iha
I don't think there is anything stopping you forking the code Olivier. You can then write applications to support any combination you like.

Mike

f4iha
Posts: 3
Joined: Tue Sep 14, 2021 7:13 pm

Re: Alternate screens support

Post by f4iha » Fri Sep 17, 2021 7:18 pm

Mike, Colin, thanks for the feedback. My goal was to check prior to start potential coding activities.
I will build and try with the 7inch display I have currently available. If there are adjustments on the code I will work to apply them.

In case I have a updated version of the code for a specific screen (looks like it would be very probably only on the detectHw() method), would you be happy to get the Peer Review request to include it in your version ? Thanks

Olivier

gm3sbc
Posts: 1
Joined: Sat Sep 25, 2021 12:35 pm

Re: Alternate screens support

Post by gm3sbc » Sat Sep 25, 2021 1:53 pm

Hello Olivier,

If you want an excellent small screen, then the 5 inch TFT- Display with Touch Screen from Dfrobot is the one.

The type number is DFR0550.
You can purchase from Mouser UK or from Dfrobot.com

It is especially designed to have the RPi4 fitted to the rear. Fixings and ribbon cable are supplied. Simply done.

You have only one change to make in the Langstone config file. Change the display rotate to = 0.
The touch screen functionality will then be correct.

Regards
Ed GM3SBC

JA1SYK
Posts: 6
Joined: Fri Sep 15, 2017 11:54 am

Re: Alternate screens support

Post by JA1SYK » Sat Oct 02, 2021 1:39 am

Hello Ed GM3SBC

Thank you for the 5inch display information.
The DFR0550 has arrived on yesterday.
Now it is working well same as the 7inch display.

Thanks again VY 73’
Hiroshi JA1SYK
Attachments
5inch_IMG_1526.JPG
5inch_IMG_1526.JPG (54.76 KiB) Viewed 7463 times

g4eml
Posts: 686
Joined: Thu Apr 26, 2018 9:36 am

Re: Alternate screens support

Post by g4eml » Sat Oct 02, 2021 9:53 am

Thanks Ed and Hiroshi,

Whilst it is difficult to support hardware that I don’t own it is good to know what can be used.

If the touch screen is working without any modifications to the Langstone code then it sounds as if they have used the same touchscreen controller as the official 7” display.

73
Colin G4EML

JA1SYK
Posts: 6
Joined: Fri Sep 15, 2017 11:54 am

Re: Alternate screens support

Post by JA1SYK » Sun Oct 03, 2021 6:19 pm

Hello Colin G4EML,

Thanks a lot for your effort.

In the case of the DFR0550 5” display, I try to use a MicroSD card which was copied from the official 7” display.
Then the 5” display is working well with a copied SD card.

I put each the 7”and the 5”touch screen into each used old instrument box.
Now the 5” is transmitting on 5760MHz, yes the 7” is receiving it.

Thanks again VY 73’
Hiroshi JA1SYK
Attachments
7inch&5inch.jpg
7inch&5inch.jpg (64.67 KiB) Viewed 7327 times

f4iha
Posts: 3
Joined: Tue Sep 14, 2021 7:13 pm

Re: Alternate screens support

Post by f4iha » Sun Oct 03, 2021 7:24 pm

Based on my recent tests, it looks like it should work on any display where the resolution is lower or equal to the official RaspPi 7inch... If you use a screen with an higher resolution the varioous screen will only use part of the screen.

I finally found an official raspi 7inch screen so this will be straightforward but I wanted to raise the point related to the high resolutions.

g4eml
Posts: 686
Joined: Thu Apr 26, 2018 9:36 am

Re: Alternate screens support

Post by g4eml » Sun Oct 03, 2021 8:09 pm

All the graphics write directly to the screen buffer so the resolution is hard coded into many parts of the program. Only displays with a resolution of 800*480 will work, and only if the touchscreen controller matches that of the official Raspberry Pi display or the HyperPixel4 display. It would appear from these posts that the DFR0550 is also suitable.

Colin.

Post Reply

Return to “The Langstone Microwave Transceiver”