User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

[SOLVED] RB-LCD-7P4-Case problems

Fri Dec 25, 2020 9:11 pm

I got real surprised by the Christmas presents from my adult children and wife (never stated to want this):
Official foundation display, RB-LCD-7P4-Case and Logitech K400+ wireless keyboard.

Today my older son and I tried to install my 8GB Pi4B and the display into the case according instructions:
https://joy-it.net/en/products/RB-LCD-7P4-Case

The instructions were good, but the case openings for USB-C, HDMI connectors and 3.5mm jack were completely wrong:
7P4.orig.15%.jpg
7P4.orig.15%.jpg
7P4.orig.15%.jpg (19.21 KiB) Viewed 4110 times

Only with force it was possible to get the power cable connected at all.
I thought on using my Dremel (will have to use that for CSI-2 camera cable anyway).
But found a simpler solution.

The <M3 screws that fixate Pi4B on standoffs were long enough.
I searched and found four M3 nuts, reopened the case, inserted between standoffs and Pi4B.
Now everything is where it should be -- unlikely that nuts were missing, since they are not mentioned in instructions:
(you can see one added nut left below USB-C PCB)
.
7P4.fixed.15%.jpg
7P4.fixed.15%.jpg
7P4.fixed.15%.jpg (19.88 KiB) Viewed 4110 times

The fan is quite loud, and therefore I disconnected it for testing without.
With fan temperature rose from 37°C to only 54°C when running cpuburn-a53.

Perhaps I was a bit too used to using my Pi400 (same 37..54 range without fan), I did measure with cpuburn again.
Started with 41°C ... and ended with 80°C -- I had forgotton about that.
My Pi4B did hang on bookshelf before, with air on both sides, no fan needed.
In case the new case will turn out to be a real (not artificial cpubrun) heat problem, I will reopen and connect fan, but with an on/off switch on the outside.


The 3.5mm Jack was too near to case for my newer loudspeakers, but a very old one with bendable jack fits perfectly. After using raspi-config for Audio on 3.5mm jack, youtube video sound is good to hear:
20201225_193125.15%.jpg
20201225_193125.15%.jpg
20201225_193125.15%.jpg (40 KiB) Viewed 4110 times
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Mon Jan 18, 2021 12:13 pm

First I used the display mostly with wireless keybord, lately with touch. While 7" display size is acceptable (I prefer 26$ in total 1024x600 9" HDMI no-touch display), with touch 800x480 is definitely too small display resolution. Even with wireless keyboard some gui software is unusable, when popups are much larger than 480 pixels vertically.
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Sun Apr 11, 2021 7:47 pm

Sadly I am in hospital again. This time it was easy for my family to collect just my 8GB Pi4B in case with official display, K400+ keyboard dongle and keyboard as well as power supply. I got Pico+(DVI) and Arducam Pico4ML as well.

It turned out that the 800x480 is not that bad as I stated previously.
I need to read the Pico PDF documentation, and after I found out to click on the three horizontal bars to make the left contents menu disappear, documention is good to read just in browser.

I had turned off the (loud) fan, and saw temperature go above 80°C with cpuburn, but running "pico_setup.sh" reaches 69°C, but kept below 70°C.

With Logitech K400+ wireless keyboard I use the official display as display only, no use of touch functionality.
20210411_211040.15%.jpg
20210411_211040.15%.jpg
20210411_211040.15%.jpg (39.24 KiB) Viewed 3577 times

When back at home I will dremel away part of case to make GPIO pins accessible as in Pi400 -- now the case does not let me use UART connection to the Picos, but USB works.
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

aBUGSworstnightmare
Posts: 3887
Joined: Tue Jun 30, 2015 1:35 pm

Re: [SOLVED] RB-LCD-7P4-Case problems

Mon Apr 12, 2021 6:50 am

Gute Besserung!

You may want to try this viewtopic.php?f=140&p=1850254#p1850254 as it should give you 'some more pixels'. The 7in screen is DSI-1, so change the command.

Or change the framebuffer settings to 1024x614 when using legacy driver.

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Mon Apr 19, 2021 9:19 pm

I found a better arrangement of Pi4B with official display and RB-LCD-7P4 case in hospital:
20210419_222856.15%.jpg
20210419_222856.15%.jpg
20210419_222856.15%.jpg (52.47 KiB) Viewed 3459 times

