problem with 16 user inputs

Discussion in 'Embedded Systems and Microcontrollers' started by maliksunny, Nov 8, 2010.

  1. maliksunny

    Thread Starter New Member

    Nov 8, 2010
    2
    0
    I am making a mc project dealing with 16 user inputs and then show the output (i.e the input number) on two seven segments.
    i am providing the rough block diagram,
    i have completed the coding of it.
    I am using AT89S52 microcontroller and an encoder IC.
    but i dont know how to use an encoder IC (decimal to BCD encoder)

    i need help regarding 10 line to 4 line "decimal to BCD encoder".
    if anyone know how to use it.
    kindly tell me i am almost on completion stage.
     
  2. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
    What are inputs 1-9 for and 10-16 for?
     
  3. maliksunny

    Thread Starter New Member

    Nov 8, 2010
    2
    0
    toggle switches.
    either 0 or 1

    actually they are the room numbers. there are 16 rooms, and whenever someone presses the button his room no. will be displayed on 7 segment
     
  4. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,795
    951
    Read this:

    http://www.c-stamp.com/Documents/Documentation/7segdisplay.pdf
     
  5. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
    Why do you use an encoder?

    How many inputs does the microcontroller have?
     
Loading...