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:
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top