Efficient Programmable Button Device for Customized Switch Functions

  • Thread starter Thread starter EkBlu14
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the design of a programmable button device that can execute different functions based on the state of a connected switch. Participants explore various approaches, components, and programming considerations related to this concept.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant suggests that the functionality of the device depends on how it connects to the existing system, proposing two methods: sending a signal down different lines based on the switch position or sending a different signal down a single line.
  • Another participant recommends using a microcontroller, such as a low-end PIC series or a BASIC Stamp, highlighting the advantages of reprogramming for altering device behavior despite the initial learning curve and programming requirements.
  • A participant outlines a desired functionality where the button triggers different devices (a speaker or an answering machine) based on the switch's state, indicating that programming should not be a significant hurdle due to available resources.
  • One suggestion involves using a single pole double throw (SPDT) or a double pole double throw (DPDT) switch as a simpler alternative to achieve the desired functionality.

Areas of Agreement / Disagreement

Participants present multiple competing views on how to implement the programmable button device, with no consensus on the best approach or components to use.

Contextual Notes

Some assumptions about the existing system and the specific requirements for the button device remain unclear, which may affect the proposed solutions.

Who May Find This Useful

Individuals interested in electronics design, particularly those exploring programmable devices and switch functionalities.

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:

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
5K
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
Replies
37
Views
7K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
21
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K