TechnologiesCell Phones

Nokia 5110: photo, diagram. Connecting the Nokia 5110 Graphic Display to Arduino

For inexperienced users who want to independently create control systems for robotic devices or automation facilities, various hardware modules and their modifications are offered in the IT services market. Typically, such devices have a simple architecture with the right to copy and the software attached to them in the form of simple utilities. Such products can be used both independently and can be connected to other computer systems via wired or wireless interfaces.

Advantages of working with graphic displays

Earlier, graphic monochrome displays were used very widely in the production of cell phones.

Nokia has released a huge number of different models equipped with such a screen. The times of those phones have passed, but the displays have not disappeared from the market and continue to be actively used to the present. They proved to be irreplaceable and, in addition, cheap devices for displaying text and graphic information. Graphic displays work by creating dots on the screens of the matrix, which both display the image. They save resources and time, while displaying a large amount of information and spending a small amount of energy. There are a huge number of different areas where Nokia 5110 devices can be used: photo, video, TV, medicine, and many other industries.

Before describing the order of connection of the Nokia display to the Arduino hardware module, a brief overview of these devices should be provided.

Benefits of using Arduino Uno

Many platforms and microcontrollers were created, which are analogues of the Arduino platform presented in this article. Some of such analogues are Netmedia's BX-24, Parallax Basic Stamp and many others. However, let's dwell on Arduino Uno, as this designer has a number of advantages over other controllers. On them, and should pay attention when choosing a platform for work. First of all, this is the low cost of these devices. Models with this software cost less than $ 45, and if desired, can be collected manually, because they have a fairly simple design. The second point is that Arduino platforms can work with all operating systems: Windows, Linux, and Macintosh OSX, while all others are limited to working exclusively with Windows.

Description of Arduino Uno

Arduino Uno is a platform for developing and programming various devices that has 14 digital inputs and outputs, 6 analog inputs, several connectors (USB, ICSP, power) and a button that has the function of rebooting the device. This platform has a built-in fuse, which prevents short circuit and ensures safe operation with USB-cable. It works when more than 500 mA current flows through the USB port. Compared to universal computers, Arduino Uno interacts much more closely with the surrounding physical environment. The platform is built on a printed circuit board and is designed to work with open source. It can be used both by students and amateurs, and by professionals who can expand and supplement models at their own discretion and freely work with open source. The platform is designed in such a way that it can easily add new components. The design assumes the developer chooses to use the device independently, so it is not placed in the case and does not have a rigid binding to the installation.

Description of the display Nokia 5110

The graphical display of the Nokia 5110 is a budget monochrome display with a diagonal of 1.6 ", which allows you to display not only textual information, but also pictures. Its resolution is 48х84 px, and the voltage at which it can work is 2.7-5 V. Information on the screen Is displayed in vertical blocks, their height is eight pixels, the width of the screen is six lines.On the back panel there are signs of each contact that will not allow users to err in their location.

For full operation, the graphic display must be connected to the board. This article describes in detail the connection of Nokia 5110 to the electronic designer Arduino Uno, which will allow you to start working with the display.

Materials required for connection

  • Graphic display Nokia 5110;

  • Arduino Uno;

  • A cable or seven wires;

  • A USB cable (for connection to a computer), a battery or an AC / DC adapter (for powering the board without the help of a computer).

How to connect the Nokia 5110 graphical display to Arduino

1. The first step is to connect the Nokia 5110 display to Arduino. In a set with a graphic device there is a mounting for the prototyping boards with eight connectors. If the use of a circuit board is planned, then "straight legs" will do. In other cases, it is worth to purchase connectors at an angle of 90 degrees. First they should be inserted into the display itself, and then attached to the Arduino.

2. Next, connect the wires. It is best to use a cable, but the usual MGTF wire is also suitable. It is important to know that this display is powered not from 5 V, but from 3.3 V. Therefore, you can safely connect 3 V to plus, and the ground - to minus. The remaining wiring is connected in a certain sequence to the Arduino and Nokia 5110. The connection scheme is as follows:

  • Contact Gnd (common wire) - to ground Arduino (to minus);

  • Bl (power light) - to the ground Arduino (to minus);

  • Vcc (power module) - to port 3.3 V on Arduino.

Then all the contacts from right to left are connected to the ports:

  • Pin 1 (SCLK - impulse for information transfer) - digital port D3;

  • Pin 2 (SDIN / MOSI data) - digital port D4;

  • Pin 3 (D / C - data type) - digital port D5;

  • Pin 4 (RST) - digital port D6;

  • Pin 5 (SCE - chip selection) - digital port D7.

Working with libraries

In order to display the necessary information on the device screen, you need to load the library. Optimal option for working with textual information is the program LCD5110_Graph. Already by name, you can determine that this library was created specifically for the Nokia 5110. Also, the utility can be downloaded from the Internet. It is attached as an archive. The unzipped file must be transferred to the Libraries folder. After that, you can run the program. In the open window, select "File", move the cursor to "Examples", then select the desired one. A ready-made code appears on the screen, which is very user-friendly and elementary in use. All the necessary information can be read and edited, but it is important not to break the structure of the code. The various functions of the library will expand the possibilities of working with the Nokia 5110.

In order to display graphics on the display, they must first be drawn in graphics programs, such as Adobe Photoshop or Paint. After the drawing is ready, it must be saved in BMP (Monochrome Bitmap) format. Next, using the library, you need to convert the drawing into open source. After these actions, an image will appear on the screen.

This connection of the Nokia 5110 display to Arduino will help you to master the initial skills of working with graphic displays and learn how to program images with various hardware modules.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.unansea.com. Theme powered by WordPress.