"Nokia"-Display am NanoV3

Hello, together,

because lately over and over again inquiries would like to enter for the use of the 84x84 display in the Arduino I today briefly the wiring and an example of use point. The "Nokia" display is meanwhile under Hobbyisten widespread there the display is not only very sparing (without background lighting), but with the right Library is also simply to be served.

At this point I would like to thank warmly Mr. Oliver Kraus, author of the oviparous wool-milk sow "u8g2". There is meanwhile no display with it not functioned and the documentation meets all the wishes:)

For our project we need:

The wiring is a little costlier:

Thanks to the good inscription of our modules this is half as bad than it is to be seen in the upper picture, here the table:

NanoV3 Logiclevlekonverter Display
GND GND GND
5 V VB
3V3 OE
3V3 VA VCC
D8 B8
D9 B7
D10 B6
D11 B5
D13 B4
A8 RST
A7 DC
A6 CE
A5 GERMAN INSTITUTE FOR STANDARDIZATION
A4 CLK
LIGHT

 

The wiring for the background lighting is optional. Because in the display 4x 20 mA LEDs are obstructed we cannot use the 3V3-Pin of the Nanos for it, this delivers maximum 50 mA.

If you have no Logiclevelkonverter to the hand are able also Tension divisorfor the data lines use (10K and 22k). The background lighting cannot be connected to the converter.

Here the code:

 

#include <Arduino.H>
#include <U8g2lib.H>
#include <SPI.H>

U8G2_PCD8544_84X48_F_4W_SW_SPI u8g2(U8G2_R0, /* clock =*/ 13, /* data =*/ 11, /* Cs =*/ 10, /* dc =*/ 9, /* reset =*/ 8);  //Nokia in 5110 display


void set-up(void) {   u8g2.begin();
}


void loop(void) {   u8g2.clearBuffer();					//clear the internal memory   u8g2.set display rotation(U8G2_R2);//Rotate display 180 °   u8g2.setFont(u8g2_font_ncenB08_tr);	//choose a suitable blow-dries   u8g2.drawStr(10,30,"AZ-Delivery");	//write something to the internal memory   u8g2.sendBuffer();					//transfer internal memory to the display   delay(1000);   }

 

You find examples of graphics, pictures and Scrolltext with the U8G2-Libary here.

A lot of fun experiment with and up to the next contribution:)

 

 

DisplaysFür arduinoProjekte für anfänger

Leave a comment

All comments are moderated before being published