Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kb:raspberrypi [2019/12/03 14:57]
yehuda [Raspberry pi]
kb:raspberrypi [2019/12/10 16:27] (current)
yehuda
Line 7: Line 7:
 ===== Enable ssh over USB @ Raspberry pi ===== ===== Enable ssh over USB @ Raspberry pi =====
 at sd- "​boot"​ partition at sd- "​boot"​ partition
 +  - add ssh file <code bash>​touch ssh</​code>​
   - in config.txt should append <​code>​ dtoverlay=dwc2 </​code>​   - in config.txt should append <​code>​ dtoverlay=dwc2 </​code>​
   - in cmdline.txt should add after rootwait <​code>​modules-load=dwc2,​g_ether</​code> ​   - in cmdline.txt should add after rootwait <​code>​modules-load=dwc2,​g_ether</​code> ​
Line 15: Line 16:
 sudo raspi-config sudo raspi-config
 </​code>​ </​code>​
 +
 +===== LCD Model =====
 +Got device from https://​www.aliexpress.com/​item/​32945416376.html
 + How to use it with Raspbian system
 +
 + 
 +
 +This LCD Module need install driver first.
 +
 + 
 +==== Install ====
 +Open terminal(SSH) and install the driver on RaspberryPi
 +(tested on RaspberryPi 3B+,​3B,​2B,​2B+,​1B,​ZERO)
 +
 +Run:
 +<code bash>
 +sudo rm -rf LCD-show
 +
 +git clone https://​github.com/​goodtft/​LCD-show.git
 +
 +chmod -R 755 LCD-show
 +
 +cd LCD-show/
 +
 +sudo ./​LCD35-show
 +
 +# Wait A Few Minutes, when the system reboot ok, you can see that.
 +
 +</​code>​
 +
 +==== Touch screen calibration ====
 +This LCD can be calibrated using a program called xinput_calibrator
 +
 +1. Install it with the commands :
 +<code bash>
 +cd LCD-show/
 +sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb
 +</​code>​
 +2. Click the Men button on the task bar, choose `Preference -> Calibrate Touchscreen.`
 +
 +3. Finish the touch calibration following the prompts. Maybe rebooting is required to make calibration active.
 +
 +4. You can create a `99-calibration.conf` file to save the touch parameters (not necessary if file exists).
 +`/​etc/​X11/​xorg.conf.d/​99-calibration.conf`
 +
 +5. Save the touch parameters (may differ depending on LCD) to `99-calibration.conf`
 +
 +  ​
 +
 +
 +==== JavaFX ====
 +https://​swehacker.com/?​p=407
  
kb/raspberrypi.1575385069.txt.gz ยท Last modified: 2019/12/03 14:57 by yehuda
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0