micro lab report 1 - experiment 1

5

Click here to load reader

Upload: isuru-buddika

Post on 02-Oct-2015

237 views

Category:

Documents


2 download

DESCRIPTION

Experiment 1 of ECX4236 LAB#1 : 2015

TRANSCRIPT

  • EXPERIMENT NO. : 01

    VERIFY AES-51 BOARD FUNCTIONALITY

    USING SELF TEST ROUTINE

    AIM

    To verify whether the AES51 development board is working properly using the built

    in test routines.

    OBJECTIVES

    1. Verify the board is functioning properly before using it for any development

    purposes.

    2. Learn how to use the built in test routine of the AES51 board.

    3. Run the self-test program and familiar with the each functions of the AES-51

    development board.

    4. Identify the basic functions of AES-51 development board.

    APPARATURES

    1. AES-51 Micro Controller development board.

    2. DC Power Supply.

    3. Serial Cable (RS232)

    4. Piece of Wire

    5. Flat Screw

    6. Personal Computer with Windows OS

  • PROCEDURE

    1. Power Supply and the board was checked for proper connections.

    2. Power Supply was switched on and power on indicator of the board was observed.

    3. AES-51 Test Routine was initialized by pressing the TEST button once.

    4. LCD Display was observed to see whether the Test Routine has initialized.

    5. Test 1 was initialized by pressing the TEST button again.

    6. After observing the output LEDs for TEST1, TEST2 was started by pressing the

    TEST button again.

    7. TEST2 was repeated for input ports 1,2,3 by grounding INT1, INT2, INT3 ports one

    at a time.

    8. After completing TEST2, TEST3 was initialized by pressing the TEST button again.

    9. +5V DC output of the board was connected to the ADC port and TEST3 was

    repeated again.

    10. TEST4 was started by pressing the TEST key again.

    11. To observe the TEST4 output board was connected to the computer using the

    serial cable and Terminal Emulator ( TE.EXE ) was executed. After that board was

    resetted and space key in the computer was pressed once.

    12. After completing TEST4, TEST button was pressed again to exit from the Test

    Routine.

  • OBSERVATIONS

    LCD display before starting the self test.

    LCD Display output when TEST button is pushed.

    TEST #1

    All four LEDs connected to the bits 4,5,6,7 of Port 0 switched on for a short time

    and then switched off again.

    TEST #2

    Display output when TEST #2 was done without grounding any input pins.

    Display output when TEST #2 was done while input port I1 is grounded.

    AES BASIC -52 1.0SYSTEM READY ! !

    TO ADVANCEANY KEY - REPEAT

    T2 INPUT PORT#IS FF 11111111

    T2 INPUT PORT#IS F7 11110111

  • Display output when TEST #2 was done while input port I2 is grounded.

    Display output when TEST #2 was conducted while input port I3 is grounded.

    TEST #3

    Display output when A/D input is kept open.

    Display output when +5V is connected to A/D input.

    TEST #4

    LCD Display output. The word AES was observed in the terminal emulator program

    in the computer.

    T2 INPUT PORT#IS DF 11011111

    T2 INPUT PORT#IS EF 11101111

    T3 ADC# TO D/AIS 01 00000001

    T3 ADC# TO D/A3F 00111111

    T4 SENTTO SERIAL PORTS

  • DISCUSSION

    AES-51 is a 8051 based development board which is used for experimental

    purposes. It is built with Microprocessor, RAM, ROM, Logic units, I/O ports in separate

    blocks with in the board providing easy understanding and identification for the user. But in

    a general Micro Controller all these things are built into a single chip/IC.

    Board can be powered up using any 7-15V AC-DC adapter. When using AC

    adapters, the power source selecting slide switch in the board must be set to the DC side.

    During our experiment board was powered using a DC power supply.

    If the board is functioning properly it should pass all the four test with expected

    outputs. But during our experiment TEST #3 didn't gave the expected output. It was

    expected to give 00000000 when A/D port was kept open and 11111111 when +5V was

    connected to A/D port. We got the results 00000001 and 00111111. This was because our

    powering arrangement and faults in the Analog to Digital converter unit in the board. This

    will not be a problem to our next experiments as we are not using A/D conversion in any of

    the activities.