Browse Source

notes on resistive screen setup

clementinecomputing 6 years ago
parent
commit
4b7664e134
1 changed files with 47 additions and 0 deletions
  1. 47 0
      experiment/production/Screen-Notes.md

+ 47 - 0
experiment/production/Screen-Notes.md

@@ -0,0 +1,47 @@
+Screen Notes
+===
+
+Resistive touchscreens are probably a necessity as drivers wearing normal gloves will
+not be able to trigger input events to the DIU screen.
+
+There are standard 5 inch resistive touch screens that are available for the RPi.
+I've found one that has an HDMI adapter, USB power, USB mouse out and a 3.5mm audio
+jack ([src](https://www.amazon.com/gp/product/B07C3ZX8BZ)).
+
+Calibration
+---
+
+I'm still a bit unclear about this, but running this 'out of the box' looks like it improved things (?):
+
+```
+sudo bash
+apt-get install libts-bin
+ts_calibrate
+```
+
+There's another program called `ts_test` but I'm having trouble getting that to run.
+
+Sound Issues
+---
+
+Sometimes the first few seconds of sound gets cut off.
+I believe this is caused by the HDMI sound 'going to sleep'.
+
+The following looks to fix the issue:
+
+```
+vcgencmd force_audio hdmi 1
+```
+
+If this issue is present, adding the above line to `rc.local` is advisable.
+
+I believe I'm still hearing the issue after some time.
+Maybe there's a time limit
+or maybe something else makes it go back into it's default state of 'sleep' (the 'dim'
+function perhaps?) so this might need to be done periodically or on a trigger.
+
+References
+---
+
+* Amazon link to ["5inch Raspberry pi LCD HDMI Display Module Resistive Touch Screen 800480 High Resolution HDMI Interface Supports Multi Mini-PCs Multi Systems"](https://www.amazon.com/gp/product/B07C3ZX8BZ).
+* [Raspberry Pi Touchscreen Calibration Screen Rotation](http://www.circuitbasics.com/raspberry-pi-touchscreen-calibration-screen-rotation/)