joy-it SBC-LCD84x48 84X48 LCD Display User Manual

October 30, 2023
JOY-It

joy-it SBC-LCD84x48 84X48 LCD Display

joy-it-SBC-LCD84x48-84X48-LCD-Display-product

Product Information

The Joy-IT 84X48 LCD Display (SBC-LCD84x48) is a compact and easy-to-use display module that can be connected to an Arduino or Raspberry Pi. It has a resolution of 84×48 pixels and can display text and graphics. It is powered by SIMAC Electronics GmbH and is available in two revisions.

Connecting the Display to an Arduino
To connect the display to an Arduino, a logic level converter such as the KY-051 Voltage Translator from Joy-IT is required as the display has a 3.3 V logic level, while the Arduino has a 5 V logic level. Not using a logic level converter may cause damage to the display. Follow the steps below to connect the display:

  1. Connect the display to the A-side of the Voltage Translator as per the table or picture in the user manual.
  2. Connect the B-side of the Voltage Translator to your Arduino.
  3. Ensure that the correct code example is installed in your Arduino IDE and uploaded to your Arduino.
  4. Make sure that the correct settings are made under Tools > Board and Tools > Port.

Connecting the Display to a Raspberry Pi
To connect the display to a Raspberry Pi, follow the steps below:

  1. Connect the display to the pins of your Raspberry Pi as per the table or picture in the user manual.
  2. Ensure that the correct code example is installed in your Raspberry Pi.

Product Usage Instructions

Using the Display with an Arduino
Follow the steps below to use the Joy-IT 84X48 LCD Display with an Arduino:

  1. Connect the display to your Arduino as per the instructions in the user manual.
  2. Ensure that the correct code example is installed in your Arduino IDE and uploaded to your Arduino.
  3. Make sure that the correct settings are made under Tools > Board and Tools > Port.
  4. You can now use the display to display text and graphics by writing code in your Arduino IDE.

Using the Display with a Raspberry Pi
Follow the steps below to use the Joy-IT 84X48 LCD Display with a Raspberry Pi:

  1. Connect the display to your Raspberry Pi as per the instructions in the user manual.
  2. Ensure that the correct code example is installed in your Raspberry Pi.
  3. You can now use the display to display text and graphics by writing code in your Raspberry Pi.

GENERAL INFORMATION

Dear Customer,
thank you for choosing our product. In the following, we will show you what to pay attention to during commissioning and use. If you encounter any unexpected problems during use, please feel free to contact us. The display can be used with many common developer boards such as Raspberry Pi or Arduino, for example, to display measured values or measured value graphics directly on the microcontroller or single-board computer.

DIFFERENCES BETWEEN THE REVISIONS

This product has a new revision that replaces the previous revision. These changes include the pin out, the LED and the silkscreen. Below you can see 2 drawings of the different revisions.

Revision 1

Revision 2

USE WITH AN ARDUINO

Connecting the display (REV 1)
Connect the display as shown in the following picture or table to the pins of the “A-side” of your Voltage Translator and then from the “B-side” of the Voltage Translator to your Arduino. Here we recommend the KY-051 Voltage Translator from Joy-IT. It is necessary to use a logic level converter, because the display has a 3.3 V logic level, while the Arduino has a 5 V logic level. Not doing so may cause damage to the display.

joy-it-SBC-LCD84x48-84X48-LCD-Display-fig- \(3\)

            KY-051 **** 84 x 48 LCD ****
A1 7 – SCLK
A2 6 – DN
A3 5 – D/C
A4 3 – SCE

second KY-051 ****

| ****

84 x 48 LCD ****

A1| 4 – RST


Arduino ****

| ****

84 x 48 LCD ****

5V| 8 – LED
GND| 2 – GND
5V| 1 – VCC
           Arduino **| KY-051 **
---|---
GND| GND
3,3V| Vcca
5V| Vccb
Digital Pin 7| B1
Digital Pin 6| B2
Digital Pin 5| B3
Digital Pin 4| B4


Arduino ****

| ****

second KY-051 ****

GND| GND
3,3V| Vcca
5V| Vccb
Digital Pin 3| B1

Connecting the display (REV 2)
Connect the display as shown in the following picture or table to the pins of the “A-side” of your Voltage Translator and then from the “B-side” of the Voltage Translator to your Arduino. Here we recommend the KY-051 Voltage Translator from Joy-IT. It is necessary to use a logic level converter, because the display has a 3.3 V logic level, while the Arduino has a 5 V logic level. Not doing so may cause damage to the display.

joy-it-SBC-LCD84x48-84X48-LCD-Display-fig- \(4\)

KY-051 84 x 48 LCD
A1 5 – DIN
A2 4 – CLK
A3 6 – D/C
A4 7 – CE
 
second KY-051 84 x 48 LCD
A1 8 – RST
 
Arduino 84 x 48 LCD
5V 3 – VCC
GND 2 – LIGHT
GND 1 – GND
Arduino KY-051
--- ---
GND GND
3,3V Vcca
5V Vccb
Digital Pin 6 B1
Digital Pin 7 B2
Digital Pin 5 B3
Digital Pin 4 B4
 
Arduino second KY-051
GND GND
3,3V Vcca
5V Vccb
Digital Pin 3 B1

