![]() The DB0 through DB7 pins of the breakout board need to be connected only if parallel mode is considered. ![]() GND is wired to GND of the Arduino, 5V to 5V, V0 to the wiper of a 10kΩ potentiometer (this is to adapt the contrast between characters or graphics of the LCD against the background), RS to pin 12, R/W to pin 11 and E to pin 13. The LCD display breakout board has 20 pins for connectivity, labeled GND, VCC, V0, RS, R/W, E, DB0, DB1, DB2, DB3, DB4, DB5, DB6, DB7, PSB, NC, RST, VOUT, BLA and BLK.įigure 1 shows the basic connectivity via the SPI interface (SPI stands for Serial Peripheral Interface). Additional: 1x DHT11 temperature/ relative humidity sensor, 1x Dallas DS18B20 temperature sensor, 1 x 10kΩ resistor, 1x 4.7 k10kΩ resistor. The display shows a few of the graphical features offered by the u8g library: triangles, lines, circles, text.ġx Arduino Nano microcontroller board, breadboard, Dupont jumper wires, 128×64 ST 7920 based LCD display breakout board, 1x 10 kΩ potentiometer, 1x 220 Ω resistor. These pins need to be declared in the display constructor part of the sketch. ![]() Here, RS is wired to the Nano’s pin 12, R/W to pin 11 and E to pin 13. Only 3 digital pins of the Arduino are required to get output on the display: pins supporting the functions RS, R/W and E. The u8g library written by Oliver Kraus (‘Olikraus’) offers a selection of graphic functions, special characters and text fonts which makes the use of this kind of display extra attractive.įigure 1: Wiring of a graphic 128×64 LCD display, in SPI mode. The screens are in vertical direction twice as big as 20×4 LCD displays so they offer good readability. This modest ‘pin requirement’ makes the ST7920 display attractive for use in Arduino projects where other pins need to be reserved for all kinds of peripheral devices and actions. In spite of the impressive 20 pins that decorate this board only three pins of an Arduino are essential to make the display work, that is: in SPI mode. In this paper we discuss a very common type of 128×64 LCD display breakout based on the ST7920 controller. One of the solutions to display data collected with sensors attached to an Arduino microcontroller board is via a graphic 128×64 LCD display (Figure 1).Because the pixels are neatly arranged in 128 columns, 64 rows where every individual pixel is addressable these displays offer graphic capabilities where even images can be displayed (of course in monochrome). This display is used to present data collected with a Dallas DS18B20 temperature sensor and a DHT11 relative humidity sensor. ![]() Here we discuss the wiring of a ST7920 based 128×64 graphical 12864B LCD breakout display. The payoff is presentation with considerable flexibility thanks to the existence of built-in characters and, in software for the Arduino, an extensive u8g graphics library, i.e., the same library that supports display of graphics on OLED displays. These displays are more complicated to program than the ‘common’ 16×2 or 20×4 LCD displays that present two or four rows of fixed character positions. Graphic 128×64 LCD displays are based on (monochrome) LCD technology, yet they offer interesting graphical capabilities because every pixel is individually addressable. By Floris Wouterlood – The Netherlands – August 11, 2017 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |