Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Programmable Button

  1. Jun 20, 2009 #1
    Programmable "Button"..

    I need a programmable "button" type device that will connect to a switch and will execute one function if the switch is on and a different one if the switch is off.
    I'm not really sure what type of device to use as I've only had a couple semesters in EE so any advice would be greatly appreciated..

    Thanks in advance,
     
  2. jcsd
  3. Jun 20, 2009 #2
    Re: Programmable "Button"..

    I think that we will need more information about how the device you are hooking up the button too will work.

    Because for example, one way to do it might be to use a simple switch where the button will send a signal down one of the lines (whichever one the switch is set to). Another way would be to send a different kind of signal down a single line depending on what the switch is set to.
     
  4. Jun 20, 2009 #3

    negitron

    User Avatar
    Science Advisor

    Re: Programmable "Button"..

    Easiest solution would be some sort of microcontroller such as one of the low-end PIC series (a PIC16F84A should do nicely) or the more user-friendly BASIC Stamp. Getting started with these entails some overhead--you need a programmer, at the very least--and a learning curve in terms of programming but once you've got those there are numerous advantages over discreet logic. For one, it's a snap to alter the behavior by simply reprogramming the device.
     
  5. Jun 20, 2009 #4
    Re: Programmable "Button"..

    The following is sort of how I want it to function...

    Button> Switch>
    |if on---> Trigger (Speaker/Pre-recorded Message System)
    |if off---> Trigger (Answering Machine/ Mic)


    Programming I don't think will be a big deal since I have a wide range of references at school...
     
  6. Jun 20, 2009 #5

    dlgoff

    User Avatar
    Science Advisor
    Gold Member

    Re: Programmable "Button"..

    How about just using a single pole double throw (SPDT) or a double pole double throw (DPDT) switch? http://en.wikipedia.org/wiki/Switch" [Broken]
     
    Last edited by a moderator: May 4, 2017
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Programmable Button
  1. Push buttons (Replies: 4)

  2. Clicker Buttons (Replies: 3)

Loading...