Persistant circuit with a tactile switch

In summary: This relay will let you change the state of the LED without having to toggle it on and off, and it will remember its last state.
  • #1
RhysGM
10
0
Hello,

I have a set of switches that would look good on my project however they are all tactile SPST. Is there anyway (without the use of an IC) to turn these momentary switches into a SPDT and/or a latching SPST.

I want to switch the circuit on and off with a green and red led changing colour depending on the state and also switch a set of lights on and off.

It would also be good if they remembered their state when the entire circuit is switched off.

Thanks for any advice.
Rhys
 
Engineering news on Phys.org
  • #2
RhysGM said:
Hello,

I have a set of switches that would look good on my project however they are all tactile SPST. Is there anyway (without the use of an IC) to turn these momentary switches into a SPDT and/or a latching SPST.

I want to switch the circuit on and off with a green and red led changing colour depending on the state and also switch a set of lights on and off.

It would also be good if they remembered their state when the entire circuit is switched off.

Thanks for any advice.
Rhys

It doesn't sound like you can do what you want. What's wrong with using some simple flip-flops (FFs)? Or else look at switch manufacturer websites until you find a style of latching switch that you like...
 
  • #3
I wouldn't say you can't do it, but the circuit is going to get very complicated very fast, compared with just slapping some ICs down. A slow clock and a T-flipflop will do what you want to a degree: The output will change states as long as the button is held down, and hold whatever state it has when released, so you'd want the clock no faster than 1-2Hz or it'll toggle too fast for you to accurately let go in time.

If you use the switch to trigger a oneshot, the oneshot can then act as the trigger to the flipflop.

Without using ICs you're talking about at least a dozen different parts required to build this circuit, and you need to build it for each button.
 
  • #4
Use a mechanical latching relay. The kind with 2 coils. Arrange the contacts so that each time the switch is pushed it activates the coil that will change the contact position. Use a cap in series so it doesn't chase its tail.
 
  • #5


Hello Rhys,

Thank you for reaching out with your question about switches and circuit design. I can offer some suggestions and solutions to help you achieve your desired circuit.

First, let's discuss the difference between a SPST (single-pole, single-throw) and a SPDT (single-pole, double-throw) switch. A SPST switch has only two positions - on and off. A SPDT switch has three positions - on, off, and a middle position where the circuit is connected to a different output. So, to convert a tactile SPST switch into a SPDT switch, you would need to add another output to the switch.

One way to do this without using an IC (integrated circuit) is to use a relay. A relay is an electrically operated switch that can be used to control a larger current using a smaller current. You can connect your tactile switch to the relay's coil and use the relay's contacts as your SPDT switch. This would allow you to switch between the green and red LED and also control the set of lights. Additionally, you can use a latching relay to keep the circuit in its last state even when the power is turned off.

Another option is to use a transistor to create a "flip-flop" circuit. A flip-flop is a digital circuit that can store a binary state (on or off) and can be used to create a latching switch. By connecting a tactile switch to the transistor's base, you can control the flow of current through the transistor and switch your circuit on and off. This method would also allow you to use a single tactile switch for both the LEDs and the lights, as the flip-flop circuit can store two different states.

In both of these solutions, it is important to make sure that the relay or transistor can handle the current and voltage of your circuit. You may need to use additional components, such as resistors, to protect these components and ensure they function properly.

I hope this information helps you achieve your desired circuit design. As always, it is important to carefully test and troubleshoot any circuit before using it in a final project. Good luck with your project!

Best,
 

What is a "Persistent Circuit with a Tactile Switch"?

A "Persistent Circuit with a Tactile Switch" is a circuit that is designed to remain on even after the user stops pressing the tactile switch. This is achieved by using specific components and wiring methods to create a latching effect, allowing the circuit to remember its last state.

How does a Persistent Circuit with a Tactile Switch work?

A Persistent Circuit with a Tactile Switch works by using a latching mechanism, such as a flip-flop circuit, to store the state of the switch. When the switch is pressed, the state is changed, and the circuit remains in that state until the switch is pressed again.

What are the practical applications of a Persistent Circuit with a Tactile Switch?

Persistent circuits with tactile switches are commonly used in electronic devices that require a long-term memory or need to remember a specific setting. They are also useful in low-power devices, as they do not require constant power to maintain their state.

Can I build a Persistent Circuit with a Tactile Switch myself?

Yes, it is possible to build a persistent circuit with a tactile switch yourself. However, it requires a solid understanding of electronics and may involve complex wiring and circuit design. It is recommended to seek guidance from a professional or follow detailed tutorials to ensure proper functionality.

Are there any drawbacks to using a Persistent Circuit with a Tactile Switch?

One potential drawback of using a persistent circuit with a tactile switch is that it may consume more power than a standard circuit. This is due to the latching mechanism that is used to maintain the circuit's state. Additionally, the complexity of the circuit may make it more prone to malfunctions or require more maintenance.

Similar threads

  • Electrical Engineering
Replies
1
Views
824
  • Electrical Engineering
Replies
14
Views
2K
Replies
12
Views
2K
  • Electrical Engineering
Replies
5
Views
4K
  • Electrical Engineering
Replies
1
Views
1K
  • Electrical Engineering
Replies
34
Views
4K
  • Electrical Engineering
Replies
5
Views
2K
  • Electrical Engineering
Replies
7
Views
3K
Replies
5
Views
2K
Replies
11
Views
3K
Back
Top