KeyPad with Circuit Wizard

Discussion in 'The Projects Forum' started by MadmanW, Feb 25, 2015.

  1. MadmanW

    Thread Starter New Member

    Feb 25, 2015
    4
    0
    I starting an electronics project where I plan to build a simple alarm system where you can turn it off (once activated) using a keypad. I have created the circuit in circuit wizard and the flowchart seems to be working but I do not know how the keypad works so the micro chip is not reading the inputs from it.

    Please can someone.... anyone who has an idea about keypads in circuit wizard help me.


    Thank You in advance.
     
  2. MadmanW

    Thread Starter New Member

    Feb 25, 2015
    4
    0
    IMAGE OF CIRCUIT :
    upload_2015-2-25_18-36-6.png
     
  3. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,810
    834
    You would program the Genie to individually raise the pin associated with each row to a high level, while leaving the other rows at a low level. Then scan the three column pins for a high signal. The intersection of the row and column that are high defines which button is pressed. Warning, this simple approach does not account for multiple buttons pressed.
     
  4. MadmanW

    Thread Starter New Member

    Feb 25, 2015
    4
    0
    I think I understand what you are saying but when I press buttons on the keypad I am getting no response from the chip.
    (note changed the pin numbers from the pic posted above).

    upload_2015-2-25_19-6-45.png

    Thank you for the speedy response
     
  5. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,810
    834
    You're testing if D1 & D7 are on in the beginning of you flowchart. What you need to do is SET D1 high and see if D7 goes high. A keypad button connects a row to a column at the intersection. It does not change the output of a tow and column. Maybe this diagram will help
    image.jpg
     
    MadmanW likes this.
  6. MadmanW

    Thread Starter New Member

    Feb 25, 2015
    4
    0
    Thank you soo much it works now.

    upload_2015-2-25_21-40-25.png



    upload_2015-2-25_21-43-29.png
     
Loading...