Results 1 to 12 of 12

Thread: Circuit debugging question. Re an 8-bit comparator

  1. #1
    Registered
    Join Date
    Jan 2004
    Location
    United States
    Posts
    231
    Downloads
    0
    Uploads
    0

    Circuit debugging question. Re an 8-bit comparator

    I am trying to make a circuit similar to the one I described here:

    http://cnczone.com/forums/showthread.php?t=5366

    except this binary counter will have 8-bit resolution. I have some circuit simulation software and when I hook my 74LS682 in the following way I cant seem to get it to register that word it is comparing has changed, that is, it goes from 00000000 to 00000001 when I depress the button.

    Any suggestions?

    Owen
    Attached Thumbnails Attached Thumbnails Circuit debugging question. Re an 8-bit comparator-pic1.jpg  


  2. #2
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3325
    Downloads
    0
    Uploads
    0
    As depicted, when you press the button, they will be equal. There are unequal in the undepressed state. As show pin 19 will be false (hi), when you push the button and make equal it will go true (low).

    Phil


  3. #3
    Registered
    Join Date
    Jan 2004
    Location
    United States
    Posts
    231
    Downloads
    0
    Uploads
    0
    I guess i could put the question this way: why does my simulator give the same voltages for these two different circuits?

    o
    Attached Thumbnails Attached Thumbnails Circuit debugging question. Re an 8-bit comparator-pic2.jpg  


  4. #4
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    19119
    Downloads
    0
    Uploads
    0
    Owen, Is it because it is a 3state device? I do not have a spec sheet for this, do you have a link for it? I saw one application where p0 was designated AEN (address enable). I found the app sheet, what happens in the simulator if you place a pull-up resistor on the metered pin?
    Al
    Last edited by Al_The_Man; 07-26-2004 at 10:36 PM.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • #5
    Registered
    Join Date
    Jan 2004
    Location
    United States
    Posts
    231
    Downloads
    0
    Uploads
    0


  • #6
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3325
    Downloads
    0
    Uploads
    0
    I don't think it should. No it's not a tristateable.

    Phil


  • #7
    Registered
    Join Date
    Jan 2004
    Location
    United States
    Posts
    231
    Downloads
    0
    Uploads
    0
    grumble.

    owen


  • #8
    Registered DR-Motion's Avatar
    Join Date
    Mar 2004
    Location
    Ontario,Canada
    Posts
    120
    Downloads
    0
    Uploads
    0
    Owen,

    Just an observation... but I don't see a Vcc and GND connection for the 'LS682...just for the logic inputs.

    Gary

    edit... or maybe your simulator does it for you?
    embrace enthusiasm to accomplish the task
    Gary Davies... www.durhamrobotics.com


  • #9
    Registered
    Join Date
    Jan 2004
    Location
    United States
    Posts
    231
    Downloads
    0
    Uploads
    0
    yeah the simulator assumes those get hooked up and doesnt display 'em.


    o.


  • #10
    Registered
    Join Date
    Apr 2004
    Location
    sydney, australia
    Posts
    169
    Downloads
    0
    Uploads
    0
    Works for me using B2 Spice must be something not quite right with your simulation setup or part model.
    Attached Thumbnails Attached Thumbnails Circuit debugging question. Re an 8-bit comparator-equal.jpg   Circuit debugging question. Re an 8-bit comparator-bigger.jpg  


  • #11
    Registered
    Join Date
    Jan 2004
    Location
    United States
    Posts
    231
    Downloads
    0
    Uploads
    0
    tachus,

    what was designation of chip did you use? 74LS5684 or something else?

    and thanks much for taking the time to try it out.

    owen


  • #12
    Registered
    Join Date
    Apr 2004
    Location
    sydney, australia
    Posts
    169
    Downloads
    0
    Uploads
    0
    It was the ls682.


  • Similar Threads

    1. Question on Bit Sizes????
      By diogee02 in forum DIY CNC Router Table Machines
      Replies: 3
      Last Post: 06-02-2005, 08:22 PM
    2. Router bit feed rates.
      By ynneb in forum DIY CNC Router Table Machines
      Replies: 3
      Last Post: 05-28-2004, 12:54 PM
    3. Help w/ e-stop circuit design
      By owhite in forum General Electronics Discussion
      Replies: 4
      Last Post: 03-07-2004, 09:16 AM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.