Difference between revisions of "Raspberrypi"

From Alessandro's Wiki
Line 5: Line 5:




* casting to a raspberry
= casting to a raspberry =


  apt-get install libwidevinecdm0
  apt-get install libwidevinecdm0




*; installing 3.5 Display
= installing 7 Display =
 
There are 4 jumper wires (Red, Black, Yelow & Green) that connect to  the following pins on the LCD controller board:
 
    Red wire to pin marked 5V
    Green wire to pin marked SDA
    Yellow wire to pined marked SCL
    Black wire to pin marked GND
 
The other end of the wires will connect to the following pins on the Raspberry Pi computer board:
 
    Red wire to pin 2
    Green wire to pin 3
    Yellow wire to pin 4
    Black wire to pin 6
 
* Xorg modifications
 
Paste in: /etc/X11/xorg.conf
 
Section "InputClass"
  Identifier "calibration"
  Driver "evdev"
  MatchProduct "FT5406 memory based driver"
 
  Option "EmulateThirdButton" "1"
  Option "EmulateThirdButtonTimeout" "750"
  Option "EmulateThirdButtonMoveThreshold" "30"
EndSection
 
= installing 3.5 Display =


there are various models of the same 3.5 display, two are listed here
there are various models of the same 3.5 display, two are listed here
Line 36: Line 66:
  cd LCD-show/
  cd LCD-show/
  sudo ./rotate.sh 90  .. 180  270
  sudo ./rotate.sh 90  .. 180  270
= config =
= software =
* on screen keyboard
apt-get install matchbox-keyboard
* DSI lines
DSI lines are disabled by default. To enable detection, add the following line to /boot/config.txt:
ignore_lcd=0

Revision as of 14:56, 21 July 2021


http://www.raspberrypi.org/documentation/configuration/config-txt.md


casting to a raspberry

apt-get install libwidevinecdm0


installing 7 Display

There are 4 jumper wires (Red, Black, Yelow & Green) that connect to the following pins on the LCD controller board:

   Red wire to pin marked 5V
   Green wire to pin marked SDA
   Yellow wire to pined marked SCL
   Black wire to pin marked GND

The other end of the wires will connect to the following pins on the Raspberry Pi computer board:

   Red wire to pin 2
   Green wire to pin 3
   Yellow wire to pin 4
   Black wire to pin 6
  • Xorg modifications

Paste in: /etc/X11/xorg.conf

Section "InputClass"
  Identifier "calibration"
  Driver "evdev"
  MatchProduct "FT5406 memory based driver"
  Option "EmulateThirdButton" "1"
  Option "EmulateThirdButtonTimeout" "750"
  Option "EmulateThirdButtonMoveThreshold" "30"
EndSection

installing 3.5 Display

there are various models of the same 3.5 display, two are listed here


sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
  • MHS-3.5inch_RPi_Display

http://www.lcdwiki.com/MHS-3.5inch_RPi_Display

cd LCD-show/
sudo ./MHS35-show


  • V3 3.5inch_RPi_Display
cd LCD-show/
sudo ./LCD35-show
  • rotate display
cd LCD-show/
sudo ./rotate.sh 90  .. 180  270

config

software

  • on screen keyboard
apt-get install matchbox-keyboard
  • DSI lines
DSI lines are disabled by default. To enable detection, add the following line to /boot/config.txt:
ignore_lcd=0