The hospital scissor does not only help as stand for Arducam Pico4ML (100% part of previous 16MP photo) ...
Pico4ML_foot.png
Pico4ML_foot.png
Pico4ML_foot.png (138.08 KiB) Viewed 3459 times

... but was a good tool for providing access to Pi4B GPIOs in absence of Dremel or other tools from home. With endurance I did drill holes into the case first with scissor, and then forced away bigger parts of acryllic case. The open part allows access to GND+GPIO14+GPIO15 I need for UART connection to Pico for adding networking over USB for Pico Micropython (REPL over UART)
viewtopic.php?f=146&t=309936
20210419_223815.15%.jpg
20210419_223815.15%.jpg
20210419_223815.15%.jpg (39.48 KiB) Viewed 3459 times
Only these pins are used from Pi4B for driving officila display:

Code: Select all

display  Pi4B
GND      Pin14
5V       Pin2
SDA      Pin3
SCL      Pin5

P.S:
Really works:
viewtopic.php?f=146&p=1854481#p1854481
Image
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Fri Jul 09, 2021 5:08 pm

HermannSW wrote:
Mon Jan 18, 2021 12:13 pm
Even with wireless keyboard some gui software is unusable, when popups are much larger than 480 pixels vertically.
I am working with this display with gimp, and that has some of those problems. Even saving a file, while possible, typing filename is done without being able to see what you type.

Worse for using gimp with 480 rows display is, that you cannot see the bottom part of gimp, which shows the current coordinates in image, and the results of "measure" tool:
Is there some trick to see the coordinates/measure results somehow?
2021-07-09-185802_800x480_scrot.png
2021-07-09-185802_800x480_scrot.png
2021-07-09-185802_800x480_scrot.png (115.1 KiB) Viewed 2874 times
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

aBUGSworstnightmare
Posts: 3887
Joined: Tue Jun 30, 2015 1:35 pm

Re: [SOLVED] RB-LCD-7P4-Case problems

Sat Jul 10, 2021 7:26 am

You're on a Pi4 which is running FKMS by default.
So, one solution for getting around your problem is trying to use the '--scale' option of xrandr.

I have a DIY full-portable Pi which is using a 5.6in VGA display
Image
Image

With the native VGA resolution my GIMP desktop looks like below; same problem as you because the GUI is not designed for 480pixel high displays.
2021-07-10-091216_640x480_scrot.png
native VGA resolution desktop
2021-07-10-091216_640x480_scrot.png (66.34 KiB) Viewed 2832 times
Running below command pimps my desktop to 1024x768pixels which then looks like the next image.

Code: Select all

pi@raspberrypi:~ $ xrandr --output DSI-1 --primary --scale 1.6x1.6
2021-07-10-091255_1024x768_scrot.png
desktop when scaled to XGA
2021-07-10-091255_1024x768_scrot.png (86.18 KiB) Viewed 2832 times
Simply try it on your 7in, it's FOC and you can revert at any time either by using a 1.0 scale factor or by power-cycling. Drawback on the official 7in DSI: pixels are rectangular, not square, so display will look odd at some point.

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Sat Jul 10, 2021 8:28 am

@aBUGSworstnightmare
Thank you so much.
I did not post to complain, but to get a solution.
And you provided the most flexible temporary solution I can think of!

I will use display with 1x1 resolution by default, but now can just temporarily increase to 1.6x1.6 (1.5x1.5 does not show gimp cooordinates at bottom), and can switch back to 1x1 when not needing increased resolution anymore. I tested that even 1x1.6 works if only reading gimp coordinates or measurement is needed, but the aspect is strange then.

With 1.6x1.6 the 600x600 blue square looks quite square to me -- thank you!
Now I am gimp toolwise well equipped for my further hospital stay ;-)
20210710_101253.15%.jpg
20210710_101253.15%.jpg
20210710_101253.15%.jpg (39.93 KiB) Viewed 2821 times
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

aBUGSworstnightmare
Posts: 3887
Joined: Tue Jun 30, 2015 1:35 pm

Re: [SOLVED] RB-LCD-7P4-Case problems

Sat Jul 10, 2021 9:54 am

You're welcome!
Gute Besserung!

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Sun Jul 11, 2021 8:18 am

