Efficient Programmable Button Device for Customized Switch Functions

  • Thread starter Thread starter EkBlu14
  • Start date Start date
AI Thread Summary
A programmable button device is needed to execute different functions based on a switch's position. Suggestions include using a microcontroller like the PIC16F84A or BASIC Stamp for flexibility and ease of reprogramming. The device should be able to send distinct signals depending on whether the switch is on or off. Alternatives like SPDT or DPDT switches are also mentioned for achieving the desired functionality. Overall, the discussion emphasizes the importance of understanding the device's connection and programming requirements.
EkBlu14
Messages
2
Reaction score
0
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,
 
Engineering news on Phys.org


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.
 


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.
 


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...
 


How about just using a single pole double throw (SPDT) or a double pole double throw (DPDT) switch? http://en.wikipedia.org/wiki/Switch"
 
Last edited by a moderator:
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Back
Top