Limit Switch Noise!

Thank you for advice!

The resistors and capacitors in your original post are electronic filters that allow some frequencies to pass relatively unimpeded but absorb others. What you want is something that blocks high-frequency signal and passes low-frequency signal. This is called a ā€œlow pass filterā€ and hereā€™s a technical explanation:

The values of the resistors and capacitors determine what frequencies to pass and which to block.

Basically, fast voltage spikes from interference pass through the capacitor without raising the voltage at the input to the point that the Arduino detects the switch has been triggered, but if the switch is actually activated, the capacitor quickly ā€œfills upā€ and the Arduino triggers. There are resistors inside the Arduino processor (called pull-up resistors) but they are between 20K and 50K so the 4.7K external resistors in your diagram reduce susceptibility to noise.

The thing you show clipped around a cord is a ā€œferrite beadā€ and could also help; it is also a filter, but it works by resisting change in magnetic field. Iā€™d start with the resistor and capacitor in your original post before clipping ferrite beads on the wire.

(@donkjr is the real expert here, Iā€™m just translating. :grin:)

3 Likes

Actually, the cap has another function. It sort of acts as a resonant circuit with the coil. Try running your old car without a cap? Wonā€™t run. No spark.

1 Like

And have a SEPARATE ground return for each and every power and signal line.

1 Like

The cap is shorted out when the points are closed. It is only connected across the points when they open so there is one dc pulse which charges it to supply voltage. So dc resonance?

Iā€™m willing to try and follow you hereā€¦ if you can explainā€¦

:smiley_cat:

If you stick a scope on the points, you will see a big ringing pulse at the moment they open. The cap is
trading energy back & forth with the coil. Donā€™t take my word for it - disconnect the cap and try to start the car.

Last time I burnt the points on my scoot the cap opened up. Didnā€™t notice much performance difference.

My 64 m3 jeep stopped out in the desert, the cap had shorted. Pulled it out and drove it home, sans cap.

I guess Iā€™ve had a difference experience.


I donā€™t know what would be oscillatingā€¦ Iā€™ll have to do some researchā€¦ hunt down a scope view of it like you suggestedā€¦ donā€™t have anything with points on it anymoreā€¦ :frowning:

Thanksā€¦

:smiley_cat:

In that case, I stand corrected. I know I read it somewhereā€¦

I think if you drew the circuit with the points closing the circuit with one side of the coil and see the cap across the points youā€™d notice when the points are open, the coil field collapses and at that point the coil and capacitor are in series with the cap grounded and the high side of the coil at 12V. Points side is floating. Back EMF from the collapsing field buffered in the cap and might be some settling but nothing with enough power to affect ignition.

Great drawingā€¦ As I stated, itā€™s across the points, it purpose is to protect the points.


Iā€™d like to ā€˜pointā€™ out that there is a series lc circuit. Hereā€™s a schematic, but itā€™s fed with ac, not dc and the capacitor isnā€™t ā€˜shorted outā€™ through 1/2 the cycle or part of the operation.


Everybody keeps bringing up back emf.


Nobody cared about ā€˜back emfā€™ since there is nothing there to damage when it does occur. Generally it only effects solid state equipment where a reversal of the voltage causes the device to conduct.

There is nothing in this circuit that a ā€˜back emfā€™ could damage.

There is also no high voltage, as many seem to thinkā€¦

:smiley_cat:

I mentioned back EMF because I thought thatā€™s what the energy the cap was absorbing. When the points are closed the cap is shorted and xformer field saturated but when the points open, the field collapses but maybe itā€™s all about the abrumpt stopping of holes(electrons) which limits the arcing at the points the moment they open and the capacitor is free to charge. Ya, I answered my own comment. :slight_smile:

The only high voltage is in the xformer/coil secondary so you are correct, no HV in the 12V circuit, just some bursts of current.

Right arm (on)ā€¦ :crazy_face:


If there is no capacitor to stop the arcā€¦ the arc is resistance, so it lowers the saturation of the coil, i.e. lower voltage. When the field finally collapses, less saturation results in less ā€˜sparkā€™ā€¦

I think they figured this out in the early 19th centuryā€¦

I dismiss claims of back emf having any involvement here.


This was the first ignition coil I fooled around with, grandfather had it in the basement. Took the batteries out of my grandfathers flashlight and series them to get a spark, actually a shockā€¦ Live and learnā€¦ I wish I could have kept it around. Always loved the wooden box, especially compared to ā€˜thenā€™ current ā€˜black canā€™ā€¦

Screenshot from 2022-07-28 07-06-41

Same coating of oilā€¦ Itā€™s a ā€˜buzzerā€™ based spark systemā€¦

:smiley_cat:

Well, this really strayed far from debouncing switches and preventing noise pickup.

2 Likes

yes. why not)