Dual Dice to seven segment display

Discussion in 'General Electronics Chat' started by kiddo1888, Apr 24, 2013.

  1. kiddo1888

    Thread Starter New Member

    Apr 24, 2013
    2
    0
    Hi, I am designing a circuit which simulates the rolling of two dice, I am doing this through 2 x 555 timers which connect to a decade counter chip(4017) and have them at different frequencies to get different outputs. My problem is that i am struggling to connect the outputs to the 7 seg display. I am getting an output on my led's but not on my 7seg display, can anyone advise me as to what display to use and how to connect it up?
     
  2. Youssef.zein86

    New Member

    Apr 24, 2013
    5
    1
    The 4017 is giving the output in binary, you can use a BCD to 7 segment decoder like the 4511, or you can design your own input output network, since you already have the truth table and it would be more fun.
    and of course you can use a microcontroller and solve this issue by software.
     
    kiddo1888 likes this.
  3. kiddo1888

    Thread Starter New Member

    Apr 24, 2013
    2
    0
    are you sure? i thought the 4017 outputs were already decoded? that's why i chose it, is there no way its outputs can be connected up via suitable resistors to the 7seg display?
     
  4. crutschow

    Expert

    Mar 14, 2008
    12,973
    3,219
    Sorry Kiddo. :( The 4017 counter is decoded, but not for a 7-segment display. It's decoded to give decimal outputs (one pin for each digit). I'm not aware of any single chip that will directly convert that to a 7-segment display output, but you could convert the decimal to binary (BCD) with a 4532 priority encoder chip driving a 4511 BCD to 7-segment display encoder.

    You can use counters like the 4026, 4033, or 40110, which all have decoded outputs for 7-segment displays.

    If you want both an LED display and a 7-segment display then (along with the technique is my first paragraph) you could also use a binary counter driving both a BCD-to-decimal converter (4028) and a BCD to 7-segment converter (4511).
     
  5. ScottWang

    Moderator

    Aug 23, 2012
    4,848
    767
    You can using CD4518 and CD4511 connecting to 7 segments LED.
    Set CD4518 to Divided by 7, because the dice is count from 1~6.

    1. NE555 → CD4518-1 → CD4511 → 7 segments LED.
    2. NE555 → CD4518-2 → CD4511 → 7 segments LED.

    Two NE555, One CD4518, two CD4511, two 7 segments LED.
    Also, you can using one MC14584 to replacing two NE555 to generate the pulse.
     
Loading...