+ Reply to Thread
Results 1 to 8 of 8

Thread: 7 seg with 2 inputs

  1. #1
    katq22 Newbie
    Join Date
    Aug 2008
    Location
    Melbourne, Aus
    Posts
    18

    Default 7 seg with 2 inputs

    What I am trying to do is have one 7 seg display have 2 separate inputs controlled by a switch. So it receives a signal from one IC to display the numbers, flick a switch, and the first IC turns off and a second IC connected to the 7seg turns on controlling what is displayed. Keeping what was displayed when switching is not necessary. I have attached a diagram to try to better explain what I am talking about.

    Thanks in advance for any help.

    Ben
    Attached Images


  2. #2
    silvarblade Good silvarblade Good
    Join Date
    Feb 2007
    Location
    The Motor city,USA
    Posts
    266

    Default

    rb0 is to be held high or open when an o/p is desired so you will have to connect a gnd inorder to disable them.As far as rb1 is concerned it concerns the decimal i/p so i dont think you need to connect it to a switch
    Last edited by silvarblade; 10th September 2008 at 06:49 AM. Reason: typo and me cant live seperately
    I just cant come up with a good one!

  3. #3
    Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent
    Join Date
    Mar 2005
    Location
    Brisbane Australia
    Posts
    6,805

    Default

    Have you considered using a (two) 74LS257 to select between the two inputs. This would be the more usual way to achieve what you require.

    Mike.

  4. #4
    katq22 Newbie
    Join Date
    Aug 2008
    Location
    Melbourne, Aus
    Posts
    18

    Default

    Quote Originally Posted by Pommie View Post
    Have you considered using a (two) 74LS257 to select between the two inputs. This would be the more usual way to achieve what you require.

    Mike.
    There will never be an occasion where both inputs will be sending a signal (Turned on) at the same time so your options seems a little overkill to me. Would I just be able to put a diode either side of the connections to the 7seg to stop the signal passing through to the other output?
    Last edited by katq22; 10th September 2008 at 07:46 AM.

  5. #5
    Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent
    Join Date
    Mar 2005
    Location
    Brisbane Australia
    Posts
    6,805

    Default

    I assumed you were asking for suggestions of how to achieve what you described. Two LS257s feeding two LS48s does this and is still only 4 chips. If this isn't what you were after then what is your question?

    If only 1 set of signals will be present at any one time then why do you need the switch, why not just OR the incoming signals together?

    Mike.

  6. #6
    katq22 Newbie
    Join Date
    Aug 2008
    Location
    Melbourne, Aus
    Posts
    18

    Default

    Sorry I got a little confused. I was looking at the output to the 7 seg and ways to switch the a - g outputs. That's why an outsider point of view is so good. I got so focused on that, I thought you were suggesting 2 chips per 7 seg. Not one chip to switch the bcd input & making the need for only 1 74ls48. Yes an or gate will work fine. Do you think a cd4071 be suitable?

    Ben

  7. #7
    audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent
    Join Date
    Mar 2004
    Location
    Canada, of course!
    Posts
    19,865

    Default

    An ordinary Cmos gate or inverter can drive only one 74LSxx input when it has a 5V supply. It can't drive a 74xx input.
    Uncle $crooge

  8. #8
    katq22 Newbie
    Join Date
    Aug 2008
    Location
    Melbourne, Aus
    Posts
    18

    Default

    So driving a 74LS48 is ok then? Cause that is what I have.

    Cheers
    Ben

+ Reply to Thread

Similar Threads

  1. pic16f877 a/d inputs
    By AtilaPap in forum Electronic Projects Design/Ideas/Reviews
    Replies: 0
    Latest: 11th October 2007, 09:45 AM
  2. op amp inputs
    By svtiss in forum General Electronics Chat
    Replies: 14
    Latest: 14th June 2006, 03:13 PM
  3. Best way to protect inputs?
    By Scarr in forum General Electronics Chat
    Replies: 14
    Latest: 6th June 2005, 04:07 AM
  4. Digital inputs and PFI trigger inputs on NI PCI 6259
    By tigercotter in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 2nd March 2005, 04:58 PM
  5. Inputs
    By Scarr in forum General Electronics Chat
    Replies: 5
    Latest: 26th December 2003, 08:21 PM

Tags for this Thread