[comp.sys.atari.st] Fire button light

al885@CWNS9.INS.CWRU.EDU (Gerard Pinzone) (02/28/91)

Here is a very simple circut that will light a LED whenever you push the
fire button. You could also use it for any other movement (joystick).


               Pin 7   O   +5V
                       |
                       |
                       /
                  R2   \   270 ohms
                       /
                       \
                       |
                       | +
                      LED
                       | -
                       |
                      /
          270 ohms  |/
Pin 6 O----\/\/\/---|    2N3904 or any NPN you can get your hands on.
             R1     |\
                      \
                       v
                       |
               Pin 8   O   GND


You can use any NPN transistor (like a 2N2222) you have although you may
have to change the resistor values slightly. R1 is optional....it works
fine with or without it. I didn't calculate or measure ANY values. It just
worked.

=========Gerard Pinzone=======================gpinzone@george.poly.edu=========
    _______   ________   ________    Just on the border of your waking mind
   /   ___/  /  _____/  /  __   /    There lies another time
  /   ___/  /  /____   /  __   /     Where darkness and light are one
 /______/  /_______/  /__/ /__/      And as you tread the halls of sanity
        East Coast Anime             You feel so glad to be unable to go beyond
ELO: "Prologue"  -=-  Daicon IV      I have a message from another time...