August 5, 2024
Description
Add a 7" touchscreen to your Ender 3 V2 with this printable mount. You need to flip the top and lower sections upside down in your slicer to avoid supports! Sorry, missed that in Solidworks. Native SLDPRT and STEP files also included.
Refer to pictures for the assembly structure. I personally prefer portrait, it looks less awkward.
Print this in something stiff, especially the landscape files… it can flex if you press hard. I used CF-ASA for this. ABS, ASA, and PC would be the best choices because they will not creep over time and leave the screen at a slight drooping angle due to self-weight.
However when printing with a high-shrinkage material such as ABS, suggest to scale the X/Y dimensions by +1% so that the PCB fits smoothly.
Many 7" screens have a 1024 x 600 resolution. Your screen will be slightly distorted unless you adjust this. You can add this to your config.txt file to force the correct resolution:
#framebuffer_width=1024
#framebuffer_height=600
#hdmi_ignore_edid=0xa5000080
hdmi_cvt=1024 600 60 3 0 0 0
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=87I also had to change the driver from kms to fkms in this same file:
"dtoverlay=vc4-kms-v3d" --> Changes to:
“dtoverlay=vc4-fkms-v3d” For adjusting the screen rotation by 90 deg in software, check this link. Portrait mode for me was the “right” rotation option.
When rotating the screen, often the touchscreen will no longer match. Touching on the left really presses something on the right, etc. You need to transpose this by editing a conf file:
cd /usr/share/X11/xorg.conf.d
sudo nano 40-libinput.confFind the section shown below ("touchscreen catchall") and add in an ‘Option’ command.
90°: Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
180°: Option "TransformationMatrix" "-1 0 1 0 -1 1 0 0 1"
270°: Option "TransformationMatrix" “0 -1 1 1 0 0 0 0 1”
For my portrait orientation, it was the 90 deg option which you can see uncommented in the screenshot above.
License:
Creative Commons — Attribution — Noncommercial
7