24V 5A 3-state capacitive touch switch (not a dimmer, without relay)

MisterBill2

Joined Jan 23, 2018
27,683
Use a 10K resistor to pull down the Pin 14, no need for a series resistor if the pull-up is the same voltage as pin 16 supply voltage. Also, tie the capacitor to common instead of V+
 

MisterBill2

Joined Jan 23, 2018
27,683
Only MisterBill2 version works. Why ? Does it work with all 4017 ic ?
With the 100K and the 0.1Mfd cap, the rise time on the input will be slow. Some versions of CMOS logic devices do not like slow rising inputs. That could be the reason. OR, it does not rise to the trigger threshold before the button is released.
Also, some CMOS ICs just will not work with high value series input resistors.
And YES, my input will work with all 4000 series CMOS devices. At least, those using either 5 volt or 12 volt supplies.
 

MisterBill2

Joined Jan 23, 2018
27,683
If this is referencing the circuit in post #128, the answer is "not directly". Also, it does not seem that the mosfet will be adequately driven because of that series resistor. That should be a diode, because you have a functional OR gate driving the mosfet gate.
In fact, why not power the CMOS logic with 12 volts? That will provide better gate drive to the switching transistors.
What is the reason for adding an LED??
 

Thread Starter

oslosl

Joined Jan 13, 2023
270
If this is referencing the circuit in post #128, the answer is "not directly". Also, it does not seem that the mosfet will be adequately driven because of that series resistor. That should be a diode, because you have a functional OR gate driving the mosfet gate.
In fact, why not power the CMOS logic with 12 volts? That will provide better gate drive to the switching transistors.
What is the reason for adding an LED??
12v is fine for me (less heat from voltage drop). Please suggest best SIMPLE low sleep power curcuitry (runs on 6x21700 li-ion batteries). (Button) LED for indicating audio power on.switch.jpg
 
Last edited:

MisterBill2

Joined Jan 23, 2018
27,683
The connections to the 4017 counter do not look right to me. From post #1 I get these:
1. off
2. audio on
3. audio and lighting on.
That will not be possible with the circuit as shown.
But pin3 is high when the counter resets to zero, and that will not be the "everything off" condition. So really, pin 3 should have no connection, Pin #2 is high at the count of "one", and so it should feed the gate of Q2 through a diode, to allow Q2 to also be switched on through another diode for the count of 2, when pin 4 is high. That would be a diode "wired OR" function, required to hace the audio power on for conditions #2 and #3.
R2, used as a pull-down resistor to switch the mosfet off, needs to connect to the gate and to the common, NOT another CMOS output.
As shown, there is no "everything off" option available. With the 4017 decimal counter, one of the ten outputs is always high.
 
Top