Stufin
Home Quick Cart Profile

Nokia Screen

Buy Now on Stufin

Display Type

Graphical LCD

Display Size

1.3 inches (33mm) diameter

Resolution

128x64 pixels

Pixel Density

64 pixels per inch

Interface

SPI (Serial Peripheral Interface)

Power Consumption

<20mA

Operating Temperature

-20C to 70C

Storage Temperature

-40C to 85C

Dimensions

33mm x 23mm x 7mm

Applications

The Nokia Screen is suitable for a wide range of IoT applications, including

Wearable devices, such as smartwatches or fitness trackers

Home automation systems, such as temperature or lighting control systems

Industrial IoT devices, such as sensors or monitoring systems

Prototyping and proof-of-concept development

Resources

Datasheet

Available upon request

SDK and Library

Available for download, including example code and documentation

Tutorials and Guides

Available online, including step-by-step guides and tutorials for integrating the Nokia Screen into IoT projects.

Pin Configuration

  • Nokia 5110 LCD Screen Module Documentation
  • Introduction:
  • The Nokia 5110 LCD Screen Module is a popular and widely used display module in IoT projects. It is a graphical LCD display module with a resolution of 84x48 pixels. This documentation provides a detailed explanation of the pins and how to connect them.
  • Pinout:
  • The Nokia 5110 LCD Screen Module has a total of 8 pins, which are:
  • 1. VCC (Power Supply - Positive)
  • Description: This pin is used to supply power to the module.
  • Connection: Connect to a 3.3V or 5V power supply.
  • 2. GND (Ground)
  • Description: This pin is used as a common ground for the module.
  • Connection: Connect to the ground of the power supply.
  • 3. SCL (Serial Clock)
  • Description: This pin is used to transmit clock signals to the module.
  • Connection: Connect to the SCL pin of the microcontroller (e.g., Arduino).
  • 4. SDA (Serial Data)
  • Description: This pin is used to transmit data to the module.
  • Connection: Connect to the SDA pin of the microcontroller (e.g., Arduino).
  • 5. RST (Reset)
  • Description: This pin is used to reset the module.
  • Connection: Connect to a digital pin of the microcontroller (e.g., Arduino) to control the reset function.
  • 6. CE (Chip Enable)
  • Description: This pin is used to enable or disable the module.
  • Connection: Connect to a digital pin of the microcontroller (e.g., Arduino) to control the chip enable function.
  • 7. D/C (Data/Command)
  • Description: This pin is used to select whether the data being sent is a command or data.
  • Connection: Connect to a digital pin of the microcontroller (e.g., Arduino) to control the data/command selection.
  • 8. LIGHT (Backlight)
  • Description: This pin is used to control the backlight of the display.
  • Connection: Connect to a digital pin of the microcontroller (e.g., Arduino) to control the backlight function.
  • Connection Structure:
  • To connect the Nokia 5110 LCD Screen Module to a microcontroller (e.g., Arduino), follow this structure:
  • VCC -> 3.3V or 5V power supply
  • GND -> Ground of the power supply
  • SCL -> SCL pin of the microcontroller (e.g., Arduino)
  • SDA -> SDA pin of the microcontroller (e.g., Arduino)
  • RST -> Digital pin of the microcontroller (e.g., Arduino) for reset control
  • CE -> Digital pin of the microcontroller (e.g., Arduino) for chip enable control
  • D/C -> Digital pin of the microcontroller (e.g., Arduino) for data/command selection
  • LIGHT -> Digital pin of the microcontroller (e.g., Arduino) for backlight control
  • Note: The specific pin connections may vary depending on the microcontroller and the project requirements. Always refer to the datasheet and documentation of the microcontroller and the Nokia 5110 LCD Screen Module for specific connection details.

Code Examples

Nokia Screen Component Documentation
Overview
The Nokia Screen is a programmable LCD display component designed for use in various Internet of Things (IoT) projects. It features a 84x48 pixel monochrome display, making it ideal for displaying simple graphics, text, and numerical data. This component is compatible with various microcontrollers and development boards.
Pinout
The Nokia Screen component has a 7-pin interface:
| Pin | Function |
| --- | --- |
| VCC | Power supply (3.3V or 5V) |
| GND | Ground |
| SCL | Serial Clock (I2C) |
| SDA | Serial Data (I2C) |
| RST | Reset |
| CS | Chip Select (SPI) |
| backlight | Backlight control |
Communication Protocols
The Nokia Screen supports both I2C and SPI communication protocols. The default protocol is I2C.
Example Code
### Example 1: Displaying Text using I2C (Arduino)
This example demonstrates how to display a simple text message on the Nokia Screen using an Arduino board and the I2C protocol.
```c++
#include <Wire.h>
#define Nokia_Screen_I2C_ADDRESS 0x3C
void setup() {
  Wire.begin();
  Nokia_Screen_Init(); // Initialize the Nokia Screen
}
void loop() {
  Nokia_Screen_Clear(); // Clear the screen
  Nokia_Screen_SetCursor(0, 0); // Set cursor to top-left corner
  Nokia_Screen_Print("Hello, World!"); // Print text
  delay(1000);
}
void Nokia_Screen_Init() {
  Wire.beginTransmission(Nokia_Screen_I2C_ADDRESS);
  Wire.write(0x00); // Command to initialize the screen
  Wire.endTransmission();
}
void Nokia_Screen_Clear() {
  Wire.beginTransmission(Nokia_Screen_I2C_ADDRESS);
  Wire.write(0x01); // Command to clear the screen
  Wire.endTransmission();
}
void Nokia_Screen_SetCursor(uint8_t row, uint8_t col) {
  Wire.beginTransmission(Nokia_Screen_I2C_ADDRESS);
  Wire.write(0x02); // Command to set cursor
  Wire.write(row); // Row number
  Wire.write(col); // Column number
  Wire.endTransmission();
}
void Nokia_Screen_Print(char text) {
  Wire.beginTransmission(Nokia_Screen_I2C_ADDRESS);
  Wire.write(0x03); // Command to print text
  Wire.write(text); // Text to be printed
  Wire.endTransmission();
}
```
### Example 2: Displaying Graphics using SPI (Raspberry Pi)
This example demonstrates how to display a simple graphic image on the Nokia Screen using a Raspberry Pi and the SPI protocol.
```python
import spidev
SpiDev = spidev.SpiDev()
SpiDev.open(0, 0)  # Open SPI channel 0, chip select 0
def Nokia_Screen_Init():
    SpiDev.xfer([0x00, 0x00])  # Initialize the screen
def Nokia_Screen_Clear():
    SpiDev.xfer([0x01, 0x00])  # Clear the screen
def Nokia_Screen_SetPixel(x, y, value):
    SpiDev.xfer([0x02, x, y, value])  # Set pixel at (x, y) to value
def Nokia_Screen_DrawImage(image_data):
    SpiDev.xfer([0x03] + image_data)  # Draw image from image_data
image_data = [  # Simple 8x8 image data
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
]
Nokia_Screen_Init()
Nokia_Screen_Clear()
Nokia_Screen_DrawImage(image_data)
```
Additional Resources
Datasheet: [Nokia Screen Datasheet](https://www.example.com/nokia_screen_datasheet.pdf)
 Tutorial: [Getting Started with Nokia Screen and Arduino](https://www.example.com/nokia_screen_arduino_tutorial)
 Library: [Nokia Screen Arduino Library](https://www.example.com/nokia_screen_arduino_library.zip)