Counter and comparator circuits connected

2 replies · 2K views · last reply
MissP.25_5
Messages
329
Reaction score
0
Hi all, I need serious help here. I have to build two types of circuits as shown in the attached. The second one shows the circuit when the comparator's output is returned to the CLP. The IC's used here are IC 85 and IC 393 and the prototyping board used here is NI ELVIS 2. I think I have connected the pins right but the waveforms I got look so weird! I am required to get the results as in the last picture for the first circuit. In the second one, I am supposed to show that the counters are cleared. Please tell me what to do to correct this. Please do check my circuit. I have looked hard and I don't see anything missing.

Here are my results, I only did for N=6, though.
circuit 1:
(A>B)
http://www.flickr.com/photos/98820721@N04/11979283814/

(A=B)
http://www.flickr.com/photos/98820721@N04/11978878945/in/photostream/

(A<B)
http://www.flickr.com/photos/98820721@N04/11978878295/in/photostream/

circuit 2:
(A>B)
http://www.flickr.com/photos/98820721@N04/11979191043/in/photostream/

(A=B)
http://www.flickr.com/photos/98820721@N04/11978890275/in/photostream/

(A<B)
http://www.flickr.com/photos/98820721@N04/11978890385/in/photostream/
 
Attachments
  • Circuit schematic: a 85 4-bit magnitude comparator with inputs A0 to A3 from ELVIS D0 to D3, B0 to B3 from a 393 counter outputs, and 5V supply; 393 has FG (Function Generator) clock input and A, B, C, D outputs.
    55.JPG
    14.1 KB · Views: 535
  • Schematic of a 4-bit magnitude comparator (IC 85) with inputs A0-A3 from ELVIS D0-D3 and B0-B3 from ACH counter outputs, feeding a 393 counter with CK from FG and CLR from the A<B output.
    comparator and counter (counter cleared).JPG
    29.9 KB · Views: 579
  • Photo of an NI ELVIS II prototyping board with a breadboard wired to a 74HC85-style comparator and counter ICs, labelled circuit 1, with one IC marked as ignored by an arrow and red X.
    IMG_5794.jpg
    87.2 KB · Views: 619
  • Photo of an NI ELVIS II prototyping board with breadboards holding a 74-series IC with wires, labelled circuit 2 and an IC marked with a red X reading Ignore this IC.
    IMG_5797.jpg
    83.1 KB · Views: 548
  • Timing diagram titled 分周比—カウンタの出力 showing clock CK and counter outputs Qa, Qb, Qc, Qd, with dashed markers at counts 1, 2, 4, 8 and 0.
    rei.JPG
    27.5 KB · Views: 534
Last edited:
You don't seriously think anyone will be able to just look at pictures of your breadboards and figure out what the problem is, do you?
 
phinds said:
You don't seriously think anyone will be able to just look at pictures of your breadboards and figure out what the problem is, do you?

I just uploaded my result. Can you see them?