ablab

Hello Readers, welcome to my Blog - A Blog For Bloggers By A Blogger. I'm Arun, an entrepreneur Blogger from India.

Picture Display in 128X64 Graphical LCD with ATmega16

7321
1
Mark as Favourite

A picture is worth a thousand words. Life is like a desert without pictures. Pictures are electronic snapshots taken of a scene or scanned from documents, such as photographs, manuscripts, printed texts, and artwork. The digital image is sampled and mapped as a grid of dots or picture elements (pixels). Each pixel is assigned a tonal value (black, white, shades of gray or color), which is represented in binary code (zeros and ones). The binary digits (“bits”) for each pixel are stored as a sequence of byte values in a file. These byte values are called bit map values. The 128x 64 Graphical LCD has 128 horizontal pixels and 64 vertical pixels resolution and it is based on KS0108 controller.

In this project, we will learn How to interface a 128X64 Graphical LCD and How to display any picture in a 128×64 Graphical LCD with AVR ATmega16 microcontroller. For to display any picture in any graphical LCD, we need the bit map values of the picture. There are lots of software available in the market, using which we can generate the bit map values of any picture. In our case, we will use Image2GLCD software to generate the bit map values of the ABLab Solutions logo. The bit map values of the ABLab Solutions logo are included in the code. The microcontroller will write all the bit map values of the picture in the Graphical LCD. Now, The 128×64 Graphical LCD will display the ABLab Solutions logo.

Softwares Required

Hardwares Required

Name Quantity
AVR Trainer Board-100 with ATmega16 1pc
AVR USB Programmer 1pc
12V, 1A DC SMPS Adaptor 1pc
128x64 Graphical LCD Interface Board 1pc
10 to 10 FRC Female to Female Connector 3pc

Circuit Diagram

Video

Connection Guide

The step-by-step connection guide for Picture Display in 128X64 Graphical LCD with ATmega16 is as follows

  • Steps - 1 ( 0f 7 )

    Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.

  • Steps - 2 ( 0f 7 )

    Connect PortB header of AVR Trainer Board with Data header of 128X64 Graphical LCD Interface Board with a 10 to 10 FRC Female Connector.

  • Steps - 3 ( 0f 7 )

    Connect PortD header of AVR Trainer Board with Control header of 128X64 Graphical LCD Interface Board with a 10 to 10 FRC Female Connector.

  • Steps - 4 ( 0f 7 )

    Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.

  • Steps - 5 ( 0f 7 )

    Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-FM Cable.

  • Steps - 6 ( 0f 7 )

    Switch on the power with the help of Power Switch of AVR Trainer Board-100.

  • Steps - 7 ( 0f 7 )

    Download the Picture Display in 128X64 Graphical LCD with ATmega16 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

  • Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.

    Steps - 1 ( 0f 7 )

  • Connect PortB header of AVR Trainer Board with Data header of 128X64 Graphical LCD Interface Board with a 10 to 10 FRC Female Connector.

    Steps - 2 ( 0f 7 )

  • Connect PortD header of AVR Trainer Board with Control header of 128X64 Graphical LCD Interface Board with a 10 to 10 FRC Female Connector.

    Steps - 3 ( 0f 7 )

  • Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.

    Steps - 4 ( 0f 7 )

  • Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-FM Cable.

    Steps - 5 ( 0f 7 )

  • Switch on the power with the help of Power Switch of AVR Trainer Board-100.

    Steps - 6 ( 0f 7 )

  • Download the Picture Display in 128X64 Graphical LCD with ATmega16 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

    Steps - 7 ( 0f 7 )

Post a Comment