V
V
Vadimm10012018-05-20 17:19:07
Electronics
Vadimm1001, 2018-05-20 17:19:07

What is the procedure for initializing the Nokia 5110 display?

Here is its pinout:
5b01832653016756474358.jpeg
In what sequence do you need to pull the lines to enter data or commands?
That is, first Reset, then SCE or first D / C then SCE, etc.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ks0, 2018-05-21
@ks0

the reset rises once and for all
CE is grounded once and for all
D / C switches when data is needed, and when the command
and so on the Internet is full of tutorials, the display is also Nokia 3310
in the proteus emulator 5110 is

P
pvhnexsys, 2018-05-28
@pvhnexsys

for STM32, I have the following initialization of this screen:
uint8_t init_LCD[] = {0x21,(0x80+70UL),0x04,0x13,0x20,0x0c}; // initialization sequence
static void LCD_Init(void){// initialization of the screen
uint8_t *p =0;
p=init_LCD;// pointer to array of initialization sequence
reset_1;
HAL_Delay(1); // 1 ms.
reset_0; // first reset (short zero)
reset_1;
out_command; // display in the command receiving mode
for(uint8_t a=0;a<6;a++){ // transmit a sequence of commands from the array via the spi channel
HAL_SPI_Transmit(&hspi1,(uint8_t*) p, 1, 10);
p++;
}
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question