Results 1 to 12 of 12

Thread: Learning Logic Circuits

  1. #1
    CraigB's Avatar
    Join Date
    Feb 14th, 2007
    Location
    SWMO
    Age
    36
    Posts
    11,455
    Car(s)
    Merkur XR4Ti - Nissan Frontier Pro4X & Altima
    Rep Power
    301

    Learning Logic Circuits

    I've been tasked with building a simple device that would be called a win picker. Basically it's two switches, the first of which is tripped lights an LED bulb in it's lane. The second switch needs to not light the bulb in it's own lane. Picking the first switch tripped as the winner. The circuit I have created does this, but I lack a way to set a timer to say 15 seconds so the whole thing would reset on it's own. I'm working on that now, but only in the research phase.

    Keep in mind I know basically nothing about this, so it's a learning experience for me. I'm not asking anyone to build it for me (I plan to market it in the future), just looking for input.

    Anyway, this is what I came up with: https://simulator.io/board/TeoGDWgjPx/1
    ____________________________

  2. #2
    Disco Stu-pour Matt2000's Avatar
    Join Date
    Feb 17th, 2006
    Location
    Seagulls Steal Your Fish & Chips
    Age
    27
    Posts
    13,917
    Car(s)
    '01 Disco 2 V8, '94 Disco 1, '90 Disco 1 Bobtail
    Rep Power
    321
    That's a nice site, never seen that before. Nice design too, although I also don't claim to know very much about this kind of circuit either.

    From my limited knowledge I believe capacitors usually get employed for this kind of thing, charging or discharging a set value capacitor to create a time delay. I don't know how this fits into a logic circuit though as I'm thinking in traditional circuits.

    Edit: Apparently capacitors don't work in logic circuits. Told you I don't know much either.
    Last edited by Matt2000; August 11th, 2017 at 12:59 PM.
    ____________________________

  3. #3
    CraigB's Avatar
    Join Date
    Feb 14th, 2007
    Location
    SWMO
    Age
    36
    Posts
    11,455
    Car(s)
    Merkur XR4Ti - Nissan Frontier Pro4X & Altima
    Rep Power
    301
    Perhaps I'm trying to make this too complicated and should just design it around existing hardware.
    ____________________________

  4. #4
    Disco Stu-pour Matt2000's Avatar
    Join Date
    Feb 17th, 2006
    Location
    Seagulls Steal Your Fish & Chips
    Age
    27
    Posts
    13,917
    Car(s)
    '01 Disco 2 V8, '94 Disco 1, '90 Disco 1 Bobtail
    Rep Power
    321
    These days you could probably get a used/cheap/knockoff Arduino or microcontroller and write the code in half the time it would take to work out the logic circuit. With the little I know about the subject I think it would only take a small number of lines of code, basically monitoring the input pins, setting the output if it receives a signal and then waiting 15 seconds to reset. It would probably need to monitor each input independently, but 2 inputs and 2 outputs is easy even on the smallest off-the-shelf boards like the tiny PICO.
    ____________________________

  5. #5
    CraigB's Avatar
    Join Date
    Feb 14th, 2007
    Location
    SWMO
    Age
    36
    Posts
    11,455
    Car(s)
    Merkur XR4Ti - Nissan Frontier Pro4X & Altima
    Rep Power
    301
    I had considered something like that. Just need it to be bulletproof.
    ____________________________

  6. #6
    GRtak's Avatar
    Join Date
    Sep 6th, 2008
    Location
    Michigan USA
    Age
    47
    Posts
    16,753
    Rep Power
    523
    Do racers carry guns in the car? Some people just take things far too seriously!


    ____________________________
    "I don't care who does the electing, so long as I get to do the nominating" -Boss Tweed

    "No man's life, liberty or happiness are safe while Congress is in session,"- Mark Twain

  7. #7
    93Flareside's Avatar
    Join Date
    Jul 20th, 2009
    Location
    Old crabby people, Illinois
    Age
    26
    Posts
    14,773
    Car(s)
    '04 Ford Mustang GT '87 Mercury Colony Park
    Rep Power
    287
    Here I went to PLC ladder logic and then realized that's way overkill for what you're looking for.

    Wonder if Tim Hunkin who's made weird and odd prop machines has any information about doing something like that... he made a ''mind reader" coin operated thing years ago.
    ____________________________
    1993 Ford F-150 Flareside - July 2010 - August 2013
    2008 Jeep Patriot company provided - January 2012 - October 2013
    2004 Ford Mustang - September 2013 - Present
    2011 Jeep Patriot company provided - October 2013 - June 2015
    2012 Jeep Patriot company provided - June 2015 - Present
    1987 Mercury Colony Park GS - August 2015 - Present
    2003 EZGO TXT - March 2015 - Present (it's road legal!)


    Quote Originally Posted by narf View Post
    Did I mention it burps and farts like a Roman orgy?
    Avatar Via: http://tinyurl.com/mle2fmv

  8. #8
    CraigB's Avatar
    Join Date
    Feb 14th, 2007
    Location
    SWMO
    Age
    36
    Posts
    11,455
    Car(s)
    Merkur XR4Ti - Nissan Frontier Pro4X & Altima
    Rep Power
    301
    Quote Originally Posted by GRtak View Post
    Do racers carry guns in the car? Some people just take things far too seriously!


    Yeah, I'm sure they do. Especially the no prep guys I have the idea to sell to...
    Quote Originally Posted by 93Flareside View Post
    Here I went to PLC ladder logic and then realized that's way overkill for what you're looking for.

    Wonder if Tim Hunkin who's made weird and odd prop machines has any information about doing something like that... he made a ''mind reader" coin operated thing years ago.
    I'd like to make it look complicated enough that they won't try to fix it themselves if something goes wrong. Like leaving it plugged in when a thunderstorm rolls through.
    ____________________________

  9. #9
    Disco Stu-pour Matt2000's Avatar
    Join Date
    Feb 17th, 2006
    Location
    Seagulls Steal Your Fish & Chips
    Age
    27
    Posts
    13,917
    Car(s)
    '01 Disco 2 V8, '94 Disco 1, '90 Disco 1 Bobtail
    Rep Power
    321
    Quote Originally Posted by CraigB View Post
    I'd like to make it look complicated enough that they won't try to fix it themselves if something goes wrong. Like leaving it plugged in when a thunderstorm rolls through.
    It's possible to do it with transistors, capacitors and resistors but I suspect that's basic enough that they would try to fix it. If you get something like a cheap Arduino you can have spares ready to program and swap straight out and it's all self-contained so there's nothing to 'fix'.
    ____________________________

  10. #10
    93Flareside's Avatar
    Join Date
    Jul 20th, 2009
    Location
    Old crabby people, Illinois
    Age
    26
    Posts
    14,773
    Car(s)
    '04 Ford Mustang GT '87 Mercury Colony Park
    Rep Power
    287
    What you need is a cam timer.
    ____________________________
    1993 Ford F-150 Flareside - July 2010 - August 2013
    2008 Jeep Patriot company provided - January 2012 - October 2013
    2004 Ford Mustang - September 2013 - Present
    2011 Jeep Patriot company provided - October 2013 - June 2015
    2012 Jeep Patriot company provided - June 2015 - Present
    1987 Mercury Colony Park GS - August 2015 - Present
    2003 EZGO TXT - March 2015 - Present (it's road legal!)


    Quote Originally Posted by narf View Post
    Did I mention it burps and farts like a Roman orgy?
    Avatar Via: http://tinyurl.com/mle2fmv

  11. #11
    Mr. Fedewhatever CrzRsn's Avatar
    Join Date
    Mar 6th, 2005
    Location
    Motor City, Michigan
    Age
    27
    Posts
    15,743
    Car(s)
    13 Ford Mustang GT, 96 Jeep Cherokee
    Rep Power
    431
    This site is really neat! I just with they had lesson style tutorials ontop of examples.
    ____________________________

    1997 Audi A6 Avant 2.8 quattro - 12/2006-04/2007 - Totaled
    2005 Audi TT 1.8T quattro - 07/2012-11/2012 - Traded
    2013 Ford Mustang GT 5.0 - 11/2012-
    1992 Mazda Miata 1.6 - 03/2013-07/2017 - Sold
    1996 Jeep Cherokee 4.0 - 12/2014-



    Twitter/Instagram: @SeenOnWoodward

  12. #12
    CraigB's Avatar
    Join Date
    Feb 14th, 2007
    Location
    SWMO
    Age
    36
    Posts
    11,455
    Car(s)
    Merkur XR4Ti - Nissan Frontier Pro4X & Altima
    Rep Power
    301
    I just did a little research and trial and error to get what I wanted.
    ____________________________

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Proof Photo Posted Loose loses logic and accidentally a 1999 Honda VFR 800 FI
    By loose_unit in forum Post Your Car
    Replies: 105
    Last Post: August 29th, 2016, 4:11 PM
  2. Learning to Drive vs. Learning to Ride
    By Loz in forum General Automotive
    Replies: 54
    Last Post: February 16th, 2012, 1:10 AM
  3. Equivalent Electrical Circuits
    By otispunkmeyer in forum Off-Topic
    Replies: 14
    Last Post: October 12th, 2011, 9:13 PM
  4. Old circuits, what happened to them...?
    By marcos_eirik in forum Formula 1
    Replies: 15
    Last Post: March 30th, 2010, 8:21 PM
  5. No 56k: Bike News: BMW defies logic with six-cylinder Concept 6 motorcycle
    By A7XFan22 in forum Automotive News / Spy Shots / Concepts / Rumor Mill
    Replies: 28
    Last Post: November 11th, 2009, 9:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •