prepaid card for petrol bunks

Upload: manish-narkhede

Post on 14-Apr-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Prepaid Card for Petrol Bunks

    1/41

    PROJECT DEFINITION / SPECIFICATION

    For

    PREPAID CARDS FOR PETROL BUNKS

  • 7/30/2019 Prepaid Card for Petrol Bunks

    2/42

    SECTION 1: PROJECT TYPE

    Micro controller (AT89C51) hardware design with software development (Device

    Driver).

    SECTION 2: PROJECT DESCRIPTION

    A scheme ofPrepaid Card for Petrol Bunk System can facilitate in improved

    cash flow management in fuel utilities and can reduce problem associated with

    deployment of manpower for collecting bills. Every consumer can buy a memory card (is

    nothing but an EEPROM IC) with a password stored inside it using a MC program. The

    memory card is available at various ranges (i.e. Rs 50, Rs 100, Rs 200 etc).In our

    project we have given the name for memory card as smart card. When the consumer

    insert a smart card into the card reader which is connected to tariff indicator. Then the

    card reader will read the stored information and delete the information from the

    EEPROM IC using the MC program. So that the smart card cannot be reused by others.

    Suppose if a consumer buy a card for Rs.50/- he / she can insert this amount through the

    card reader so that tariff indicator kit will be activated. According to the fuel consumption

    the amount will be reduced. When the amount is over, the relays will automatically

    shutdown the whole system. In our project we also have a provision to give an alarm

    sound to consumer before the whole amount is reduced.

    The complete project is built around the 8051 micro controller. PCB Wizard

    Schematic generation software is employed to prepare the schematic for development of

    project. Hardware is built according to schematic prepared by soldering each componenton the general purpose PCB. Source code is developed using KEIL micro vision software.

    Vision is an IDE (Integrated Development Environment) that helps you write, compile,

    and debug embedded programs. The written source code is dumped into the

  • 7/30/2019 Prepaid Card for Petrol Bunks

    3/43

    microcontroller IC using a Programmer. To dump the code into microcontroller micro C

    Flash software is used.

    SECTION 3: BLOCK DIAGRAM

    SECTION 4: PROJECT OUTLINE

    Powe 20x4 LCD Display

    8051Micro

    controlle

    r

    LCD Display

    CARD

    Serial

    BuzzerReset Circuit

    6

    1 2 3

    4 5

    7 8

    0 #

    9

    *

    KEY PAD

    RTCEEP ROM

  • 7/30/2019 Prepaid Card for Petrol Bunks

    4/44

    A brief introduction to internal architecture of microcontroller.

    An over view of programming of microcontroller.

    An overview on assembly language.

    An overview on mechanical arrangement.

    Stepper motor interfacing with microcontroller.

    SECTION 5: INTERFACES USED

    Serial communication used for downloading the hex code.

    CARD READER

    16x4 LCD interfacing

    Buzzer interface

    EEP ROM

    RTC

    SECTION 6: SOFTWARES USED

    A Cross compiler for compiling and linking the code written for

    AT89C51.

    Serial communication software for downloading code to AT89C51.

    Operating system: Windows XP.