Skip to content

0110/EADOGS104LCD4Pi

Repository files navigation

Raspberry LCD

Hardware

  • Raspberry PI (version 2 was used)
  • EA DIGS104-A

The devices were connected via SPI.

Raspberry

SPI-GPIOs at the Raspberry:

  • GPIO10 MOSI
  • GPIO9 MISO
  • GPIO11 SCLK
  • GPIO8 CE0

Additional commands:

  • GPIO18 LCD backlight control

Display

EA DOGS104-A including SSD1803A controller

Software

Linux Kernel

At kernel 3.18 and newer SPI must be activated in the raspberry in the /boot/config.txt by adding the following line:

dtparam=spi=on

Or activate SPI with the raspi-config tool.

Kernel Module

Load the kernel module sudo modprobe spi_bcm2835 .

In the folder /etc/udev/rules.d/ generate a file named 51-i2c.rules. With the following content: SUBSYSTEM=="spidev", GROUP="users", MODE="0660"

After restarting the service, everything is prepared: sudo service udev restart

Dependencies

  • build-essentials
  • cmake

Build

Go into the bulid folder and use cmake and make to build the tool.

As shown here:

cd build
cmake ../
make

Sources

About

EADOGS104 LCD for a raspberry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published