<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Sounds perfect! Like Gene said, a schematic would 
be awesome. :) But this definitely looks like it will do the trick.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>And for my next trick - fitting it all into an old 
graphing calculator case! ;)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Brian</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=jimsturs@zonnet.nl href="mailto:jimsturs@zonnet.nl">Jim 
  Sturcbecher</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=simpits-tech@simpits.org 
  href="mailto:simpits-tech@simpits.org">Simulator Cockpit tech list</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 08, 2003 3:49 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [simpits-tech] Momentary 
  on-off</DIV>
  <DIV><BR></DIV>Recipe as follows:<BR><BR>1 - Connect one side of the switch to 
  ground.<BR><BR>2 -&nbsp; Add a pullup resistor to VCC on the other switch 
  contact. this<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gives you a normally high 
  output that goes to ground when the<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; button 
  is pushed.<BR><BR>3 - Feed this signal via a RC network (series resistor, then 
  cap to gnd)<BR>&nbsp;&nbsp;&nbsp;&nbsp; to lose the switch-bounce 
  noise.<BR><BR>4 - This then goes into a 74LS14 Schmitt trigger 
  invertor.<BR><BR>5 - You will now have a nice clean high-going signal out of 
  the invertor<BR>&nbsp;&nbsp;&nbsp;&nbsp; when you push the button.<BR><BR>6 - 
  Feed this to the clock input of a D-Type flip-flop (74LS74) which 
  has<BR>&nbsp;&nbsp;&nbsp;&nbsp; the /Q output connected back to the D input 
  and both /SET and /CLR<BR>&nbsp;&nbsp;&nbsp;&nbsp; connected to VCC.<BR><BR>7 
  - Now every time you press the button, the Q output of the flip-flop 
  will<BR>&nbsp;&nbsp;&nbsp;&nbsp; change state.<BR><BR>Voila, one change-over 
  switch from a single push-button. You can drive<BR>the leds from the Q output 
  through a transistor to take the current.<BR><BR>Serve and 
  enjoy.<BR><BR>Jim.<BR><BR>At 8-10-03 18:57, you wrote:<BR>
  <BLOCKQUOTE class=cite cite="" type="cite"><FONT face=arial size=2>Quick 
    question:</FONT><BR>&nbsp;<BR><FONT face=arial size=2>I need to make a 
    momentary pushbutton switch turn some LEDs on and off. I.E. you push the 
    button once, they turn on, you push it again, they turn off. Any 
    ideas?</FONT><BR>&nbsp;<BR><FONT face=arial 
    size=2>Brian</FONT><BR>&nbsp;<BR><FONT face=arial size=2>PS - I've been 
    having trouble lately with my messages coming back from simpits-tech as 
    undeliverable my first try. Anyone else having 
    this?</FONT><BR>_______________________________________________<BR>Simpits-tech 
    mailing list<BR>Simpits-tech@simpits.org<BR><A 
    href="http://www.simpits.org/mailman/listinfo/simpits-tech" 
    eudora="autourl">http://www.simpits.org/mailman/listinfo/simpits-tech</A><BR>To 
    unsubscribe, please see the instructions at the bottom of the above 
    page.&nbsp; Thanks! </BLOCKQUOTE>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Simpits-tech mailing 
  list<BR>Simpits-tech@simpits.org<BR>http://www.simpits.org/mailman/listinfo/simpits-tech<BR>To 
  unsubscribe, please see the instructions at the bottom of the above 
  page.&nbsp; Thanks!</BLOCKQUOTE></BODY></HTML>