You are viewing an older revision! See the latest version

Image Zooming

Objective

To display the various zoomed parts of an image using Nokia LCD 6610, SD Card and a touchpad.

Description

In this project, We have interfaced Nokia LCD, MPR121 capacitive touch sensor and an SD card system. The image as well as the various zoomed parts of it are stored in an SD Card. On pressing a particular touch sensor key, a particular zoomed portion is displayed on a Nokia LCD.

/media/uploads/abarve9/touch_pad.jpg

A reduced schematic of the touch key pad is as shown above.On pressing Key 1, the original image is displayed. On pressing key-2, the zoomed version of the original image is displayed. Keys 3, 4, 5 and 6 correspond to the top left, top right, bottom left and bottom right zoomed portions of the original image respectively. All the images are read from the SD card system and displayed on a Nokia LCD.

All the images are loaded into the micro SD card in a directory. The images are stored in bmp format. The interfacing of SD card system to the MBED is described in SD Card.
The inputs for selecting the images is done by capacitive touch sensor MPR121 from freescale. The interfacing of this is described in capacitive touchpad. The keys pressed are read using I2C interface and triggered by a digital interrupt.
Finally, the selected image is displayed on a Nokia LCD. The interfacing is described in Nokia LCD.
The displaying of bmp files is done using set of functions described in the "myBMP.cpp" file. The file was adopted from EasyBMP library.

Picture of the project

/media/uploads/abarve9/project_image.jpg


All wikipages