Hi there! I've been watching the YouTube channel for years, but now I have one of those very rare and weird problems.
I am doing a few mini-modules with 555s for my car. One of them - a remote engine start system using a 2 remote controlled relays module. For the engine to start, I need a circuit that acts as a toggle for the main power line, and another to turn on momentarily to power up the starter motor. The second one is done directly through the relay module that I bought, as it powers on the relays for about a second, which is perfect to start the engine. The problem is with the mains power toggle, because I need to first power up the car permanently, and only then power up the starter motor. So I built a classic 555 toggle switch circuit.
And here comes the weirdness - on the bench it works perfectly. On the car, I can't make it work properly. It first turned off randomly. After a full day of tinkering, I figured out some resistor values and I found out that I needed to put a 0.1 uF capacitor in parallel to one of the resistors, pin 2 to power, about 6.8K. The problem - the command wires (that come from the relay module) acted as touch switches. So whenever I touched them, or whatever is going on in the car circuitry, it triggered the 555 as if the command relay clicked.
I tested it thoroughly on the bench, all fine, then I mounted it back on the car. Now, the instant I power up the starter motor, the 555 toggler turns its relay (output) off.
The first thing I did was adding up a ripple filter and a 7812. However, I have zero experience with these, but I put a 100uF capacitor in parallel with Vcc, then a choke, after the choke a 1000 uF capacitor and then a 7812. I don't have an oscilloscope, and it's impossible to get one now, but I improvised with a laptop, a mic wire and CoolEdit. Not the most precise thing in the world, but I used it before for a DIY seismometer and it was enough to see that indeed there's a lot of wobble on the main 12V line, mainly from the ignition, I suspect.
At this point, I am all out of ideas and I'm just a hobbyist, so there are still a few things that I have no idea about. I was thinking about using a shielded enclosure, maybe it can help? It seems that there's something spiking at engine start, and the 555 sees it as an input command.
If I really have to, I'll add some schematics, but it's all really simple and exactly what I said it is.
P.S.: I am aware that an Arduino would have been way cooler for this, as I am doing many other modules, maybe even a screen, sensors and all that (it's an older car, no screens), but I don't currently have the money and I don't know how to program for Arduino and it was not really the time to start doing so.
P.S.2.: I am having this exact same issue on an ozone generator, where I use the 555 toggler for an on/off switch. I suspect that it has something to do with the high voltages, it just randomly turns on or off once in a while