satoshinm / oledterm

Mirror your Linux console terminal output to an OLED display module
36 stars 7 forks source link

oledterm

Mirror your Linux console terminal output to an OLED display module

Uses luma.oled to drive the OLED. Tested with an SSD1325-based module, 2.7" 128x64, which allows for 9x25 text.

To run on boot, add to /etc/rc.local:

python /home/pi/oledterm/oledterm.py --display ssd1325 --interface spi --rotate 2 &

then attach a keyboard, and you can interact with the terminal as normal. Example running uname:

uname

and since it uses your terminal, even full-screen programs like vim work as expected:

vim

As seen in Building a small custom Raspberry Pi Zero laptop in a cardboard box.