A Mini Monitor for a Pi
The author shares a project using a 2-inch display as a Raspberry Pi monitor, creating a handheld console. Details include wiring, SPI communication, display mirroring for tasks like coding and web browsing, hardware setup, communication protocol, and a system service for seamless display experience.
Read original articleThe post describes the author's project of using a 2-inch display as a monitor for a Raspberry Pi, aiming to create a handheld "console" with display functionality. The setup involves wiring the display to the Pi, communicating with the display using SPI, and addressing issues encountered during the process. The display mirroring program allows for tasks like code editing, web browsing, and using the terminal. The author details the hardware used, the wiring setup, and the communication protocol with the display. Additionally, instructions are provided for setting up the hardware and software components required for the display mirroring program. The program includes features like handling X11 display, terminal tty display, and managing power consumption through the X display power management system. Challenges such as X errors and handling display modes are addressed in the program. The project involves creating a system service that switches between rendering modes based on the user's activity on the Pi, ensuring a seamless display experience.
Related
Writing GUI applications on the Raspberry Pi without a desktop environment
This article explains writing GUI applications on a Raspberry Pi without a desktop environment. It covers interacting with the framebuffer, configuring resolutions, using low-level interfaces, Raylib library, and optimizing CPU usage.
The Workstation You Wanted in 1990, in Your Pocket
A project emulates a DECstation on an RP2040 microcontroller, showcasing 1990s computing power. The emulation board offers modest specs but highlights past software efficiency. Enthusiasts discuss early workstation capabilities.
I suppose the modern workflow is to 3d print one: but perhaps other consumers, like me, buying a $20 SBC and a $20 display have not outlayed for a 3d printer... Or purchase a 3d printed one to spec? Unfortunately I don't yet have the confidence in the quality of materials of a purchased 3d printed item, nor enough familiarity with the materials and process to choose from the many options online. They also did not seem particularly cheap.
Most recently, I ended up finding a 2nd hand (refurbished) small tablet, and simply used that as the display for a small system. It pulls the display content over wifi and displays it in a browser, which is incredible overhead for such simple content. But it is slim, has a touch screen, comes complete in a case, and was cheaper than purchasing a similar waveshare or other unnamed-brand display with a matching case (where one could even be found!)
Feel free to modify this as needed, e.g. by having a 6x1 connector on one side splitting into 4x1 and 2x1 on the other if that’s how the cables group. Or use a …x2 connector if the pin header has two rows like here.
You will love it, believe me.
For reference, take a look at the Beepy display driver module: https://github.com/ardangelo/sharp-drm-driver. It's for a monochrome Sharp memory LCD, but still uses the SPI interface on a RasPi.
I like the look of 1.83" IPS LCD Display Module (240 x 280) for £9. But as another comment already mentioned, they are often limited to RGB444, RGB565 and RGB666 formats.
It's possible to find good cheap (~$8-10) IPS panels with parallel 24-bit interface with wide viewing angles and good contrast, but these common cheap SPI ones are not it.
A lot of people would be less interested if the author moved the camera a bit from the perfect 90° position. :)
Because many of the SPI screens don't have the resolution to do at least 80x25, I'm currently using a small composite display, but if I find something that does at least 480x200, I'll give it a go. This'll be a good reference :)
I’ve used this before - https://github.com/goodtft/LCD-show
Supports a whole bunch of different LCD displays along with touch.
There’s also this really useful site: http://www.lcdwiki.com/3.5inch_RPi_Display
And while working on this, I also found out that NetBSD has a native LCD driver for its wscons framework, so presumably you can trivially get the full system's console on the LCD as well: https://man.netbsd.org/ssdfb.4
Is it possible to use square magnifying glass to get to 7-8 inch or even 14? I want to make old school vibe amber color mini computer with a PI, and was thinking of using either 5" spi or one of the smaller ones 3.5 or so.
PS: we have been bombarded with AI so much that I misread the title as 'AI monitor for PI' :)
Related
Writing GUI applications on the Raspberry Pi without a desktop environment
This article explains writing GUI applications on a Raspberry Pi without a desktop environment. It covers interacting with the framebuffer, configuring resolutions, using low-level interfaces, Raylib library, and optimizing CPU usage.
The Workstation You Wanted in 1990, in Your Pocket
A project emulates a DECstation on an RP2040 microcontroller, showcasing 1990s computing power. The emulation board offers modest specs but highlights past software efficiency. Enthusiasts discuss early workstation capabilities.