Thanks, I created "zoom" bash script for ease of use:

Code: Select all

pi@raspberrypi4B:~ $ cat ~/.local/bin/zoom 
#!/bin/bash
if [[ $# -eq 0 ]]; then fx=1; else fx=$1; fi 
if [[ $# -le 1 ]]; then fy=$fx; else fy=$2; fi 
xrandr --output DSI-1 --primary --scale ${fx}x${fy}
pi@raspberrypi4B:~ $ 

Script accepts 1, 2 or 0 arguments:

Code: Select all

pi@raspberrypi4B:~ $ scrot
pi@raspberrypi4B:~ $ zoom 2
pi@raspberrypi4B:~ $ scrot
pi@raspberrypi4B:~ $ zoom 2 1
pi@raspberrypi4B:~ $ scrot
pi@raspberrypi4B:~ $ zoom 1.2 1.6
pi@raspberrypi4B:~ $ scrot
pi@raspberrypi4B:~ $ zoom
pi@raspberrypi4B:~ $ scrot

The created full screen screnshot names show display size when captured:

Code: Select all

pi@raspberrypi4B:~ $ ls -l 2021-07-11*
-rw-r--r-- 1 pi pi  129002 Jul 11 10:10 2021-07-11-101017_800x480_scrot.png
-rw-r--r-- 1 pi pi 1287728 Jul 11 10:10 2021-07-11-101025_1600x960_scrot.png
-rw-r--r-- 1 pi pi  520166 Jul 11 10:10 2021-07-11-101038_1600x480_scrot.png
-rw-r--r-- 1 pi pi  530667 Jul 11 10:10 2021-07-11-101053_960x768_scrot.png
-rw-r--r-- 1 pi pi  156197 Jul 11 10:11 2021-07-11-101101_800x480_scrot.png
pi@raspberrypi4B:~ $ 
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Fri Jul 16, 2021 9:42 am

While I used "zoom 1.6" a lot, that displays 8x8 X11 pixel areas onto 5x5 display pixels.

I tried "zoom 1.5" instead, and those results look nicer to me. Here 3x3 X11 pixel areas are displayed on 2x2 display pixels. This zoom provides 1200x720 X11 zoom on original Raspberry 800x480 display.
lxterminal looks best for me at that zoom when zooming in 4x with <CTRL>+<+>, as shown in photo.
Even small browser fonts can be read well with "zoom 1.5".


16MP photo: https://stamm-wilbrandt.de/en/forum/20210716_112705.jpg
Scaled to 15%:
20210716_112705.15%.jpg
20210716_112705.15%.jpg (32.48 KiB) Viewed 2605 times
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Fri Jul 16, 2021 9:42 pm

It looks as if I have to stay longer in hospital, so my younger son did bring HQ camera and screwdriver when visiting me today. I opened the case and connected camera flex cable with Pi4B. Surprisingly it had enough space to leave the case just above the two HDMI connectors, without any problems:
20210716_192404.jpg
20210716_192404.jpg (78.27 KiB) Viewed 2580 times

Before closing the case I connected case fan with 5V and GND from Pi4B (last time fan seemed too loud to me and I did not connect):
20210716_192234.jpg
20210716_192234.jpg (83.69 KiB) Viewed 2580 times

Today fan did not sound loud. The maximally zoomed lxterminal shows temperature every second. As can be seen teperature keeps below 60°C although cpuburn was running on all cores for 25 minutes already at that time! Without fan no load temperature was in low 60s. With fan no load temperature is below 41°C ...
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Sat Jul 17, 2021 8:58 pm

I had to write last posting with smartphone, since I lost ability to boot the Pi4B after a "sudo apt upgrade" where hospital network Wifi kicked out the Pi4B during upgrade.

I was able to fully repair the SD card with just smartphone, OTG micro SD card reader and a 2nd microSD card; details in this thread:
viewtopic.php?f=29&t=315970


HQ camera works (view onto other side of Neckar valley, Heidelberg/Germany):
Image


P.S:
  1. having to open the case for switching SD card is not nice
  2. when back at home I will add ability to control fan
    1. by adding hardware switch on outside of case
    2. or adding PWM control, eg. using IRF520 mosfet
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

chita
Posts: 5
Joined: Sun Jan 21, 2018 6:22 am

Re: [SOLVED] RB-LCD-7P4-Case problems

Sat Jul 17, 2021 10:22 pm

Hi
Sorry @HermannSW failed to get your attention so I am posting on this wrong thread regarding your following post

viewtopic.php?t=226670

Was zero goo enough to handle multiple camera feed? fps?

Thanks!!

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Sun Jul 18, 2021 7:25 am

chita wrote:
Sat Jul 17, 2021 10:22 pm
so I am posting on this wrong thread regarding your following post

viewtopic.php?t=226670

Was zero goo enough to handle multiple camera feed? fps?
Please create a new thread (in camera forum) if you have more questions.
Pi0 can record 1920x1080@30fps with Raspberry v1 camera clone.
viewtopic.php?p=1319617#p1196344
rc_airplane_pi0.jpg
rc_airplane_pi0.jpg
rc_airplane_pi0.jpg (22.9 KiB) Viewed 2430 times
With USB camera less, and with 3 USB cameras much less fps.
Better use one (5$) Pi0 per Raspberry camera (3$/25$/50$ for v1 clone/v2/HQ).


Yesterday two times camera cable came too close to nearby USBC cable powering the Pi4B. Capturing images/videos became impossible, last preview showed junk overlay, and 2nd time even "sudo shutdown 0" did not work, had to powercycle. So I searched for other way to let camera flex cable come out of case. I did saw and then break away case ligament between pairs of Pi4B USB ports. Now cable leaves the case in natural direction and does not have to turn 90° as before:
20210718_084907.15%.jpg
20210718_084907.15%.jpg
20210718_084907.15%.jpg (41.19 KiB) Viewed 2430 times

No problems anymore with camera after this change (raspi2png screenshot capturing raspistill focus window):
snapshot.png.jpg
snapshot.png.jpg
snapshot.png.jpg (58.63 KiB) Viewed 2430 times
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

chita
Posts: 5
Joined: Sun Jan 21, 2018 6:22 am

Re: [SOLVED] RB-LCD-7P4-Case problems

Wed Jul 28, 2021 11:45 pm

HermannSW wrote:
Sun Jul 18, 2021 7:25 am
chita wrote:
Sat Jul 17, 2021 10:22 pm
so I am posting on this wrong thread regarding your following post

viewtopic.php?t=226670

Was zero goo enough to handle multiple camera feed? fps?
Please create a new thread (in camera forum) if you have more questions.
Pi0 can record 1920x1080@30fps with Raspberry v1 camera clone.
viewtopic.php?p=1319617#p1196344
rc_airplane_pi0.jpg
With USB camera less, and with 3 USB cameras much less fps.
Better use one (5$) Pi0 per Raspberry camera (3$/25$/50$ for v1 clone/v2/HQ).


Yesterday two times camera cable came too close to nearby USBC cable powering the Pi4B. Capturing images/videos became impossible, last preview showed junk overlay, and 2nd time even "sudo shutdown 0" did not work, had to powercycle. So I searched for other way to let camera flex cable come out of case. I did saw and then break away case ligament between pairs of Pi4B USB ports. Now cable leaves the case in natural direction and does not have to turn 90° as before:
20210718_084907.15%.jpg


No problems anymore with camera after this change (raspi2png screenshot capturing raspistill focus window):
snapshot.png.jpg


Thank you so much for your detailed explanation. Actually managing the pi camera cable is problematic for me that is why wanted to use a
few cheap USB cameras, send the multiple videos stream over wifi to my cellphone/tablet.

User avatar
HermannSW
Posts: 4821
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: [SOLVED] RB-LCD-7P4-Case problems

Sat Sep 11, 2021 9:38 pm

This original Raspberry micro HDMI to HDMI (A/M) cable had no visit by mice (here connected to Pi400):
https://www.raspberrypi.org/products/mi ... i-a-cable/
orig.micro.hdmi.cable.png
orig.micro.hdmi.cable.png
orig.micro.hdmi.cable.png (138.4 KiB) Viewed 1373 times

It just did not fit into RB-LCD-7P4-Case, not enough room. Some work with screw driver was needed to reduce the thick plastic far enough so that cable fits into the Pi4B HDMI connector in the case easily.
https://github.com/Hermann-SW/memrun
https://stamm-wilbrandt.de/2wheel_balancing_robot
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

Return to “Official Display”