14.5 PROJECT 14.5 – Decimal to Hexadecimal Converter using the SmartGLCD
14.5.1 Project Description
In this project we shall be converting decimal numbers into hexadecimal format by designing a calculator program using the Visual GLCD software and the SmartGLCD module. A keypad will be designed with decimal numbers 0 to 9, so that a decimal number can be entered. Touching the ENTER button will convert the entered number into hexadecimal and display it. The CLR button is used to clear the screen, so that a new number can be entered.
14.5.2 Screen Layout
The required screen layout is shown in Figure 14.32.
14.5.3 Circuit Diagram
The circuit diagram of the SmartGLCD board is as shown in Figure 14.19 in the form of blocks. A PIC18F8722 type microcontroller is used in the design. Details of the actual circuit diagram can be obtained from the manufacturer's Web site (http://www.mikroe.com).
The steps in creating the project using the Visual GLCD software are given below:
Get Using LEDs, LCDs and GLCDs in Microcontroller Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.