Label

7inch HDMI Touch LCD 1024x600 IPS (C)

Ecran LCD Tactile 4

4 inch HDMI and RPI Touch LCD 800x480 IPS

Raspberry Pi DIN Rail 4M enclosure with OLED display and 4 keys keypad

€43.80 €36.50
Raspberry Pi DIN Rail casing with transparent front cover and a 0.96 "OLED screen and 4 keys keypad
Availability: Out of stock
SKU
RPIDISP01

This DIN rail case for Raspberry Pi B + / 2 / 3 / 3B+ / Pi 4B has both an OLED display and a 4-key keypad mounted behind a transparent front.

 

Made in France.
Made in France

With a simple and yet qualitative design, the display / keypad card connects through a 100mm flat cable to a daughter card connecting to the Raspberry Pi's GPIO port. The assembly of your raspberry card in the case is facilitated.

This expansion card is software compatible with most OLED display libraries (SSD1306 chip).

 

Specifications:

Display:
- OLED technology
- Color: White
- Size: 0.96"
- Resolution: 128x64 pixels
- Connection: SPI

Keypad:
- 4 micro switches
- Connection: GPIO

 

Composition of article:

  • 1 DIN Rail Raspberry Pi 3B+ or Raspberry Pi 4B case
  • 1 adapted clear panel enclosure
  • 1 display card with keypad + flat cable mounted in the case
  • 1 GPIO connector card

  

Getting started with Sofyware :

1 - Installing the display library:
sudo apt-get update sudo apt-get install git build-essential python-dev python-pip python-imaging python-smbus
git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git
cd /Adafruit_Python_SSD1306
sudo python setup.py install
 
2 - To use the Adafruit examples, replace RST and DC values as follows:
RST = 25
DC = 24
 
Uncomment the last display declaration as it is the one corresponding to provided hardware:
# 128x64 display with hardware SPI:
disp = Adafruit_SSD1306.SSD1306_128_64(rst=RST, dc=DC, spi=SPI.SpiDev(SPI_PORT, SPI_DEVICE, max_speed_hz=8000000))

Comment or delete the other display declaration lines
Be careful: the declaration line must not start with a space

 
Display an image on the screen:
cd examples
sudo python image.py

 

3 - Enhanced examples provided for download in the "Documents" section:


Button test: displays the name of the button pressed in the console.

Test:

sudo python testio.py
(CTRL-C to exit)

 

Vertical menu: use SW1 and SW3 buttons to move the selection up or down. SW4 button activates the selection by displaying the corresponding *.png file, SW2 clears the displayed image.
 
Required files in the same directory:
rpilcd2menu.py,  1.png, 2.png, 3.png, 4.png, 5.png
 
Test:
sudo python rpilcd2menu.py
(CTRL-C to exit)
 
 
Display date, time or IP address: SW1 displays the IP address of the Rapsberry, SW4 just displays the time. Return to the initial display with SW2. SW3 switches mode every second as long as the button is pressed.
 
Required files in the same directory:
rpilcd2actions.py, Xerox Serif Narrow.ttf
 
Test:
sudo python rpilcd2actions.py
(CTRL-C to exit)

 
Please find the source code samples on our Github:  https://github.com/SNOC/rpilcd2

 
Source code from contributors:  https://github.com/fsutter/yadom-oled-case

More Information
SKURPIDISP01
Country of ManufactureFrance
ManufacturerSNOC
We found other products you might like!