0
\$\begingroup\$

I'm working on a project that uses three 7-segment displays. My aim is to show the words 'CAT', 'DOG', and 'FOX' using the 3 displays, one word at at time with a 1 second delay in between.

To achieve this, I'm using a 74160 4-bit decade counter and a 555 Timer IC.

The 74160 will sequence the words, and the 555 Timer IC will handle the 1-second intervals. I'm looking for a simple way to program these words, as I find working with EEPROMs quite challenging.

\$\endgroup\$
10
  • \$\begingroup\$ What's the question or problem? Programming the EEPROMs? \$\endgroup\$
    – pipe
    Commented Dec 3, 2023 at 23:36
  • \$\begingroup\$ If it is going just about 3 words only you can avoid eeprom using hardwiring or switches. \$\endgroup\$ Commented Dec 3, 2023 at 23:43
  • \$\begingroup\$ CA7, 006, F0H - spelling these words on a 7 segment seems challenging, perhaps you’re using a 14 segment? \$\endgroup\$
    – Bryan
    Commented Dec 3, 2023 at 23:47
  • 1
    \$\begingroup\$ @Bryan D is usually shown in lowercase on a seven-segment display, so there's no ambiguity with 0/O. \$\endgroup\$
    – Hearth
    Commented Dec 3, 2023 at 23:49
  • 3
    \$\begingroup\$ @Michael Why did you say you needed to display one set of words when you actually needed a different set? \$\endgroup\$
    – Hearth
    Commented Dec 4, 2023 at 2:05

3 Answers 3

1
\$\begingroup\$

Diode ROM can do this, use stripboard and put a movie on in the background or something, it takes longer than you think. Use one strip for each "word" input line and one strip for each segment output line and make up the appropriate links with diodes. @Bryan's comment on 14-segment displays is also a good idea.

\$\endgroup\$
2
  • \$\begingroup\$ Seems very advanced for me, as I'm just starting. Someone suggested simulating memory device with dual 4:1 multiplexers.. What do you think about that? \$\endgroup\$
    – Michael
    Commented Dec 4, 2023 at 0:24
  • \$\begingroup\$ You'd have to either find multiplexers with tristate outputs and put them high-Z instead of low or basically implement diode ROM on top of it. \$\endgroup\$
    – vir
    Commented Dec 4, 2023 at 0:33
0
\$\begingroup\$

If you decode the four words so you have one high of four, you can make an 'or' (actually 'nor') gate with resistors and BJTs. For example you could use a 74HC4017 for both counter and decoder. Assuming a common anode display, you would just use a resistor wherever an 'on' segment is desired. To display this:

enter image description here

You would need about 50 resistors for the 'ROM' (and 28 more for segment current limiting, plus 28 NPN transistors- actually segment b in the middle and right digits are not used so make that 26 of each rather than 28)

schematic

simulate this circuit – Schematic created using CircuitLab

Personally, I'd use a small microcontroller and an internally multiplexed display, an Arduino would be well suited if you don't have that option available. It would only take the Arduino, a ULN2003, 3x 2N4003 and 10 resistors.

If you wanted to use just gates rather than resistors or diodes, you could use 26x 3-input NOR gates (eg. 74HC27, 9x 14-pin packages) and 26 segment current-limiting resistors, plus the 74HC4017 and 555.

\$\endgroup\$
0
\$\begingroup\$

You have two inputs bit 0 and bit 1 from the counter and 21 outputs (a-g) for each 7 segment.

however there are only 8 possible patterns of illumination for each segment.

  • always on
  • never on
  • on for fox only
  • off for fox only
  • on for cat only
  • off for cat only
  • on for dog only
  • off for dog only

that seems like a lot but two of those are constant, two of those map directly to input signalsm, to of those map directly to the inverted form of input signals, so there's only two where you will need to combine the two input signals using logic gates.

so decode the binary input to give a signal matching each pattern, and then connect each segment to the signal with the appropriate pattern.

as they will be driving multiple segments you may need to boost the strength of the signals a bit, (eg using ULN7003 - it only has only 7 outputs but "never on" doesn't need a wire to any place to stay dark)

use a resistor for each segment.

The ULN7003 may be able to double as an inverter for some of the signals if you add pull-up resistors for the signal you need to invert, given that, a diode-or should get you all the combinatorial logic you need.

You don't have to use the ULN7003, you could use individual transistors instead, but the ULN7003 is more compact.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.