18F4550 with 74LS138

Home Forums Microcontrollers PIC Microcontroller 18F4550 with 74LS138

This topic contains 2 replies, has 2 voices, and was last updated by  ericJ 2 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11467

    ericJ
    Participant

    I am trying to connect 127 switches to the microcontroller using three 74ls138  decoders how will I scan the switch for buttons pessed

    #11471

    Ligo George
    Keymaster

    You may use it like matrix keypad. Use 6 pins of PIC as inputs such that you can connect 24 x 6 = 144 switches.

    #11507

    ericJ
    Participant

    I used the program in the tutorials on the 4×4 keypad as an example I modified it to scan the rows using the 74LS138 but I can not get it to work properly. I attached the I used. Please let me know what I am doing wrong.

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

string(7) "9898001"