Code example Arduino
This example uses the Adafruit PCD8544-Nokia-5110-LCD-library library, which is released by Adafruit under the BSD license. After installing this library in your Arduino IDE, you can find a code example at File → Examples → Adafruit PCD8544 Nokia 5110 LCD Library → pcdtest. You can upload this code to your Arduino using Upload. Also make sure that the correct settings are made under Tools → Board and Tools → Port.

USE WITH A RASPBERRY PI

Connecting the display (REV 1)
Connect the display to the pins of your Raspberry Pi as shown in the following picture or table.

joy-it-SBC-LCD84x48-84X48-LCD-Display-fig- \(5\)

Raspberry Pi 84 x 48 LCD
Pin 1 (3.3 V) 8 – LED
Pin 23 (BCM 11 / SCLK) 7 – SCLK
Pin 19 (BCM 10 / MOSI) 6 – DN < MOSI >
Pin 16 (BCM 23) 5 – D/C
Pin 18 (BCM 24) 4 – RST
Pin 24 (BCM 8) 3 – SCE
Pin 6 (GND) 2 – GND
Pin 1 (3.3 V) 1 – VCC

Connecting the display (REV 2)
Connect the display to the pins of your Raspberry Pi as shown in the follo- wing picture or table.

joy-it-SBC-LCD84x48-84X48-LCD-Display-fig- \(6\)

Raspberry Pi 84 x 48 LCD
Pin 18 (BCM 24) 8 – RST
Pin 24 (BCM 8 / CE0) 7 – CE
Pin 16 (BCM 23) 6 – DC
Pin 19 (BCM 10 / MOSI) 5 – DIN
Pin 23 (BCM 11 / SCLK) 4 – CLK
Pin 1 (3.3 V) 3 – VCC
Pin 6 (GND) 2 – LIGHT
Pin 6 (GND) 1 – GND

Code example Raspberry Pi

Installation of the libraries
To allow you to use the display as quickly and easily as possible, we will resort to the Adafruit_CircuitPython_PCD8544 library from Adafruit, released under the MIT license. Open the console and execute the following commands:

  • sudo apt update
  • sudo apt upgrade -y
  • sudo usermod -a -G i2c,spi,gpio pi
  • sudo apt install python3-dev python3-pip libfreetype6-dev libjpeg-dev build-essential -y
  • sudo apt install git -y
  • sudo pip3 install adafruit-circuitpython-pcd8544
  • sudo raspi-config

To enable the SPI and I2C interface, you must first enter the raspi-config. Then select the option “3 Interface Options” and go to “I4 SPI” to enable the SPI interface. Confirm your selection by pressing “OK”. To enable the I2C interface, go to “3 Interface Options” again and select “I5 I2C” and confirm your selection by pressing “OK” as well. After you have enabled both I2C and SPI, you can restart your Raspberry Pi by entering the following command.

  • sudo reboot

Using the sample codes
Now the installation of the display is complete. Now open the console again and create a new folder and file with the following commands:

  • mkdir SBC-LCD84x48
  • cd SBC-LCD84x48
  • nano Displaytest.py

Now you still need to copy the following code into the file. Of course, you can modify this example according to your wishes and ideas. You can also download this code example here.

joy-it-SBC-LCD84x48-84X48-LCD-Display-fig- \(8\)

After you have copied the code into your file, you can save it by pressing “CTRL+O” and close it by pressing “CTRL+X”. Finally, to ensure that the code example works properly, you need to download and unzip the font file. To do this, run the following two commands. To make sure everything works, the unzipped font file must be placed in the same folder as the code you want to run.

wget https://joy-it.net/files/files/Produkte/SBC-LCD84x48/font5x8.zip unzip font5x8.zip

The following command then executes the file with its code  python3 Displaytest.py and you can end the code with CTRL+C.

ADDITIONAL INFORMATION

Our information and take-back obligations according to the Electrical and Electronic Equipment Act (ElektroG)

Symbol on electrical and electronic equipment:
This crossed-out dustbin means that electrical and electronic appliances do not belong in the household waste. You must return the old appliances to a collection point. Before handing over waste batteries and accumulators that are not en-closed by waste equipment must be separated from it.

Return options:
As an end user, you can return your old device (which essentially fulfills the same function as the new device purchased from us) free of charge for disposal when you purchase a new device. Small appliances with no external dimensions greater than 25 cm can be disposed of in normal household quantities independently of the pur-chase of a new appliance.

Possibility of return at our company location during opening hours:
SIMAC Electronics GmbH, Pascalstr. 8, D-47506 Neukirchen-Vluyn, Germany

Possibility of return in your area:
We will send you a parcel stamp with which you can return the device to us free of charge. Please contact us by email at Service@joy- it.net or by telephone.

Information on packaging:
If you do not have suitable packaging material or do not wish to use your own, please contact us and we will send you suitable packaging.

SUPPORT

If there are still any issues pending or problems arising after your purcha- se, we will support you by e-mail, telephone and with our ticket support system.

For further information please visit our website:
www.joy-it.net.

www.joy-it.net
SIMAC Electronics GmbH Pascalstr. 8 47506 Neukirchen-Vluyn.

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

JOY-It User Manuals

Related Manuals