View Single Post
  #12   Report Post  
Posted to rec.crafts.metalworking
Stealth Pilot Stealth Pilot is offline
external usenet poster
 
Posts: 235
Default Little project for DoN or Jeff

On Wed, 16 Jul 2008 21:37:32 -0500, "Pete C."
wrote:


Andy Asberry wrote:

This project is for a student Quiz Bowl (think Jeopardy). Eight
handheld push button switches that turn on an led indicator (one for
each player) and energize a buzzer. It must also block all other
buttons so there are no simultaneous lights. Oh, and must be battery
powered.

Just to clue you in on my capabilities, the last course I took in
electronics was for tube radios. I can solder.

--Andy Asberry--
------Texas-----


One of the cheap little basic programmable microcontrollers ought to do
the job, something with 16 I/O lines preferably so you don't need
additional support chips. I believe Radio Scrap carries some of the
Parallax micros, as does Fry's.




I had an idle moment today and this little puzzle came to mind.
here is roughly how I would do it in one of the little GE PLC's.
(ladder logic using logicmaster)

it will look crap in a proportional font. use courier new in notepad
and you will see the typical logicmaster paper logic print.

you need to add the subroutine declaration and call in the main block
(placating the spell checkers out there).


|[ START LD SUBROUTINE BUZ ]
|
|[ VARIABLE DECLARATIONS ]
|
|[ START OF SUBROUTINE LOGIC ]
|
|
|ALW_ON +-----+
+--] [---+MOVE_+-
| | INT |
| | |
| CONST -+IN Q+-%R00001
| +00500 | LEN |
| |00001|
| +-----+
|
|
|%I0001 %I0002 %I0003 %I0004 %I0005 %I0006 %I0007 %I0008 +-----+ %Q0001
+--] [-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[---+OFDT
+---( )--
| |0.10s|
| | |
| %R00001-+PV |
| | |
| +-----+
| %R00002
|
|
|%I0002 %I0001 %I0003 %I0004 %I0005 %I0006 %I0007 %I0008 +-----+ %Q0002
+--] [-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[---+OFDT
+---( )--
| |0.10s|
| | |
| %R00001-+PV |
| | |
| +-----+
| %R00005
|
|
|%I0003 %I0002 %I0001 %I0004 %I0005 %I0006 %I0007 %I0008 +-----+ %Q0003
+--] [-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[---+OFDT
+---( )--
| |0.10s|
| | |
| %R00001-+PV |
| | |
| +-----+
| %R00008
|
|
|%I0004 %I0002 %I0003 %I0001 %I0005 %I0006 %I0007 %I0008 +-----+ %Q0004
+--] [-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[---+OFDT
+---( )--
| |0.10s|
| | |
| %R00001-+PV |
| | |
| +-----+
| %R00011
|
|
|%I0005 %I0002 %I0003 %I0004 %I0001 %I0006 %I0007 %I0008 +-----+ %Q0005
+--] [-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[---+OFDT
+---( )--
| |0.10s|
| | |
| %R00001-+PV |
| | |
| +-----+
| %R00014
|
|
|%I0006 %I0002 %I0003 %I0004 %I0005 %I0001 %I0007 %I0008 +-----+ %Q0006
+--] [-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[---+OFDT
+---( )--
| |0.10s|
| | |
| %R00001-+PV |
| | |
| +-----+
| %R00017
|
|
|%I0007 %I0002 %I0003 %I0004 %I0005 %I0006 %I0001 %I0008 +-----+ %Q0007
+--] [-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[---+OFDT
+---( )--
| |0.10s|
| | |
| %R00001-+PV |
| | |
| +-----+
| %R00020
|
|
|%I0008 %I0002 %I0003 %I0004 %I0005 %I0006 %I0007 %I0001 +-----+ %Q0008
+--] [-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[-----]/[---+OFDT
+---( )--
| |0.10s|
| | |
| %R00001-+PV |
| | |
| +-----+
| %R00023
|
|[ END OF SUBROUTINE LOGIC ]
|

turned out to be an interesting 10 minute exercise.

Stealth Pilot