[LINUX] Use Majoca Iris elongated LCD with Raspberry Pi

About this article

Apply the mod driver to fbtft that uses the mechanism of Raspberry Pi's Linux framebuffer, and send the image to the elongated LCD.

Repository

Click here for wiring and installation methods

→ https://github.com/devemin/fbtft

Thanks !! Twitter @komikoni (Corrected official image of CC BY-SA) https://www.raspberrypi.org/documentation/usage/gpio/



The configuration of fbtft has changed significantly in the 5.4 series, but this works in both the 5.4 series and the 4.x series.

environment

Raspberry Pi 4 8gB / 2021-1-11 released Raspberry Pi OS, kernel 5.4.83-v7l + Raspberry Pi 3B + / 2021-1-11 released Raspberry Pi OS, kernel 5.4.83-v7 + Raspberry Pi 3B + / 2019-4-8 released Raspian OS, kernel 4.14.98-v7 +

Majoca Iris elongated LCD Power supply (about 6V for brown board LCD, about 12V for green board LCD?) https://github.com/htlabnet/inside_magimajopures/wiki/sushi_chika

Various frame buffer software

reference: https://github.com/notro/fbtft/wiki/Framebuffer-use

fbcp The desktop is reduced to a slender LCD. image.png image.png

sudo apt-get install cmake
git clone https://github.com/tasanakorn/rpi-fbcp
cd rpi-fbcp/
mkdir build
cd build/
cmake ..
make
./fbcp

fbtest Benchmark test app. image.png

sudo apt-get install libnetpbm10-dev
git clone https://git.kernel.org/pub/scm/linux/kernel/git/geert/fbtest.git
cd fbtest
make
./fbtest -f /dev/fb1

con2fbmap Run the console on an elongated LCD instead of a regular screen. (It seems that the screen update is buggy) image.png

sudo raspi-config
# 1.If you select console only for Boot in system, the console screen will appear the next time you reboot.

So after loading the driver again,

con2fbmap 1 1
#Console display on the slender LCD (top command etc. can be seen at the last minute)
con2fbmap 1 0
#Return to the normal screen with
#To return to desktop startup, sudo raspi again-In config, again 1.Set to GUI auto login with Boot of system

X11 startx You can project the desktop screen on an elongated LCD instead of reducing the display. (It is strict even if the taskbar is set thin, but w) image.png image.png

sudo apt-get install xserver-xorg-video-fbdev
sudo mousepad (or leafpad ) /usr/share/X11/xorg.conf.d/99-fbdev.conf

#Save the following contents
Section "Device"  
  Identifier "myfb"
  Driver "fbdev"
  Option "fbdev" "/dev/fb1"
EndSection

#After loading the driver
FRAMEBUFFER=/dev/fb1 startx

Recommended Posts

Use Majoca Iris elongated LCD with Raspberry Pi
Use PIR motion sensor with raspberry Pi
GPGPU with Raspberry Pi
DigitalSignage with Raspberry Pi
Ubuntu 20.04 on raspberry pi 4 with OpenCV and use with python
Mutter plants with Raspberry Pi
Use NeoPixel on Raspberry Pi
Create an LCD (16x2) game with Raspberry Pi and Python
[Raspberry Pi] Stepping motor control with Raspberry Pi
Servo motor control with Raspberry Pi
OS setup with Raspberry Pi Imager
Try L Chika with raspberry pi
VPN server construction with Raspberry Pi
Try moving 3 servos with Raspberry Pi
Using a webcam with Raspberry Pi
[Note] Using 16x2-digit character LCD (1602A) from Python with Raspberry Pi
Measure SIM signal strength with Raspberry Pi
A memo to simply use the illuminance sensor TSL2561 with Raspberry Pi 2
Hello World with Raspberry Pi + Minecraft Pi Edition
Build a Tensorflow environment with Raspberry Pi [2020]
Use python on Raspberry Pi 3 to light the LED with switch control!
Get BITCOIN LTP information with Raspberry PI
Try fishing for smelt with Raspberry Pi
Programming normally with Node-RED programming on Raspberry Pi 3
Improved motion sensor made with Raspberry Pi
Try Object detection with Raspberry Pi 4 + Coral
Power SG-90 servo motor with raspberry pi
Working with sensors on Mathematica on Raspberry Pi
Make a wash-drying timer with a Raspberry Pi
Infer Custom Vision model with Raspberry Pi
Operate an oscilloscope with a Raspberry Pi
Create a car meter with raspberry pi
Inkbird IBS-TH1 value logged with Raspberry Pi
Working with GPS on Raspberry Pi 3 Python
Try to use up the Raspberry Pi 2's 4-core CPU with Parallel Python
Discord bot with python raspberry pi zero with [Notes]
How to use Raspberry Pi pie camera Python
I tried L-Chika with Raspberry Pi 4 (Python edition)
Enjoy electronic work with GPIO on Raspberry Pi
MQTT RC car with Arduino and Raspberry Pi
Power on / off your PC with raspberry pi
CSV output of pulse data with Raspberry Pi (CSV output)
Observe the Geminids meteor shower with Raspberry Pi 4
Use Grove-Temperature & Humidity Sensor (DHT11) on Raspberry Pi
Get CPU information of Raspberry Pi with Python
Play with your Ubuntu desktop on your Raspberry Pi 4
Get temperature and humidity with DHT11 and Raspberry Pi
Stock investment analysis app made with Raspberry Pi
Logging Inkbird IBS-TH1 mini values with Raspberry Pi
Connect to MySQL with Python on Raspberry Pi
GPS tracking with Raspberry Pi 4B + BU-353S4 (Python)
Measure CPU temperature of Raspberry Pi with Python
[Note] Use a wired LAN connection device with WiFi-Eth bridge on Raspberry Pi 4B
Source compile Apache2.4 + PHP7.4 with Raspberry Pi and build a web server --3. Use MySQL
Record temperature and humidity with systemd on Raspberry Pi
Machine learning with Raspberry Pi 4 and Coral USB Accelerator
How to use xgboost: Multi-class classification with iris data
Run LEDmatrix interactively with Raspberry Pi 3B + on Slackbot
Using the digital illuminance sensor TSL2561 with Raspberry Pi
Easy IoT to start with Raspberry Pi and MESH
Display images taken with the Raspberry Pi camera module