![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| How can I use a momentary switch (like a membrane switch) To control something? I want it to turn the device On or off by pressing the button. Ive tried latches, but it seems you need 2 Switches for the device to work. | |
| |
| | (permalink) |
| You could also use either a J-K flip-flop or D-Latch flip-flop circuit to get the desired results. If memory serves me well, a similar post addressed this very same topic. Try using the search function and search for those key-words, or the IC's 4013, 7474 (D-Latch) or 7476 (J-K) Some Examples ... http://www.cpemma.co.uk/flipflop.html Last edited by SPDCHK; 19th December 2006 at 04:16 AM. | |
| |
| | (permalink) | |
| Quote:
However, you need a bounce suppressor to eliminate contact bounce from the switch. Otherwise, the FF will toggle at every bounce and, when the bouncing has finished, be either in the set or reset state depending on whether there was an odd or even number of bounces. Connect the switch to the bounce suppressor and the output of the BS to the Ck input of the FF. For a D type FF connect D to Q bar. Do a search for "bounce" in this forum. There have been several circuits posted in the past including some by myself.
__________________ Len | ||
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| This circuit uses a momentary pushbutton. Push and it is on. Push again and it is off. Push again and it is on again, etc. It can drive a transistor or Mosfet for more output power.
__________________ Uncle $crooge | |
| |
| | (permalink) |
| A very interesting, clever design, from an old book on relay circuit design (probably 1951), a toggle flip-flop, using only two relays, is shown in attachment toggle1.png | |
| |
| | (permalink) | |
| Quote:
This circuit should be a sticky somewhere. It is requested about once every 6 weeks!
__________________ "Everything that is done in the world is done by hope." -Martin Luther "There are two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle."-Albert Einstein | ||
| |
| | (permalink) | |
| Quote:
ADD: Got it to do what I want. I used a D type FF used as a toggle FF. http://www.doctronics.co.uk/4013.htm Last edited by Overclocked; 19th December 2006 at 09:28 PM. | ||
| |
| | (permalink) |
| The latching circuit with two inverters works fine. Multisim doesn't know if it is coming or going.
__________________ Uncle $crooge | |
| |
| | (permalink) | |
| Quote:
I designed to attached circuit a year or 3 ago and found that the oscillator (which is similar to your latch) had ringing at each edge. I solved it by adding C4 at the input to IC1a.
__________________ Len | ||
| |
| | (permalink) |
| Hi Len, You used the Classic Cmos Oscillator circuit but you used a Schmitt-trigger IC instead of a regular one. You could have used only a single Schmitt inverter instead.
__________________ Uncle $crooge | |
| |
| | (permalink) | |
| Quote:
This is because the 2 Inv one causes the input voltage (ie. to the second Schmitt) to go above Vcc at the transition and decay to the lower threshold level where it switches regeneratively to the other state and so the input voltage goes negative and then decays to the upper threshold etc. So there is less time spent in the active region, therefore less supply current.
__________________ Len | ||
| |
| | (permalink) |
| Hi Len, I made 3 LED Chaser projects. This one uses ordinary Cmos Schmitt trigger inverters in oscillators from a 6V battery that lasts "forever". I also have it made with 74HC Cmos Schmitt trigger inverters so it can operate from a 3V battery that drops to 2V. The current is very low.
__________________ Uncle $crooge | |
| |
| | (permalink) | |
| Quote:
Thanks for the info. have a good Xmas
__________________ Len | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| PIC Switch Management Techniques | Mike, K8LH | Micro Controllers | 2 | 28th September 2006 01:33 PM |
| electronic switch | NicholasSpiteri | Electronic Projects Design/Ideas/Reviews | 12 | 28th May 2006 07:12 AM |
| Electronic Switch | Monkeymon | Electronic Projects Design/Ideas/Reviews | 10 | 3rd March 2004 04:09 PM |
| Electronic switch for guitar | john_fontain | General Electronics Chat | 7 | 16th January 2004 08:50 PM |
| convert a manual switch to an electronic switch | dolphin | Electronic Projects Design/Ideas/Reviews | 1 | 1st September 2003 06:04 AM |