The circuit idea is that the static output voltage of R1 to R2||R3 voltage divider doesn't reach the threshold voltage of inputs 2 and 6 and the button can be pressed infinitely. The problem is however that with the present R1*C1 time constant of 10 µs the capacitor already charges during contact bounce. Increasing both R1 and C1 should avoid this situation. R1 should be larger than R2 and R3 to keep sufficient margin to input thresholds, particularly when using a CMOS 555.The circuit works only if you remove your finger from the button fast enough.
It would be good idea to follow standard schematic drawing rules.6 and 2 are connected.
Thanks , I will increase the value now ...The circuit idea is that the static output voltage of R1 to R2||R3 voltage divider doesn't reach the threshold voltage of inputs 2 and 6 and the button can be pressed infinitely. The problem is however that with the present R1*C1 time constant of 10 µs the capacitor already charges during contact bounce. Increasing both R1 and C1 should avoid this situation. R1 should be larger than R2 and R3 to keep sufficient margin to input thresholds, particularly when using a CMOS 555.
--- Updated ---
It would be good idea to follow standard schematic drawing rules.
hanks , I will increase the value now ...
Hello, R1 is changed to 22K, same problem, C1 changed to 10 uf same problem, I even replaced the 555 same problem . The problem is only on the "off" state . For some reason, when I replaced the values of the C1 R1, it became alsmost impossible to move to low state by pressing the button. The push button is a simple one, when preseeed, it stays closed until I release it.The circuit idea is that the static output voltage of R1 to R2||R3 voltage divider doesn't reach the threshold voltage of inputs 2 and 6 and the button can be pressed infinitely. The problem is however that with the present R1*C1 time constant of 10 µs the capacitor already charges during contact bounce. Increasing both R1 and C1 should avoid this situation. R1 should be larger than R2 and R3 to keep sufficient margin to input thresholds, particularly when using a CMOS 555.
--- Updated ---
It would be good idea to follow standard schematic drawing rules.
Hello,Changing R1 to a higher resistance. With your 12V supply, the 555's internal threshold voltages are near 4V and 8V.
When the output is high then it and the capacitor will be about 10.6V. Then the button is pushed and it applies its 10.6V to pin 6 and is higher than the 8V threshold voltage so it resets the 555 causing the output to go low.
If the button is still being pushed then the capacitor voltage quickly drops almost to the 6V of R2 and R3. When the button is released then the capacitor voltage goes low which passes the 4V threshold voltage of pin 2 and the 555 is set causing the output to go high when it should not be set.
Changing R1 to a higher resistance. With your 12V supply, the 555's internal threshold voltages are near 4V and 8V.
When the output is high then it and the capacitor will be about 10.6V. Then the button is pushed and it applies its 10.6V to pin 6 and is higher than the 8V threshold voltage so it resets the 555 causing the output to go low.
If the button is still being pushed then the capacitor voltage quickly drops almost to the 6V of R2 and R3. When the button is released then the capacitor voltage goes low which passes the 4V threshold voltage of pin 2 and the 555 is set causing the output to go high when it should not be set.
How does the internal threshold voltages are set ( 4V and 8V)? and if I should try to increase C1 , what vaule should I use ? thanks
Thanks, I will consider moving to ATTINY85, solution after I am totally stuck using the simple 555.Here is added coding that handles brownout condition handling -
View attachment 173518
Regards, Dana.
Just consider it for future work. If you are not a coder and a visual learner its an easy way to get started.Thanks, I will consider moving to ATTINY85, solution after I am totally stuck using the simple 555.
I also found another version using +5V supply, there they have used R1=100K, R2,R3 = 10K, otherwise every thing else is the same https://www.electronics-lab.com/project/toggle-on-off-switch/ it is a complete project with Eagle PCB files and a video showing a prototypeThe datasheet for the 555 explains how it works and even shows a voltage divider in it producing threshold voltages that are 1/3rd and 2/3rds of the supply voltage.
The original circuit is garbage and might not have been tested by the author.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?