How can i build 8 bit UP/DOWN counter using two 74191?

Click For Summary

Discussion Overview

The discussion revolves around building an 8-bit up/down counter using two 74191 integrated circuits for a tracking ADC application. Participants explore various circuit configurations, challenges faced during implementation, and seek advice on design and functionality.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant seeks assistance on how to connect two 74191 chips to create an 8-bit up/down counter.
  • Another participant expresses that a referenced circuit is too complex and requests simpler ideas for the counter design.
  • Concerns are raised about the necessity for the original poster to demonstrate their own ideas before receiving further help.
  • A participant describes their attempt to build the counter but notes issues specifically when counting down, mentioning the use of additional gates in their circuit.
  • Questions are posed regarding the use of an op-amp as a gate and requests for the equations and K-Map used in the design.
  • Suggestions are made to first ensure one counter functions correctly before integrating the second counter.
  • Clarification is sought on which counter is designated as the lower and higher 4-bit counter, along with a request for a detailed description of the counting process.
  • A participant explains the intended operation of the counters, detailing how the first counter counts up and how the second counter is supposed to function in conjunction with it.
  • There is mention of using a NOR gate to control the counting direction based on the outputs of the second counter.

Areas of Agreement / Disagreement

Participants express differing opinions on the complexity of the circuit and the approach to troubleshooting. There is no consensus on the best method to connect the counters or resolve the counting issues, indicating multiple competing views remain.

Contextual Notes

Participants have not fully resolved the specific issues related to counting down and the interaction between the two counters. There are also references to application notes for the 74191, suggesting that additional resources may be beneficial.

smuscat
Messages
31
Reaction score
0
I need some help how to build 8 bit up/down counter for my tracking ADC. All ideas are welcome.
 
Engineering news on Phys.org
smuscat said:
I need some help how to build 8 bit up/down counter for my tracking ADC. All ideas are welcome.

Check out the first thread listed below in the "Similar Threads" section. Does it help?
 
berkeman said:
Check out the first thread listed below in the "Similar Threads" section. Does it help?

It didn't help me so much,his circuit is more complex than mine. I need how to connect the two 74191 to built an 8 bit up/down counter.My idea of the counter is to use it as DAC as binary weighted resistors network.Finally I want to built Tracking ADC.
 
smuscat said:
It didn't help me so much,his circuit is more complex than mine. I need how to connect the two 74191 to built an 8 bit up/down counter.My idea of the counter is to use it as DAC as binary weighted resistors network.Finally I want to built Tracking ADC.

We don't do your school project work for you, smuscat. You need to do the bulk of the work. Show us your ideas about how to do the counter, and how you are going to use it as part of an ADC. Once you show us your work, we can offer tutorial comments that may help. You are required to do the bulk of the work on your project.
 
berkeman said:
We don't do your school project work for you, smuscat. You need to do the bulk of the work. Show us your ideas about how to do the counter, and how you are going to use it as part of an ADC. Once you show us your work, we can offer tutorial comments that may help. You are required to do the bulk of the work on your project.

I tried to build the 8bit up down counter but didn't works well.I used two 74191 ,4 input NOR gate an AND gate.The circuit is attached. The problem is when counting down.
 

Attachments

  • counter.jpg
    counter.jpg
    19.2 KB · Views: 1,566
smuscat said:
I tried to build the 8bit up down counter but didn't works well.I used two 74191 ,4 input NOR gate an AND gate.The circuit is attached. The problem is when counting down.

Why are you using an opamp as a gate? Can you post your equations and K-Map that you used to design this? How did you derive that gate arrangement?
 
berkeman said:
Why are you using an opamp as a gate? Can you post your equations and K-Map that you used to design this? How did you derive that gate arrangement?

The opamp is used as a compartor(+ i/p is from DAC, - i/p is analogue ) .When the second counter starts counting down ,the first counter is enabled to count down only when the second counter outputs are all 0.
 
Why don't you get one counter working first and then add on the second one. Off hand it seems to me you have a number of errors. Have you looked for some application notes for the 74191? (AN 74191)
 
skeptic2 said:
Why don't you get one counter working first and then add on the second one. Off hand it seems to me you have a number of errors. Have you looked for some application notes for the 74191? (AN 74191)

I tried a single counter and it worked fine.The datasheet states that for cascading counters the ripple clock o/p of the 191 is fed to the clock i/p of the second 191 ,i tried it didn't worked when count down.My problem is when begins to count down.
 
  • #10
Which is your first 191 and which is your second?
 
  • #11
skeptic2 said:
Which is your first 191 and which is your second?

The first one is with the gates.
 
  • #12
I should have asked which is the lower 4 bit counter and which is the higher 4 bit counter?

It also might help if you could describe how it is supposed to work count by count. What is the state of the inputs and outputs when you start? What happens when your clock ripples from the first counter to the second one?
 
  • #13
skeptic2 said:
I should have asked which is the lower 4 bit counter and which is the higher 4 bit counter?

It also might help if you could describe how it is supposed to work count by count. What is the state of the inputs and outputs when you start? What happens when your clock ripples from the first counter to the second one?

The lower bit counter is on top left corner of the image.The counter works as follows.

First, the Data inputs of the counters are all at 0 level.

When I load the inputs simultanously,the first counter starts to count up,when it reaches
maxium count the counter's ripple clock is fed to the second counter and continues to count, at this stage works perfectly!

The problem is when count down from the second counter to the first counter.

I tried to solve the problem by making a NOR gate from the outputs of the second counter
_
to the input of the UP/DOWN count first counter to enable the first counter ONLY to COUNT DOWN when the outputs of the second counters are all at 0 LEVEL.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
12K
Replies
10
Views
5K
  • · Replies 49 ·
2
Replies
49
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 63 ·
3
Replies
63
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
20
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K