View this week's entry ad »
Part Inventory
Go
powered by:
Part Finder
Go
powered by:
  • Quick Poll
What Social Networking site do you use the most?



VOTE VIEW RESULTS
Previous Polls
  • Featured Industry Resources

Get the most up-to-date information on leading products, trends and services from companies within the Electronics Industry

Learn More

 

Hotspots » Analog & Mixed SignalPowerEmbedded

Premium Content

Editors' Picks

Featured Industry Resources

Designing For The Smart Grid

January 25, 2010, 01:03 PM

There will be many opportunities for designing new products for the smart grid. Jerry Ramie of ARC Technical Resources analyzes the layers of interaction that must be supported.

Ushering In The Era Of Custom Design Automation

April 23, 2007, 12:00 AM

Even after 25 years of electronic design automation (EDA), a very high percentage of the layout for ICs shipped today are still completed by hand!

What’s All This Leopard Stuff, Anyhow?

March 04, 2010, 04:31 PM

Contributing editor, Bob Pease, rants about his new Apple MacBook and Leopard OS. He details the problems he encountered and errors he found in leading books on the subject as he tried to solve those...

First-Come, First-Serve Circuit Chooses Winners

By John Congistre

August 18, 2005

Print
Reprints Comment Subscribe

This circuit is a first-come, first-serve selector (see the figure). Its genesis comes from a teacher who asked me to create a "Jeopardy" style quiz show apparatus that offers a fun way to test students.

Three contestants each have a simple single-pole, single-throw switch to activate when they know the answer. The first one who thinks he or she has the answer locks his or her light on and wins! The contestant switches are SW2, SW3, and SW4. SW1 is used by the moderator to reset and hold the circuit reset until ready to run the quiz.

The circuit takes into account that in an RS flip-flop, when the preset and the clear are both low, the outputs Q and not-Q will be "1." Then when the first preset or clear goes high, the flip-flop will assume the "0-1" or "1-0" state, indicating whether the preset or clear went high first.

U1a, U1b, and U2a debounce the switches. U6a, U3a, and U3b are the RS arbitration flip-flops that determine which contestant is first. U4a, U4b, and U4c decode the arbitration flip-flop outputs to light the winning light or LED. U5a determines when any one switch is pressed, and U5b and U5c generate a delay so that the arbitration flip-flops settle out before the LEDs are illuminated.

The number of arbitration flip-flops needed for a given number of contestants is the combination of the number of contestants taken two at a time. Thus:

F = [C × (C — 1)]/2

where F is the number of arbitration flip-flops required, and C is the number of contestants. Therefore, three contestants require three arbitration flip-flops. And, four contestants require six flip-flops.

For the contestant switches, I used a 35-mm film can. The switch was mounted in the bottom of the can so that the person can hold it and push the switch.

R8 is a protection resistor in case the switch wires are shorted to ground. The capacitors reduce the noise on the debouncing flip-flops. With the appropriate drivers and voltage, a lamp could replace the LEDs.

Average ( Ratings):
Filed Under:

Check for price and availability on Source ESB:

Go
powered by  

Related Products

You must log on before posting a comment.

Are you a new visitor? Register Now

Acceptable Use Policy

Sponsored Links