Freitag, 27. Juli 2018

LCD Nokia 5110 display with ESP8266

In this post I will describe you short how to use the good old Nokia 5110 display with your ESP8266 and Arduino IDE.

Illustration 1: Nokia 5110 display connected to ESP8266


Setup Arduino IDE


First of all you need to import some libs through your Arduino IDE. 


  1.  Open your Arduino IDE and navigate to Sketch -> Include Library -> Manage Libraries
  2.  Search for "LCDMenuLib2 (u8glib)" and install it 
  3.  Search for "U8g2_Arduino" and install it



Wiring


I tried to install Fritzing on my computer to show you pretty wire schematic but something went wrong by installation so I decided to write it down here. Sorry for that.


  LCD5110                          ESP8266
  RST       ----------------       D1 (GPI05)
  CE         ----------------       D2 (GPIO4)
  DC         ----------------       D3 (GPIO0)
  DIN        ----------------      D7 (HMOSI MOSI Fix)
  CLK       ----------------      D5 (HSCLK SPI Clock Fix)
  VCC       ----------------      3.3V
  LIGHT   ----------------      3.3V
  GND       ----------------     GND

Source Code


Keine Kommentare:

Kommentar veröffentlichen

Post Top Ad

Your Ad Spot