Preview

Micro-Controller Based Project

Powerful Essays
Open Document
Open Document
737 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Micro-Controller Based Project
Microcontroller Application

I. Objectives:
To apply the knowledge in the course microprocessor in order to design a microcontroller based system.
To utilize liquid crystal display as the output of the system.
To create a program for the microcontroller in order to produce the desired output projection.

II. MATERIALS REQUIRED:
2x16 Liquid Crystal Display (LCD)
4x4 keypad
PC – 401
Connector wires
Arduino mini AT328 microcontroller
USB cable

III. BACKGROUND INFORMATION:

IV. PROCEDURE:

Part A. Circuit Connection

1. Connect the LCD pins into the digital pins of the arduino using patching cords following the connection below.
* LCD RS pin to digital pin 12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3 * LCD D7 pin to digital pin 2 * LCD R/W pin to ground * 10K potentiometer - ends to +5V and ground - wiper to LCD VO pin

2. Upload a sample program from the Arduino kit by connecting the USB cable into the pc USB going to Arduino. Through this, the patching compatibility will also be checked.

3. Connect the keypad into the pins of the Arduino having the following specific connection.
*Keypad pin 8 to digital 5
*Keypad pin 1 to digital 4
*Keypad pin 2 to digital 3
*Keypad pin 4 to digital 2
*Keypad pin 3 to digital 9
*Keypad pin 5 to digital 8
*Keypad pin 6 to digital 7
*Keypad pin 7 to digital 6

Part B. Program Construction

1. Run the Arduino software. A window will then appear similar to the one below.

2. Write and upload the program below:

Keypad testing | //to allow the arduino to read the keypad and the LCD#include <Keypad.h>#include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins of the LCDLiquidCrystal lcd(12, 11, 5, 4, 3, 2);//to inculcate the keypad orientation to the arduinoconst byte ROWS = 4; //four rowsconst byte

You May Also Find These Documents Helpful

  • Satisfactory Essays

    1. The 10-Key Numeric Keypad – [the table (box) is located below the instructions for the exercise.]…

    • 625 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    1.Write a program to read a character from the keyboard and display at the beginning of the next line. Page: 69(Done)…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Lab of Electrolytes

    • 608 Words
    • 3 Pages

    2. Connect the black and red wires properly and turn on the college power unit.…

    • 608 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Section Questions

    • 314 Words
    • 2 Pages

    1. What is the best method for touch typing using a QWERTY keyboard? (1.0 points)…

    • 314 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    GS1140 Mod6 Project

    • 1320 Words
    • 9 Pages

    Since step one was written a couple of things have changed and I realized typing was not really a problem.…

    • 1320 Words
    • 9 Pages
    Good Essays
  • Good Essays

    A Quiz And Answers

    • 1737 Words
    • 6 Pages

    You are helping a nontechnical user over the telephone and you need to have the user plug in the SVGA monitor. How would you describe the connector and number of pins in the SVGA connector?…

    • 1737 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Sti Setup

    • 6324 Words
    • 26 Pages

        Computer Requirements Installation of the Dicktator software Finding the icon to start the Dicktator software How to connect the Dicktator to the PC software…

    • 6324 Words
    • 26 Pages
    Good Essays
  • Powerful Essays

    Atmel Language

    • 1839 Words
    • 8 Pages

    This tutorial provides information on the tools and the basic steps that are involved in using the C programming language for the Atmel AVR microcontrollers. It is aimed at people who are new to this family of microcontrollers. The Atmel STK500 development board and the ATMEGA16 chip are used in this tutorial; however, it is easy to adopt the information given here for other AVR chips. This tutorial requires the following: • the AVR Studio produced by Atmel, • the WinAVR package by Sourgeforge WinAVR project, and • an STK500 development board produced by Atmel.…

    • 1839 Words
    • 8 Pages
    Powerful Essays
  • Powerful Essays

    The AVR microcontroller from Atmel is one of the most widely used 8-bit microcontrollers in the world. In this book the authors use a step-by-step and systematic approach to show the programming of the AVR chip. Examples in both Assembly language and C show how to program many of the AVR features, such as timers, serial…

    • 60899 Words
    • 244 Pages
    Powerful Essays
  • Satisfactory Essays

    Microcontroller

    • 657 Words
    • 3 Pages

    Q.4 (a) (b) Q. 4 (a) (b) Q.5 (a) (b) Q.5 (a) (b) Compare Von Neumann & Harvard architectures. List the features of ARM architecture. OR Explain PIC microcontroller. Write short note on RTC 12887.…

    • 657 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Keypad and Sensor Board.

    • 452 Words
    • 2 Pages

    This requires users to key in numbers in decimals or hexadecimals depending on the encoder that is programmed to the 4X4 keypad. The encoder will provide all the necessary logic inputs for the switches on the keypad. Below are block diagrams of the encoders from Fairchild Semiconductor and there are two different types; DIP(dual-inline package) and SOIC(small-outline integrated circuit).…

    • 452 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Past Pap

    • 1489 Words
    • 6 Pages

    2 1 Name the input devices A, B, C and D using the words from the list.…

    • 1489 Words
    • 6 Pages
    Satisfactory Essays
  • Powerful Essays

    In this project solar panel is used for charging the battery for power supply to th controller and the Rolling led display. And the matrix keypad is used to set the alphabets and numbers for scrolling on the display.…

    • 1766 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Direct Billing System

    • 462 Words
    • 2 Pages

    Large grocery stores are nowadays used by millions of people for the acquisition of an enlarging number of products. Product acquisition represents a complex process that comprises time spent in corridors, product location and checkout queues. On the other hand, it is becoming increasingly difficult for retailers to keep their clients loyal and to predict their needs due to the influence of competition and the lack of tools that discriminate consumption patterns.…

    • 462 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Term Papers

    • 1298 Words
    • 6 Pages

    The present course Linux programming deals with various aspects of a very widely used operating system i.e. LINUX. Actually LINUX is not an OS in itself but a kernel i.e., Heart of any operating system. Many OS use Linux kernel to interact with hardware. Some examples are…

    • 1298 Words
    • 6 Pages
    Powerful Essays