Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kb:raspberrypi [2019/12/10 10:20] yehudakb:raspberrypi [2022/01/03 16:03] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Raspberry pi ====== ====== Raspberry pi ======
-Links: https://docs.dataplicity.com/docs/get-pi-connected-to-the-internet https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md https://electronicshobbyists.com/controlling-gpio-through-android-app-over-bluetooth-raspberry-pi-bluetooth-tutorial/+Links:  
 +  * https://docs.dataplicity.com/docs/get-pi-connected-to-the-internet  
 +  * https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md  
 +  * https://electronicshobbyists.com/controlling-gpio-through-android-app-over-bluetooth-raspberry-pi-bluetooth-tutorial/ 
 +  * https://www.zentrale.com.au/posts/raspberrykiosk/ 
 +  * GPRS - https://www.waveshare.com/wiki/SIM868_PPP_Dail-up_Networking 
 + 
 +[[KB:RaspberryPI:Setup Kiosk]] 
 ===== Install ===== ===== Install =====
   - Download from https://www.raspberrypi.org/downloads/raspbian/   - Download from https://www.raspberrypi.org/downloads/raspbian/
Line 7: Line 15:
 ===== 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 25: Line 34:
  
    
- +==== Install ==== 
-==== Step 1:Download the Raspbian IMG ==== +Open terminal(SSH) and install the driver on RaspberryPi
-https://www.raspberrypi.org/downloads/raspbian/ +
- +
-  +
- +
-==== Step 2: Burn the system image ==== +
-If you don't know how to do that,you can refer to the Raspberry Pi office tutorial +
- +
-  +
- +
-==== Step 3: Open terminal(SSH) and install the driver on RaspberryPi ====+
 (tested on RaspberryPi 3B+,3B,2B,2B+,1B,ZERO) (tested on RaspberryPi 3B+,3B,2B,2B+,1B,ZERO)
  
Line 55: Line 54:
 </code> </code>
  
-===== Touch screen calibration =====+==== Touch screen calibration ====
 This LCD can be calibrated using a program called xinput_calibrator This LCD can be calibrated using a program called xinput_calibrator
  
 1. Install it with the commands : 1. Install it with the commands :
 +<code bash>
 cd LCD-show/ cd LCD-show/
 sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb 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.+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. 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). +4. You can create a `99-calibration.conffile to save the touch parameters (not necessary if file exists). 
-/ect/X11/xorg.conf.d/99-calibration.conf+`/etc/X11/xorg.conf.d/99-calibration.conf`
  
-5. Save the touch parameters (may differ depending on LCD) to 99-calibration.conf+5. Save the touch parameters (may differ depending on LCD) to `99-calibration.conf`
  
      
 +==== Trableshooting ====
 +you should install X server on "light" version of rpi
 +<code bash>
 +sudo apt-get --no-install-recommends install xserver-xorg xserver-xorg-video-fbdev xinit pciutils xinput xfonts-100dpi xfonts-75dpi xfonts-scalable
 +</code>
  
 +sudo vi /etc/X11/xorg.conf
 +<code text>
 +Section "Device"
 +# WaveShare SpotPear 3.5", framebuffer 1
 +Identifier "uga"
 +driver "fbdev"
 +Option "fbdev" "/dev/fb1"
 +Option "ShadowFB" "off"
 +EndSection
 +
 +Section "Monitor"
 +# Primary monitor. WaveShare SpotPear 480x320
 +Identifier "WSSP"
 +EndSection
 +
 +Section "Screen"
 +Identifier "primary"
 +Device "uga"
 +Monitor "WSSP"
 +EndSection
 +
 +Section "ServerLayout"
 +Identifier "default"
 +Screen 0 "primary" 0 0
 +EndSection
 +
 +</code>
  
 +==== JavaFX ====
 +https://swehacker.com/?p=407
 +==== Playmouth ====
 +https://scribles.net/customizing-boot-up-screen-on-raspberry-pi/
  
kb/raspberrypi.1575973255.txt.gz · Last modified: (external edit)
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0