Microcontroller task- Burglar alarm+EEPROM

Discussion in 'Embedded Systems and Microcontrollers' started by GautamVK, Dec 5, 2010.

  1. GautamVK

    Thread Starter New Member

    Dec 5, 2010
    10
    0
    Hello there

    I am urgently looking for the codes for PIC16F628..

    Two switches SW1 and SW2 simulate a window and door respectively.

    In the armed mode:
    If a window switch trigged, system immediately should be alarmed (setting LD1) and if door switch is trigged, system shows a 3^8 delay to alarm (setting LD2)

    The "armed" mode: Controls by SW3 and SW4 after 4^8 sets "disarmed" mode.
    In case of triggering window, binary value 30 and triggering door, binary value 40 should be written in EEPROM in address h.
     
    Last edited: Dec 5, 2010
  2. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    My homework has a first name it's Oscar.
     
  3. nerdegutta

    Moderator

    Dec 15, 2009
    2,517
    785
    And 4 legs?
     
  4. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    No it is a hairy 8 legged monster haunting you in your dreams:eek: Please please make it go away.............
     
    Last edited: Dec 5, 2010
  5. nerdegutta

    Moderator

    Dec 15, 2009
    2,517
    785
    Sleipnir...?

    Do you have a schematic?
     
  6. GautamVK

    Thread Starter New Member

    Dec 5, 2010
    10
    0
    i do not have a schematic :(
     
  7. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    Creating a schematic would be a good start.
     
Loading...