C3 on your diagram (post #19) is referred as being the Timing cap, and R4 the timing resistor, because they set the duration of the timer.Done. C1 as a timer cap is supposed to be polarized, isn't it?
Should C1 capacitor be polarized? Can I use a 30Ohm resistor instead of 10 (thats all I have home)?
Yes. a 30 ohm resistor should be fine.C1 as a timer cap is supposed to be polarized, isn't it?
Today I took some time, trying to find the best debouncing cap for the switch. 1uF just wasn't enough, 10uF better but not solid, 47uF tantal did the job done 100%, until I mounted the motor straight to the PCB. After that it just didn't stop pulsing.hi d4,
This is what I see with C2 ,1u and R3, 30R, looks OK.
Do you know roughly the frequency the vibrations of the motor affecting the switch.?


Thank you, I didn't know that. Long time since I complete electro high school.Where did you get the curious idea that certain caps should be polarized?
As I previously stated, circuits never require polarized caps.
We only use polarized caps when a large capacitance is needed and polarized caps (typically electrolytic) are physically much smaller for a given capacitance than non-polarized.
A non-polarized cap of the same capacitance and voltage rating can always be substituted for a polarized one.
What size, 4k7 is too much?Try increasing the value of R1 (in Eric's post #21 circuit).
You can likely go as high as 100kΩ or more.What size, 4k7 is too much?
Try connecting a 100nf capacitor across the motor pins to suppress the noise..Today I took some time, trying to find the best debouncing cap for the switch. 1uF just wasn't enough, 10uF better but not solid, 47uF tantal did the job done 100%, until I mounted the motor straight to the PCB. After that it just didn't stop pulsing.
This is the motor: Mini 610 Coreless Vibration Vibrating Motor DC 3.7V 4.2V 8500RPM Eccentric
View attachment 303537
And this is the switch:
SW520D SW-520D Tilt Sensor
View attachment 303538
Yes.We are talking about this resistor, right?
View attachment 303542
6k8 Ohm did the trick! Unbelievable, you guys made my week. Now I will try to lower the cap size, as I still have 47uF tantal through switch.Yes.
Then you will likely have to increase the value of R1 proportionally.Now I will try to lower the cap size, as I still have 47uF tantal through switch.
My goal is to slightly lower the delay. Probably lowering the cap will do it.Then you will likely have to increase the value of R1 proportionally.
There's obviously a trade-off between delay and contact bounce rejection.My goal is to slightly lower the delay. Probably lowering the cap will do it.
So you are saying both, R1 and debouncing cap are increasing the delay? Which do you think is affecting it more? Is there some optimal ratio between the two, that I could figure out? Or you think it wont change a lot anyway?There's obviously a trade-off between delay and contact bounce rejection.
Yes, it's determined by the R x C time-constant.So you are saying both, R1 and debouncing cap are increasing the delay?
They affect it equally.Which do you think is affecting it more?
There is no necessarily "optimum".Is there some optimal ratio between the two, that I could figure out?