Author Topic: How to use tactile switch as a ON-OFF button  (Read 4497 times)

0 Members and 1 Guest are viewing this topic.

Offline tapasxploreTopic starter

  • Contributor
  • Posts: 23
  • Country: in
How to use tactile switch as a ON-OFF button
« on: November 08, 2017, 12:54:03 pm »
Hi,

I am planning to use tactile switch to turn ON & OFF the circuit, can any one of you suggest IC for the same. I am not using any micro-controller in my circuit. I am thinking of using TPS3422 single channel push button controller, but after reading the datasheet, we can see there are two ports RST(invert) and Reset in the TPS3422, so how we can use TPS3422 without controller.

Regards,
Tapas
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2329
  • Country: 00
Re: How to use tactile switch as a ON-OFF button
« Reply #1 on: November 08, 2017, 12:57:52 pm »


or


 

Offline CJay

  • Super Contributor
  • ***
  • Posts: 4136
  • Country: gb
Re: How to use tactile switch as a ON-OFF button
« Reply #2 on: November 08, 2017, 01:32:29 pm »
 

Offline Bushougoma

  • Regular Contributor
  • *
  • Posts: 72
  • Country: us
Re: How to use tactile switch as a ON-OFF button
« Reply #3 on: November 10, 2017, 03:31:09 am »
You can use an SR latch it just requires a single quad NAND gate IC (tie the 2 unused NAND gates inputs directly to power or ground). Pull the S input low with the R input high and the Q output will go high. Pull the R input low with the S input high and the Q output will go low. High = output connected to VCC or Logic 1. Low= output connected to GND or Logic 0. Note that NAND gates can't source or sink much current (25 mA max) for the TI SN74HC00 so be sure to check the datasheet. Driving larger loads will require an external transistor or MOSFET.



The SR latch follows the following truth table:

----------
S  R   Q
----------
0  0   not allowed
0  1   1
1  0   0
1  1   no change

You could also use a 555 timer in bistable mode you can use two tactile switches one for ON and another for OFF (not shown) or a single tactile switch for ON and OFF as shown in this schematic. The 555 is capable of sourcing or sinking 200 mA max so you can drive larger loads without an external transistor or MOSFET.

« Last Edit: November 10, 2017, 03:12:04 pm by Bushougoma »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf